Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Primary Key

Quote Reply
Primary Key
   

Hi,

How can I get DBMan SQL 2.0.3 to automatically generate a new number for the primary key?

DBMan SQL 1 has $db_supply_key = 1 to generate a new number behind the scenes. Is there a similar setting in 2.0.3?

I have created a column in my table called "contact_id" which is the primary key but I don't know how to get DBMan SQL 2.0.3 to insert the next number into the column.

Thank you

Simon.
Subject Author Views Date
Thread; hot thread Primary Key jai 11744 Mar 4, 2002, 4:04 AM
Thread; hot thread Re: [jai] Primary Key
Paul 11536 Mar 4, 2002, 6:36 AM
Thread; hot thread Re: [RedRum] Primary Key
jai 11566 Mar 4, 2002, 3:42 PM
Thread; hot thread Re: [jai] Primary Key
604 11577 Mar 4, 2002, 3:54 PM
Thread; hot thread Re: [TheStone] Primary Key
jai 11526 Mar 4, 2002, 4:51 PM
Thread; hot thread Re: [jai] Primary Key
604 11491 Mar 4, 2002, 4:58 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 11182 Aug 9, 2002, 1:48 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 11268 Aug 9, 2002, 1:59 PM
Post; hot thread Re: [TheStone] Primary Key
Reena0330 11224 Aug 9, 2002, 2:10 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 11201 Aug 9, 2002, 2:19 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 11236 Aug 9, 2002, 2:33 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 11182 Aug 9, 2002, 2:45 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 11189 Aug 9, 2002, 2:55 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 11177 Aug 9, 2002, 3:20 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 11180 Aug 9, 2002, 3:27 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 11250 Aug 9, 2002, 3:32 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 11174 Aug 9, 2002, 3:37 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 11155 Aug 9, 2002, 3:52 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 11218 Aug 9, 2002, 4:14 PM
Post; hot thread Re: [TheStone] Primary Key
Reena0330 11161 Aug 12, 2002, 11:02 AM