Yesh wrote:
Hi,

  I need to know how to increment a primary key field automatically in run
time.

If you use the "serial" data type, the database does this for you automatically and you don't have to worry about it.

Is this the data type your using?

--

James Neff
Technology Specialist

Tethys Health Ventures
4 North Park Drive, Suite 203
Hunt Valley, MD  21030

office:  410.771.0692 x103
cell:    443.865.7874


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
      choose an index scan if your joining column's datatypes do not
      match

Reply via email to