What i wana do is actually process some data then insert the processed data into a new table..
but first i need to check the target table ;if empty then delete everything in the table then only insert the fresh processed data..
i’m using sql server 2008…
anyone can give me the sample sql code to create the stored procedure??
Sorry code not tested 😉