v5:dictionary:createtablesql
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dictionary:createtablesql [2015/08/26 00:51] – mnewnham | dictionary:createtablesql [2015/08/27 01:10] – mnewnham | ||
---|---|---|---|
Line 4: | Line 4: | ||
== See Also == | == See Also == | ||
[[dictionary: | [[dictionary: | ||
+ | |||
+ | [[dictionary: | ||
== Syntax == | == Syntax == | ||
Line 18: | Line 20: | ||
==== $tableName ===== | ==== $tableName ===== | ||
The table name must not yet exist in the database. Names must conform to any database specific requirements such as length limitations and name casing. | The table name must not yet exist in the database. Names must conform to any database specific requirements such as length limitations and name casing. | ||
+ | --------- | ||
+ | <WRAP right tip 200px> | ||
+ | $fields is a string, not an array | ||
+ | </ | ||
==== $fields ==== | ==== $fields ==== | ||
A string holding information regarding the columns to create in the new table. For a detailed description of the format of this string, see [[dictionary: | A string holding information regarding the columns to create in the new table. For a detailed description of the format of this string, see [[dictionary: | ||
Line 42: | Line 48: | ||
*/ | */ | ||
$sqlarray = $dict-> | $sqlarray = $dict-> | ||
+ | |||
+ | /* | ||
+ | * This returns (for DB2) | ||
+ | Array | ||
+ | ( | ||
+ | [0] => CREATE TABLE UCTABLE ( | ||
+ | | ||
+ | | ||
+ | | ||
+ | ) | ||
+ | ) | ||
+ | */ | ||
+ | |||
/* | /* |
v5/dictionary/createtablesql.txt · Last modified: 2016/03/05 01:55 by mnewnham