ClearTickets

From SMTX Wiki
Revision as of 11:39, 19 December 2016 by Smtxwiki (talk | contribs) (Created page with "In some situations, the SSP database needs to be flushed from any operational data. This can be helpful before a go-live to reset the SSP ticket numbering to 0. Definitions of...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In some situations, the SSP database needs to be flushed from any operational data. This can be helpful before a go-live to reset the SSP ticket numbering to 0. Definitions of Roles, Forms and Process will not be affected by this flush, only submitted Forms and Processes will be. The database script below should be run on a MS SQL Server environment for doing the reset:

 Delete from Email
 Delete from FormInstanceValue
 Delete from FormInstance
 Delete from Visit
 Delete from ProcessInstance
 DBCC checkident (processinstance, reseed, 0)