|
Q3017 How can I create tables with SQL in ColdFusion?
irt.org | Knowledge Base | ColdFusion | Q3017 [ previous next ]
Q3017 How can I create tables with SQL in ColdFusion?
Use the following formats:
MS Access
CREATE TABLE Email(EMAIL TEXT, ID INTEGER CONSTRAINT ID PRIMARY KEY);
|
SQL Server
CREATE TABLE tablename (columnName datatype [primary key] [NOT] NULL [,])
CREATE [unique/clustered] INDEX indexname ON tablename(columnName(s))
integer (integer identity), char(x), datetime, money, real, double, smalldatetime, smallmoney, and some others.
|
|
|
Copyright © 1996-2008 irt.org, All Rights Reserved.