I have two columns in one table in database.
1. Status
2. DateCreated
Now if Todays date is one year after datecreated then change the Status to deleted.
How is it possible in SQL Server 2005. Is there any build in functionality for the same or we have to write external code ( C# ) to achive this.
Thanks
Vikas
1. Status
2. DateCreated
Now if Todays date is one year after datecreated then change the Status to deleted.
How is it possible in SQL Server 2005. Is there any build in functionality for the same or we have to write external code ( C# ) to achive this.
Thanks
Vikas
Comment