I need to choose one number randomly from the list of bigint in sql server 2008.
the number list is not continue
For example : The number list may be like this
1578
1579
1580
1587
1589
1590
1595
1603
Thanks in Adv.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve had success with ordering the top 1 result of a select by newid():