i want to join two queries....and i want to run them as one
after another that is want output of first query then
second , then again output of first query then second and
so on...
Answer Posted / vrinda
DECLARE @i int
SET @i=0
While @i<10
Begin
if @i%2=0
BEGIN
SELECT * FROM Table1
END
ELSE
BEGIN
SELECT * FROM Table2
END
END
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How do clustered indexes store data?
explain different types of cursors? : Sql server database administration
Why should we go for stored procedures? Why not direct queries?
What is Extended user-defined?
What Are the Main Features of SQL Azure?
explain different types of backups avaialabe in sql server? : Sql server database administration
What is the purpose of forms?
What is catalog views?
What is the ‘fillfactor’?
List the advantages of using stored procedures?
What is use of except clause? How does it differ from not in clause?
What is difference between count (*) and count 1?
How can you manage sql azure security?
Explain powershell included in sql server 2008?
What is etl - extraction, transformation, and loading?