Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 create unique serial key

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-05-28 : 08:46:03
Ilan writes "Hi,

I am looking to create a unique serial key to our product.
I am looking for the following properties:
1. Random
2. 12-14 characthers.
3. unique of course.

Can you help ? I try to use NEWID but in some cases it is not random.

Thx

Ilan"

graz
Chief SQLTeam Crack Dealer

4149 Posts

Posted - 2002-05-28 : 08:46:03
What version of SQL Server are you using? NEWID() should be totally random.
Go to Top of Page

ilant
Starting Member

3 Posts

Posted - 2002-05-28 : 09:08:29
I am using NT4 with SQL 7

Go to Top of Page

ilant
Starting Member

3 Posts

Posted - 2002-05-28 : 09:11:30
HMM... now that you mention that I think it is the NT4, since on both NT4 computer it wasn't random but on win2000 server it is random. Does make sense ??

Go to Top of Page

ilant
Starting Member

3 Posts

Posted - 2002-05-30 : 10:45:41
graz ?? Do you have an idea why it is happen ?

Go to Top of Page
   

- Advertisement -