CREATE DATABASE KUTU; DROP TABLE KUTU.testtable; CREATE TABLE KUTU.testtable ( ID INTEGER NOT NULL DEFAULT SERIAL, FIRSTNAME VARCHAR(30) DEFAULT 'Joan', LASTNAME VARCHAR(28) NOT NULL DEFAULT 'Chen', averylonglongfieldname LONG, price FIXED(7,2) DEFAULT 0.00, MYDATE DATE DEFAULT DATE, BIGFELLOW LONG, TS_SECS TIMESTAMP DEFAULT TIMESTAMP, TS_SUBSEC TIMESTAMP DEFAULT TIMESTAMP, PRIMARY KEY (ID, LASTNAME) ); CREATE INDEX idx_name ON KUTU."KUTU.testtable" (FIRSTNAME); CREATE INDEX idx_lastname ON KUTU."KUTU.testtable" (LASTNAME); CREATE INDEX idx_date ON KUTU."KUTU.testtable" (MYDATE); CREATE INDEX idx ON KUTU.testtable (price, firstname, lastname); CREATE INDEX idx2 ON KUTU.testtable (price, lastname); ALTER TABLE KUTU.testtable ADD (height FLOAT(38), weight FLOAT(38)); ALTER TABLE KUTU.testtable MODIFY (height FLOAT(38) NOT NULL, weight FLOAT(38) NOT NULL);
sapdb
ALTER TABLE KUTU.table DROP ("my col", "col2_with_Quotes", A_col3, "col3(10)");
CREATE TABLE KUTU.adoxyz ( LASTNAME VARCHAR(32) );
CREATE DATABASE KUTU; DROP TABLE KUTU.testtable; CREATE TABLE KUTU.testtable ( ID INT DEFAULT AUTOINCREMENT NOT NULL, FIRSTNAME VARCHAR(30) DEFAULT 'Joan', LASTNAME VARCHAR(28) DEFAULT 'Chen' NOT NULL, averylonglongfieldname TEXT NULL, price NUMERIC(7,2) DEFAULT 0.00, MYDATE DATETIME DEFAULT GetDate(), BIGFELLOW TEXT NULL, TS_SECS DATETIME NULL, TS_SUBSEC DATETIME NULL, PRIMARY KEY (ID, LASTNAME) ); CREATE INDEX idx_name ON KUTU."KUTU.testtable" (FIRSTNAME); CREATE INDEX idx_lastname ON KUTU."KUTU.testtable" (LASTNAME); CREATE INDEX idx_date ON KUTU."KUTU.testtable" (MYDATE); CREATE CLUSTERED INDEX idx ON KUTU.testtable (price, firstname, lastname); CREATE INDEX idx2 ON KUTU.testtable (price, lastname); ALTER TABLE KUTU.testtable ADD height REAL NULL, weight REAL NULL; ALTER TABLE KUTU.testtable ALTER COLUMN height REAL NOT NULL; ALTER TABLE KUTU.testtable ALTER COLUMN weight REAL NOT NULL;
sybase
ALTER TABLE KUTU.table DROP COLUMN "my col", DROP COLUMN "col2_with_Quotes", DROP COLUMN A_col3, DROP COLUMN "col3(10)";
CREATE TABLE KUTU.adoxyz ( LASTNAME VARCHAR(32) NULL );
CREATE DATABASE KUTU; DROP TABLE IF EXISTS KUTU.testtable; CREATE TABLE KUTU.testtable ( ID INTEGER NOT NULL AUTO_INCREMENT, FIRSTNAME VARCHAR(30) DEFAULT 'Joan', LASTNAME VARCHAR(28) NOT NULL DEFAULT 'Chen', averylonglongfieldname TEXT, price NUMERIC(7,2) DEFAULT 0.00, MYDATE TIMESTAMP, BIGFELLOW TEXT, TS_SECS TIMESTAMP, TS_SUBSEC TIMESTAMP, PRIMARY KEY (ID, LASTNAME) )ENGINE=INNODB; ALTER TABLE KUTU.`KUTU.testtable` ADD INDEX idx_name (FIRSTNAME); ALTER TABLE KUTU.`KUTU.testtable` ADD INDEX idx_lastname (LASTNAME); ALTER TABLE KUTU.`KUTU.testtable` ADD INDEX idx_date (MYDATE); ALTER TABLE KUTU.testtable ADD FULLTEXT INDEX idx (price, firstname, lastname); ALTER TABLE KUTU.testtable ADD INDEX idx2 (price, lastname); ALTER TABLE KUTU.testtable ADD height DOUBLE; ALTER TABLE KUTU.testtable ADD weight DOUBLE; ALTER TABLE KUTU.testtable MODIFY COLUMN height DOUBLE NOT NULL; ALTER TABLE KUTU.testtable MODIFY COLUMN weight DOUBLE NOT NULL;
mysql
ALTER TABLE KUTU.table DROP COLUMN `my col`; ALTER TABLE KUTU.table DROP COLUMN `col2_with_Quotes`; ALTER TABLE KUTU.table DROP COLUMN A_col3; ALTER TABLE KUTU.table DROP COLUMN `col3(10)`;
CREATE TABLE KUTU.adoxyz ( LASTNAME VARCHAR(32) );
Warning: Access does not supported DEFAULT values (field FIRSTNAME)
Warning: Access does not supported DEFAULT values (field LASTNAME)
Warning: Access does not supported DEFAULT values (field price)
Warning: Access does not supported DEFAULT values (field MYDATE)
Warning: Access does not supported DEFAULT values (field TS_SECS)
Warning: Access does not supported DEFAULT values (field TS_SUBSEC)
AlterColumnSQL not supported
DROP TABLE testtable; CREATE TABLE testtable ( ID COUNTER, FIRSTNAME VARCHAR(30), LASTNAME VARCHAR(28) NOT NULL, averylonglongfieldname MEMO, price NUMERIC(7,2), MYDATE DATETIME, BIGFELLOW MEMO, TS_SECS DATETIME, TS_SUBSEC DATETIME, PRIMARY KEY (ID, LASTNAME) ); CREATE INDEX idx_name ON testtable (FIRSTNAME); CREATE INDEX idx_lastname ON testtable (LASTNAME); CREATE INDEX idx_date ON testtable (MYDATE); CREATE INDEX idx ON testtable (price, firstname, lastname); CREATE INDEX idx2 ON testtable (price, lastname); ALTER TABLE testtable ADD height DOUBLE; ALTER TABLE testtable ADD weight DOUBLE;
accessDropColumnSQL not supported
CREATE TABLE adoxyz ( LASTNAME VARCHAR(32) );
Fatal error: Uncaught Error: Undefined constant "OCI_COMMIT_ON_SUCCESS" in /usr/www/east110006/public/stats/includes/adodb/adodb.inc.php:4742
Stack trace:
#0 /usr/www/east110006/public/stats/includes/adodb/adodb.inc.php(4612): ADONewConnection()
#1 /usr/www/east110006/public/stats/includes/adodb/tests/test-datadict.php(20): NewADOConnection()
#2 {main}
thrown in /usr/www/east110006/public/stats/includes/adodb/adodb.inc.php on line 4742