Saturday, May 2, 2015

Query help

Currently I have queires like below in many SP

Here X is Database Name

select * from X..table1
select * from X..table2
select * from X..table3

Now I am using same db structure at my another client place but here Dbname is Y then Is there anyway I can replace my all above statement like below

select * from Y..table1
select * from Y..table2
select * from Y..table3

No comments:

Post a Comment