Page 1 of 1

Suurogate key generation in a database

Posted: Mon Dec 13, 2010 6:51 am
by jpradeep.net
Hi Folks

I want to generate a surrogatekey directly in a table i mean neither using a flatfile nor using a database sequence.How is it possible and which properties i have to fill with what? say my colnume for surrogatekey is ID_NUMBER Number(25,0) PK and table name is TABLENAME.

The efforts will be appreciated.

Posted: Mon Dec 13, 2010 8:06 am
by chulett
What database? Have you asked your DBA?

Posted: Mon Dec 13, 2010 2:47 pm
by ray.wurlod
Does your database support auto-generated key values?