v5:dictionary:changetablesql
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
v5:dictionary:changetablesql [2016/01/13 02:06] – ↷ Links adapted because of a move operation mnewnham | v5:dictionary:changetablesql [2024/11/29 14:08] (current) – [Usage] remove trailing comma in $flds definition (incorrect syntax) dregad | ||
---|---|---|---|
Line 26: | Line 26: | ||
</ | </ | ||
==== $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 [[v5: | + | A string holding information regarding the columns to create in the new table. For a detailed description of the format of this string, see [[v5: |
==== $tableOptions ==== | ==== $tableOptions ==== | ||
An optional array of information that adds information regarding the table creation. This array may also contain field specific information, | An optional array of information that adds information regarding the table creation. This array may also contain field specific information, | ||
Line 44: | Line 44: | ||
$flds = " | $flds = " | ||
- | COL1 C(60) NOTNULL DEFAULT ' | + | COL1 C(60) NOTNULL DEFAULT ' |
"; | "; | ||
Line 56: | Line 56: | ||
Array | Array | ||
( | ( | ||
- | [0] => ALTER TABLE LCTABLE ALTER COLUMN COL1 SET DATA TYPE VARCHAR(60) DEFAULT ' | + | [0] => ALTER TABLE LCTABLE |
+ | | ||
) | ) | ||
*/ | */ |
v5/dictionary/changetablesql.1452647186.txt.gz · Last modified: 2017/04/21 11:29 (external edit)