If you try to truncate a table that is referenced by foreign key you usually get the following error:
Cannot truncate table 'TableName' because it is being referenced by a FOREIGN KEY constraint.
To avoid this error the easiest way to use DELETE without where clause and RESEED the identity:
DELETE FROM AccVoucher
DBCC CHECKIDENT (AccVoucher, RESEED, 0)
Running BBS Door Games on Windows 10 with GameSrv, DOSBox, plus telnet fun with WSL - [image: Example of a BBS home screen]I continue to enjoy seeing what can be done with WSL (Windows Subsystem for Linux) but even more fun is combining CM...
1 day ago