Click here to Skip to main content
15,889,909 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to Insert Record In MYSQL Pin
sri08018819-Jan-12 0:27
sri08018819-Jan-12 0:27 
QuestionSum the Counts Pin
Elizabeth Rani8-Jan-12 23:12
Elizabeth Rani8-Jan-12 23:12 
AnswerRe: Sum the Counts Pin
Mycroft Holmes8-Jan-12 23:51
professionalMycroft Holmes8-Jan-12 23:51 
QuestionDatabase Restor Pin
Danzy838-Jan-12 8:05
Danzy838-Jan-12 8:05 
AnswerRe: Database Restor Pin
manognya kota8-Jan-12 22:35
manognya kota8-Jan-12 22:35 
AnswerRe: Database Restor Pin
Eddy Vluggen9-Jan-12 8:05
professionalEddy Vluggen9-Jan-12 8:05 
QuestionResetting 'Identity Specification' column in Sql Table Pin
AmbiguousName5-Jan-12 20:56
AmbiguousName5-Jan-12 20:56 
AnswerRe: Resetting 'Identity Specification' column in Sql Table Pin
Ellen_South_Africa5-Jan-12 21:15
Ellen_South_Africa5-Jan-12 21:15 
You need to Reseed the Column using the DBCC command of MS SQL Server.

dbcc CHECKIDENT("TableName1",RESEED,0)

DBCC CHECKIDENT for Microsoft SQL Server

I hope this help with your Problem

_____________________________________________________________________

Hey guys. Just to defend my answer from the birds and stones Smile | :) .

The Reason for me using the Delete/DBCC CHECKIDENT Function is that you can still use Auditing on the tables if needed
(The Triggers are still called). With a truncate table call the triggers will not be called Truncate Table
Because TRUNCATE TABLE is not logged, it cannot activate a trigger.

Cheers

modified 10-Jan-12 0:39am.

GeneralRe: Resetting 'Identity Specification' column in Sql Table Pin
AmbiguousName9-Jan-12 6:08
AmbiguousName9-Jan-12 6:08 
AnswerRe: Resetting 'Identity Specification' column in Sql Table Pin
unclejimbob6-Jan-12 1:26
unclejimbob6-Jan-12 1:26 
JokeRe: Resetting 'Identity Specification' column in Sql Table Pin
SilimSayo6-Jan-12 6:04
SilimSayo6-Jan-12 6:04 
GeneralRe: Resetting 'Identity Specification' column in Sql Table Pin
unclejimbob6-Jan-12 14:21
unclejimbob6-Jan-12 14:21 
GeneralRe: Resetting 'Identity Specification' column in Sql Table Pin
Mycroft Holmes6-Jan-12 20:26
professionalMycroft Holmes6-Jan-12 20:26 
GeneralRe: Resetting 'Identity Specification' column in Sql Table Pin
unclejimbob6-Jan-12 21:16
unclejimbob6-Jan-12 21:16 
GeneralRe: Resetting 'Identity Specification' column in Sql Table Pin
Mycroft Holmes7-Jan-12 13:24
professionalMycroft Holmes7-Jan-12 13:24 
GeneralRe: Resetting 'Identity Specification' column in Sql Table Pin
unclejimbob7-Jan-12 17:33
unclejimbob7-Jan-12 17:33 
GeneralRe: Resetting 'Identity Specification' column in Sql Table Pin
Mycroft Holmes7-Jan-12 19:52
professionalMycroft Holmes7-Jan-12 19:52 
GeneralRe: Resetting 'Identity Specification' column in Sql Table Pin
jschell9-Jan-12 10:10
jschell9-Jan-12 10:10 
QuestionRETURN; before END Pin
Waldemar Sauer4-Jan-12 6:05
Waldemar Sauer4-Jan-12 6:05 
AnswerRe: RETURN; before END Pin
jschell4-Jan-12 8:24
jschell4-Jan-12 8:24 
AnswerRe: RETURN; before END Pin
Eddy Vluggen4-Jan-12 11:46
professionalEddy Vluggen4-Jan-12 11:46 
AnswerRe: RETURN; before END Pin
PIEBALDconsult4-Jan-12 13:18
mvePIEBALDconsult4-Jan-12 13:18 
AnswerRe: RETURN; before END Pin
Luc Pattyn4-Jan-12 14:10
sitebuilderLuc Pattyn4-Jan-12 14:10 
QuestionUsing Change Data Capture to Replicate data Pin
Pascal Ganaye4-Jan-12 0:12
Pascal Ganaye4-Jan-12 0:12 
AnswerRe: Using Change Data Capture to Replicate data Pin
Mycroft Holmes4-Jan-12 12:14
professionalMycroft Holmes4-Jan-12 12:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.