Re: Reseting Identity Seed
From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 01/26/05
- Next message: John Bandettini: "Re: 2000 DB Slowdown"
- Previous message: Gert E.R. Drapers: "Re: procedure cache flush?"
- In reply to: Ansari: "Reseting Identity Seed"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 26 Jan 2005 10:45:28 +0100
Check out DBCC CHECKIDENT.
-- Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://www.solidqualitylearning.com/ http://www.sqlug.se/ "Ansari" <mudasar_ansari@yahoo.com> wrote in message news:uf4BRq4AFHA.4028@TK2MSFTNGP15.phx.gbl... > hi all.. > > > I want to reset the identity seed value for a table... How can I do that... > one method is to truncate table... but if table is used as parent in foreign > key relationship; it does not allow to truncate the table... any other > method? > > Ansari > > > >
- Next message: John Bandettini: "Re: 2000 DB Slowdown"
- Previous message: Gert E.R. Drapers: "Re: procedure cache flush?"
- In reply to: Ansari: "Reseting Identity Seed"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|