Suppose I have two database.
- dbTest1 &
- dbTest2
I have a Table Employee in dbTest1 & dbTest2.

Now Select Record from dbTest2 Employee table.

Now query to transfer records from dbTest1 to dbTest2.
This query will work when table exist in Data Base:
Now Select Record from dbTest2 Employee table.

If Table Not Exist in your dbTest2 then use below query.



Gowtham RajamanickamTOP 100Posted Mar 12, 2015, 10:06 PM EDT
Good one...
Rahul Kumar SaxenaTOP 100Posted Mar 11, 2015, 10:04 AM EDT
thanks Nitin tyagi
NitinPosted Mar 11, 2015, 2:18 AM EDT
nice