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 8274 Mar 4, 2002, 4:04 AM
Thread; hot thread Re: [jai] Primary Key
Paul 8119 Mar 4, 2002, 6:36 AM
Thread; hot thread Re: [RedRum] Primary Key
jai 8164 Mar 4, 2002, 3:42 PM
Thread; hot thread Re: [jai] Primary Key
604 8174 Mar 4, 2002, 3:54 PM
Thread; hot thread Re: [TheStone] Primary Key
jai 8088 Mar 4, 2002, 4:51 PM
Thread; hot thread Re: [jai] Primary Key
604 8089 Mar 4, 2002, 4:58 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 7791 Aug 9, 2002, 1:48 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 7870 Aug 9, 2002, 1:59 PM
Post; hot thread Re: [TheStone] Primary Key
Reena0330 7812 Aug 9, 2002, 2:10 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 7799 Aug 9, 2002, 2:19 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 7833 Aug 9, 2002, 2:33 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 7789 Aug 9, 2002, 2:45 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 7784 Aug 9, 2002, 2:55 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 7789 Aug 9, 2002, 3:20 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 7790 Aug 9, 2002, 3:27 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 7804 Aug 9, 2002, 3:32 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 7771 Aug 9, 2002, 3:37 PM
Thread; hot thread Re: [TheStone] Primary Key
Reena0330 7742 Aug 9, 2002, 3:52 PM
Thread; hot thread Re: [Reena0330] Primary Key
604 7801 Aug 9, 2002, 4:14 PM
Post; hot thread Re: [TheStone] Primary Key
Reena0330 7761 Aug 12, 2002, 11:02 AM