Hi,
Can anybody help me how to delete last 1 year data from a sql server table using StoredProcedurewhere
I have two tables table1 and table2 ,table1 contains KeyId,PurchaseDate,OrderNumber columns and table2 contains KeyId,PurchaseNumber,OrderStatus columns,In these two tables KeyId is common.So can anybody help me how to delete last 6months data using storedprocedure that should delete datain two tables at a time.
Please send me reply ASAP.
Thanks in Advance
RJ