#1 2014-03-17 18:48:53

tech
Member
Registered: 2014-01-13
Posts: 107

Reset ID after 'DELETE FROM TABLE'

Hi,
Is it possible to reset the ID after this ?

globalClient.EngineExecute('delete from table');

The table is temporary and I want to start new IDs after a delete.

Offline

#2 2014-03-19 16:10:26

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,272
Website

Re: Reset ID after 'DELETE FROM TABLE'

I've added TSQLRestServerStaticExternal.ResetMaxIDCache method.
See http://synopse.info/fossil/info/fe496091db

Offline

#3 2014-03-20 09:57:54

tech
Member
Registered: 2014-01-13
Posts: 107

Re: Reset ID after 'DELETE FROM TABLE'

This is great.
Thnx,

Offline

Board footer

Powered by FluxBB