I have 2 tables on 2 database on the same server . I want to copy datas from old one to new one using “select into…” statement but server gives me this error
The server principal "NewDBUser" is not able to access the database "OldDb" under the current security context.
is there any way to solve this premission issue ?
edit : server does not allow to use the same credentials for 2 Databases
It is better to use SQL Server BIDS(Business Intelligence Development Studio) for migrating data from one database to another.