sql >> Database >  >> RDS >> Mysql

sql-maven-plug-in met meerdere scheidingstekens

U kunt uw delimeterType instellen op "rij" in het configuratieblok.

<configuration>
...
   <delimiterType>row</delimiterType>
...
</configuration>

delimiterType

Zie meer op http://mojo.codehaus.org/ sql-maven-plugin/execute-mojo.html#delimiterType

Bijvoorbeeld:create-proc.sql

CREATE PROCEDURE ADD_BOOK (IN title VARCHAR(100))
BEGIN
   -- your sql code 
   INSERT INTO Book (title) VALUES (title);
END
; -- this means the end of the sql command



  1. python:hoe ontvang ik meldingen voor wijzigingen in de mysql-database?

  2. Postgresql BESTELLEN OP spaties

  3. Een tabel partitioneren met behulp van een LIKE-criterium in Mysql

  4. Maximale lengte van een tabelnaam in MySQL