Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem using GETDATE() to generate a key
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01580950
Message ID:
01580951
Views:
56
GETDATE() is deterministic function.

Can you explain your code?

MartinaJ

>Hi
>
>I'm dealing with a system that in one area uses keys generated keys using GETDATE().
>
>This is producing duplicates sometimes.
>
>If I select GETDATE() in a loop it returns the same datetime through a lot of iterations . How often is the date and time refreshed and what sort of delay would I need to introduce to ensure I got a new date and time on each key generation.
>
>
>Thanks
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform