Results 1 to 1 of 1
Thread: Restore Deleted Surveys
-
02-28-2012, 09:30 AM #1
Administrator
- Join Date
- Feb 2012
- Posts
- 15
Restore Deleted Surveys
Question : How do I restore all deleted surveys in my application?
Solution : Run the following script on your Checkbox Database
Question: How do I restore a specific survey in my application ?Code:UPDATE ckbx_Template SET Deleted = 0
Whats needed? : You will need either the ID of the survey or the survey's GUID in order to restore a specific survey.
If you have the ID of the survey, you can run the following script, please replace [ID] with the ID of the survey.
Solution :
If you have the GUID for the survey, you can run the following script, please replace [GUID] with the GUID of the survey.Code:UPDATE ckbx_Template SET Deleted = 0 WHERE TemplateID = [ID]
Solution :
Code:UPDATE ckbx_Template SET deleted = 0 WHERE TemplateID = ( SELECT crt.ResponseTemplateID FROM dbo.ckbx_ResponseTemplate crt WHERE crt.GUID = '[GUID]' )


