Here's an example for an Access table, where the primary key is an
autonumber field, and there's a separate index as well.
<cfquery
datasource="#request.blahblah#">
CREATE TABLE myfile (
ID COUNTER not NULL PRIMARY KEY,
ParentID number NULL,
LinkID number NULL,
Slot number NULL ,
ItemType text(10) NULL
);
</cfquery>
<cfquery
datasource="#request.blahblah#">
CREATE INDEX ParentID on myfile(ParentID);
</cfquery>
--------------------------------------------
Matt Robertson [EMAIL PROTECTED]
MSB Designs, Inc. http://mysecretbase.com
--------------------------------------------
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- RE: Create table ID field Tangorre, Michael
- Re: Create table ID field John Quarto-vonTivadar
- Re: Create table ID field Jochem van Dieten
- RE: Create table ID field Robert Orlini
- RE: Create table ID field Tangorre, Michael
- RE: Create table ID field Robert Orlini
- Re: Create table ID field Jochem van Dieten
- RE: Create table ID field Robert Orlini
- Re: Create table ID field Jochem van Dieten
- RE: Create table ID field Robert Orlini
- RE: Create table ID field Matt Robertson
- RE: Create table ID field Robert Orlini
- RE: Create table ID field Matt Robertson
- RE: Create table ID field Robert Orlini
- RE: Create table ID field Schuster, Steven
- Re: Create table ID field Matt Robertson