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 RajamanickamPosted Mar 13, 2015, 2:06 AM
Good one...
Rahul Kumar SaxenaPosted Mar 11, 2015, 2:04 PM
thanks Nitin tyagi
NitinPosted Mar 11, 2015, 6:18 AM
nice