Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ID unique.

Status
Not open for further replies.

WilliamGS

Programmer
Jan 21, 2004
54
PE
Hi all. I am working in a Visual C++ program, and it reads and writes in a SQL Server Database and I am using 'autonumeric' IDs, but I have problems with that, so, I need a way to create unique IDs along the database. how can I do this? or, Is there a site with information about it?

Thanks in advance,

William G.S.
 
But making ID's unique is something the DB should be able to do. Can't you just configure the element (with the Enterprise manager) to be a unique id?

I'd suggest you try to solve the real problem rather than hiding the problem by implementing solution of you own.

/Per
[sub]
"It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure."[/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top