🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #3419

Re: Restarting an autoinc feild

#3419
From: Vassiliev V.V.
Date: Sat, 17 Aug 2002 07:35
25 lines
1429 bytes
Something like

Alter table MyTable Alter column MyColumn AutoIncrement(1, 1)

should help.

Regards,
Vassiliev V.V.
http://www.oledbdirect.com


"Najem" <OuldNajem@hotmail.com> �������/�������� � �������� ���������:
news:3d5d5770@dnews...
> Hi
>
>     After deleting all records from the table, I like to restart the
autoinc
> field to begin from one.
>
> Is that possible?
>
> thanks a lot.
>
>
>
Technical Details
Message-ID: <3d5e010c@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail
References: <3d5d5770@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,e2f817cbf22b513d
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-08-17 00:58:14 PST
From: "Vassiliev V.V." <news@vassilievvv.mtu-net.ru>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3d5d5770@dnews>
Subject: Re: Restarting an autoinc feild 
Date: Sat, 17 Aug 2002 11:35:48 +0400
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 62.118.139.30
Message-ID: <3d5e010c@dnews>
X-Trace: dnews 1029570828 62.118.139.30 (17 Aug 2002 00:53:48 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail