Wipeout character & accounts

05/08/2013 13:10 World.o.Flyff#1
How to wipeout all the acount and character on sql?
05/08/2013 14:57 Velmore#2
Delete the database and insert a new.
05/08/2013 15:06 World.o.Flyff#3
Quote:
Originally Posted by Velmore View Post
Delete the database and insert a new.
O.o i put alot of database of my systems and i will delete? or just comment to say you are pro? all of your comments are not direct to a question so keep quite if you don't know those problem.

sory for my bad english.!
05/08/2013 15:14 Velmore#4
what you want to know? how to delete the database?
there is a other way you can delete every value in the database and have fun for hours
05/08/2013 15:31 lanzelord996#5
Velmore, for what you think is the "TRUNCATE TABLE" command?
Use my query, if there are some errors, then delete the lines where the error comes from ^^

My Query:
05/08/2013 16:14 ©ross#6
@lanzelord Das Script enthält spalten die es in der Offi DB NICHT giebt.
(hab ich dir schonmal in Skype gesagt)

Berichtige das, dann ist es ein nutzbares Script.
05/08/2013 17:33 alfredico#7
Code:
USE [DB_NAME]

EXEC sp_MSForEachTable 'ALTER TABLE ? NOCHECK CONSTRAINT ALL'
GO
EXEC sp_MSForEachTable 'DELETE FROM ?'
GO
EXEC sp_MSForEachTable 'ALTER TABLE ? CHECK CONSTRAINT ALL'
GO
You have to restore BASE_VALUE_TBL on CHARACTER_01_DBF