In last TIP #78 we have discussed Change tracker (CT) which was introduced in SQL SERVER 2008. CT feature only tracks which row is changes means on which row Insert/update/delete operation is performed but it does not track what exact value is changed. If we want an audit of database means whatever changes occurred …
Monthly Archives: December 2014
I am pretty much sure by the title of this post you had idea of the post content. Although I am late to post this feature but anyways Change Tracking (CT) is a feature came in SQL SERVER 2008. As the name mention it track the changes like DELETE, INSERT , UPDATE type DML …
Sometimes, we may require to reseed identity column of a table due to various reason. For example we have deleted a record from a Student which have an identity column StudentId. Below is schema Now it has 3 rows as shown below Now suppose we have deleted record 3 which is studentID 3. Now …
Although it is a old feature for those who knows ORACLE but for SQL server developers it is a new feature. Let understand it by an example. Suppose we want an auto incremented column a part from primary key which is a identity column, then to achieve this we can use sequence feature. We can …
When you do SQL Server maintenance one of important aspect is available space on server drive because your SQL SERVER data is dependent on space . Now what you need to do to get free space from each drive ? Just create a simple job which run on daily basis which send you space …