Created
October 31, 2012 09:21
-
-
Save Novakov/3986054 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER PROCEDURE [dbo].[sp_reset_e360] | |
AS | |
DELETE FROM [dbo].[Tokens]; | |
DELETE FROM [dbo].[Answers]; | |
DELETE FROM [dbo].[Responses]; | |
DELETE FROM [dbo].[Requests]; | |
DELETE FROM [dbo].[Feedbacks]; | |
DELETE FROM [dbo].[Questions] FROM [dbo].[Questions] q INNER JOIN [dbo].[Questionnaires] qr ON q.QuestionnaireId = qr.Id WHERE qr.Title NOT LIKE '%**NO_DEL**%'; | |
DELETE FROM [dbo].[Questionnaires] WHERE Title NOT LIKE '%**NO_DEL**%'; | |
DELETE FROM [dbo].[TrustLevelSettings]; | |
DELETE FROM [dbo].[AppraiseeAssigments]; | |
DELETE FROM [dbo].[Appraisers]; | |
DELETE FROM [dbo].[FeedbackInvitations]; | |
DELETE FROM [events].[WinServiceQueue]; | |
DELETE FROM [events].[EventLog]; | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment