Reset AutoNumber(Identity Field) in DataBase
Posted
by hosseinsinohe
on Stack Overflow
See other posts from Stack Overflow
or by hosseinsinohe
Published on 2010-03-17T15:14:13Z
Indexed on
2010/03/17
15:21 UTC
Read the original article
Hit count: 305
Hi All I Use a Sql Server Compact DataBase File For Store the Data in My Windows Application Software.In this DataBase I have A Table With Identity Field.When I Insert A Record To the Table, identity Code increment Automatically.But When I Delete All Records From Table,And Insert Records Again,Identity Field don't Start From 1. I Want Reset this Value to 1.
Please Help Me
© Stack Overflow or respective owner