ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:createtablesql

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
dictionary:createtablesql [2015/08/26 00:51] mnewnhamdictionary:createtablesql [2015/08/26 00:56] mnewnham
Line 42: Line 42:
 */ */
 $sqlarray = $dict->createTableSQL($tabname, $flds); $sqlarray = $dict->createTableSQL($tabname, $flds);
 +
 +/*
 + * This returns (for DB2)
 +Array
 +(
 +    [0] => CREATE TABLE UCTABLE (
 +           COL1         VARCHAR(32) DEFAULT 'abc' NOT NULL,
 +           COL2         INTEGER DEFAULT 0,
 +           COL3         DECIMAL(12,2)
 +           )
 +)
 +*/
 +
  
 /* /*
v5/dictionary/createtablesql.txt · Last modified: 2016/03/05 01:55 by mnewnham