I am trying to running the following command to copy a table to another database and it is saying incorrect syntax near "tbl_SecurityNamespace". Any ideas? TIA
select * into ForMSDB tbl_SecurityNamespace
from Tfs_configuration
go
I am trying to running the following command to copy a table to another database and it is saying incorrect syntax near "tbl_SecurityNamespace". Any ideas? TIA
select * into ForMSDB tbl_SecurityNamespace
from Tfs_configuration
go
If it's another database in the same environment:
select * into ForMSDB..tbl_SecurityNamespace
from Tfs_configuration
This should be as
select * into ForMSDB..tbl_SecurityNamespace
from Tfs_configuration;