Dear Friends,I have Syntax like this : INSERT INTO DATABASE_A.DBO.TABLE_A ----THIS IS THE LOCAL SERVER SELECT S_C, S_N FROM OPENQUERY ([LINK_SERVER],'select S_C, S_N, from DATABASE_B.dbo.TABLE_B')this Syntax works fine,,Now I want to make the Store Procedure from this syntax with truncate first the TABLE_A and then insert the syntax and then Check the integrity data..Can someone please help me? what should I consider for declare ?thank you very much
↧