Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Browse by Tags · View All
#SQLServer 46
SQL Server 44
SSRS EXPERT 41
BI 36
#BI 33
brh 28
SSIS BEST PRACTICES 23
TSQL 19
MS BI STACKS 18
SSRS 17

Archive · View All
March 2011 24
July 2011 17
February 2011 15
April 2010 13
June 2011 11
May 2011 11
April 2011 11
July 2010 11
March 2010 8
December 2011 7

What is DBCC CHECKIDENT?

Feb 18 2011 3:15AM by Sherry Li   

I had a post awhile ago about the LastId Dilemma – Resolved Finally. I used a DBCC command to check the seed value of an identity value, and then to “reseed” the seed value to a mush higher value to avoid the possibilities of duplicate key values.

So what are DBCC commands? DBCC stands for Database Consistency Checker. To get all the DBCC commands, do this:

DBCC HELP (‘?’)

I haven’t used many DBCC commands, except these two:

checkident: can be used to check and also re-seed values of an identity column

shrinkfile: I used to shrink SQL log files

Here are the examples:

USE EAMPC 
GO

 

backup log EAMPC with truncate_only 
go

 

dbcc shrinkfile (EAMPC_log, 1) 
go

 

DBCC checkident(myIdentityTable, noreseed) 
go

 

DBCC checkident(myIdentityTable, reseed, 1000) 
go

Tags: SQL CHALLENGE,


Sherry Li
14 · 12% · 3697
0
Liked
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]