Hello Guys i have a little Question.
I want to add a Table from one Database into an other DB can anyone help me with this ?
I want to add a Table from one Database into an other DB can anyone help me with this ?
INSERT INTO <target db>.dbo.<target table> SELECT * --you shouldn't use *, especially if you have an identity column and IDENTITY_INSERT is OFF, so specify columns FROM <source db>.dbo.<source table> [WHERE ...]
CREATE TABLE <target db>.dbo.<table name> AS ( SELECT * FROM <source db>.dbo.<table name> [WHERE ...] )
how does your command look like exactly?Quote:
I will try it thanks :)
dont work for me :(