Hi. Can anyone tell me how to copy data from a table from another database? I was able to copy but I only got the columns and not the data it contains.
This is how I copied it:
I tried this first:
USE MMDA
GO
SELECT * INTO MMDAserver.Vio.ViolationList FROM ViolationList
then when I was able to copy the columns from there I tried this one next. However it still didn't add anything. The columns are still empty.
INSERT INTO MMDAserver.Vio.ViolationList (ViolationCode,ViolationD,FineAmnt)
SELECT * FROM ViolationList