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



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

Answer / laxman

using rand()

select rant()

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More SQL Server Interview Questions

How do I create a stored procedure in sql server?

0 Answers  


What's the purpose of Stored Procedure?

6 Answers   Wipro,


Can group by be used without aggregate functions?

0 Answers  


What is use of attributehierarchyenabled? : sql server analysis services, ssas

0 Answers  


What are the various Operating system files that every SQL server 2005 database has and what is the purpose.

0 Answers   Microsoft,


Tell me about joins in database system and explain each in detail.

0 Answers   Axtria, ITC Indian Tobacco Company,


what is the difference between Delete and Truncate

4 Answers   CarrizalSoft Technologies, Geo Research Centre,


Explain having clause and where clause?

0 Answers  


What are the two virtual tables SQL Server maintains for triggers?

3 Answers  


Explain contrast amongst grouped and non-bunched records?

0 Answers  


Introduction of rollup clause using sum and group by clause?

0 Answers  


Can we linked SharePoint to a SQL database?

0 Answers   Sans Pareil IT Services,


Categories