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 to drop existing indexes in ms sql server?
You have to store user responses of ‘yes’ and ‘no’ what kind of data type is best suited for this task?
Any one plz send me SQL Server Developer/DBA resume for 4 years experience
What is the server name for sql management studio?
If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security
Why do we use trigger?
What action plan is preferred if sql server is not responding?
What are advantages of ssrs or why we should use ssrs?
What is the impact on other user sessions when creating indexes?
What is wide table?
What are system databases in ms sql server?
What is page-level compression?
Find nth lowest salary or get nth lowest salary?
Explain how to use linked server?
What is SQL Azure Fabric?