We have a database on SQL server 2008 R2 which gets replicated to another database on different server. The replication is one way from Server A to server B. On Server A we delete an index, after 5 minutes it comes back.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL).
Depending on business requirements, a single Stored Procedure can return differe…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.