How to Generate a Series of Random Integers With T-SQL?

Answer Posted / laxman

using rand()

select rant()

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is SQL Azure Fabric?

92


What are horizontal and vertical scaling?

144


Is it true, that there is no difference between a rule and a check constraint?

514


What are logical database components? : SQL Server Architecture

464


What are temporal tables in sql server 2016?

467






Why union all is faster than union?

494


can a database be shrunk to 0 bytes, if not, why? : Sql server administration

587


What is ddl and dml commands?

499


How secure is sql server database?

514


What purpose does the model database server?

638


What is meant by referential integrity?

575


How does a profiler work?

504


Find nth lowest salary or get nth lowest salary?

576


Explain index in sql server?

578


What is the difference between index seek vs. Index scan?

558