Hello,
I am trying to delete all records in all tables in a single database. Which of these stored procedure syntax is correct for doing that?
exec sp_msforeachtable 'truncate table tablename'
or
exec sp_msforeachtable 'delete table tablename'
Also...I am assuming that these stored procedures would NOT alter any of those sytem(sys) tables in the database.
Thanks.
Ram