Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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.

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.