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 8088 Mar 4, 2002, 4:04 AM
Thread; hot thread Re: [jai] Primary Key
Paul 7936 Mar 4, 2002, 6:36 AM
Thread; hot thread Re: [RedRum] Primary Key
jai 7981 Mar 4, 2002, 3:42 PM
Thread; hot thread Re: [jai] Primary Key
604 7992 Mar 4, 2002, 3:54 PM
Thread; hot thread Re: [TheStone] Primary Key
jai 7904 Mar 4, 2002, 4:51 PM
Thread; hot thread Re: [jai] Primary Key
604 7903 Mar 4, 2002, 4:58 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 7607 Aug 9, 2002, 1:48 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 7684 Aug 9, 2002, 1:59 PM
Post; hot thread Re: [TheStone] Primary Key
Reena0330 7624 Aug 9, 2002, 2:10 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 7612 Aug 9, 2002, 2:19 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 7645 Aug 9, 2002, 2:33 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 7602 Aug 9, 2002, 2:45 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 7597 Aug 9, 2002, 2:55 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 7602 Aug 9, 2002, 3:20 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 7603 Aug 9, 2002, 3:27 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 7617 Aug 9, 2002, 3:32 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 7582 Aug 9, 2002, 3:37 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 7554 Aug 9, 2002, 3:52 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 7614 Aug 9, 2002, 4:14 PM
Post; hot thread Re: [TheStone] Primary Key
Reena0330 7576 Aug 12, 2002, 11:02 AM