This may help.
Bill Guttman
http://www.katungroup.com/coldfusionlinks2.htm
<!--- Generic Routine for generating Random Database Keys --->
<CFSCRIPT>
DO {Variables.RandomBig = 40 * RandRange(-50000000,50000000);
Variables.RandomSmall = RandRange(1,40);
Variables.RandomKey = Variables.RandomBig + Variables.RandomSmall;}
WHILE (Variables.RandomKey IS 0);
</cfscript>
-----Original Message-----
From: Randy Adkins [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 12, 2000 11:15 AM
To: [EMAIL PROTECTED]
Subject: SQL ID
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.
Thanks in advance.
----------------------------------------------------------------------------
--
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.
------------------------------------------------------------------------------
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.