Create a table on a linked server

Creates a table called TEST in the TWO database on the DEMO linked server

EXEC ('
    USE  [TWO];
    CREATE TABLE [dbo].[TEST](
        [RowId] [int] IDENTITY(1,1) NOT NULL
    ) ON [PRIMARY];
') AT [DEMO];

 

 


RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences