Peeja
0
Q:

restart identity cascade

TRUNCATE <table_name> RESTART IDENTITY CASCADE;
--RESTART will reset the identity sequence
--CASCADE all tables that have a foreign key reference to 
--table_name will be truncated as well
0
TRUNCATE bigtable, fattable RESTART IDENTITY;
1

New to Communities?

Join the community