This is my Technical area of troubleshooting and learning new Programming skills and many more. Here you will find answers for many new technologies like asp.net 2.0/3.5,4.0 C# access, mysql, Amazon Webservice ,Sql-server, JD Edwards, SAS, Salesforce, APIs, MVC and many more. please visit & discuss.
Wednesday, December 31, 2008
NEWID() Generating Random Numbers in SQL-Server
select newid()
select abs(checksum(newid())) as number
select abs(cast(cast(newid() as varbinary(10)) as int)) as number
No comments:
Post a Comment