> Anyone know how to input a unique id within an SQL database?
> I have a field called Client_ID as uniqueidentifier and do NOT allow NULLS
>
> but it will not insert the ID as MS Access does.
If you're using create table, then;
create table myTable (
ID int identity primary key,
...other fields...
)
This will make it an Identity, which is automatically NOT NULL, and the
Primary Key
HTH
Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.