In Query Analyser, is it possible to write a query which reads out of a table in database 'a' and writes into another table in database 'b' on the same server? Can someone give me an example of the syntax if this is possible?
Hi Waynest,
Using any database other than MASTER and PUBS run the following query and see the result in PUBS database.
select * into pubs.dbo.mynewTable from master.dbo.sysdatabases
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.