solidDB
Versions
Default Driver
Sql Script Syntax
Compatibility
- DDL exported by 'soldd' command can be used unchanged in a Flyway migration.
- Any Solid SQL script executed by Flyway, can be executed by the solidDB tools.
Example
/* Single line comment */
CREATE TABLE test_data (
value VARCHAR(25) NOT NULL PRIMARY KEY
);
/*
Multi-line
comment
*/
-- Sql-style comment
-- Placeholder
INSERT INTO ${tableName} (name) VALUES ('Mr. T');
"CREATE TRIGGER update_customer_address ON customers
BEFORE INSERT REFERENCING NEW street AS new_street
BEGIN
UPDATE orders SET street = new_street WHERE customer_name = name;
END;"
Limitations
- Support for DDL transaction is only partly implemented inside solidDB, therefore best practice is to separate DDL and DML scripts for migration tasks
Sybase ASE