-
Notifications
You must be signed in to change notification settings - Fork 0
/
Uninstall.SqlDataProvider
60 lines (42 loc) · 1.95 KB
/
Uninstall.SqlDataProvider
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/************************************************************/
/***** SqlDataProvider *****/
/***** *****/
/***** *****/
/***** Note: To manually execute this script you must *****/
/***** perform a search and replace operation *****/
/***** for {databaseOwner} and {objectQualifier} *****/
/***** *****/
/************************************************************/
/** Drop FAQs Table **/
ALTER TABLE {databaseOwner}[{objectQualifier}BTB_BtbShoutbox] DROP CONSTRAINT [FK_{objectQualifier}BTB_BtbShoutbox_{objectQualifier}Modules]
GO
ALTER TABLE {databaseOwner}[{objectQualifier}BTB_BtbShoutbox] DROP CONSTRAINT [PK_{objectQualifier}BTB_BtbShoutbox]
GO
DROP INDEX {databaseOwner}[{objectQualifier}BTB_BtbShoutbox].[IX_{objectQualifier}BTB_BtbShoutbox]
GO
DROP TABLE {databaseOwner}[{objectQualifier}BTB_BtbShoutbox]
GO
/** Drop Stored Procedures **/
drop procedure {databaseOwner}{objectQualifier}BTB_ShoutBox_PurgeOldShouts
GO
DROP PROCEDURE {databaseOwner}[{objectQualifier}BTB_GetBtbShoutboxs]
GO
DROP PROCEDURE {databaseOwner}{objectQualifier}BTB_GetBtbShoutboxsUpdates
GO
DROP PROCEDURE {databaseOwner}[{objectQualifier}BTB_GetBtbShoutbox]
GO
DROP PROCEDURE {databaseOwner}[{objectQualifier}BTB_AddBtbShoutbox]
GO
DROP PROCEDURE {databaseOwner}[{objectQualifier}BTB_UpdateBtbShoutbox]
GO
DROP PROCEDURE {databaseOwner}[{objectQualifier}BTB_DeleteBtbShoutbox]
GO
drop procedure {databaseOwner}{objectQualifier}BTB_GetBtbArchivedShoutboxes
go
DROP PROCEDURE {databaseOwner}[{objectQualifier}BTB_ShoutBox_VoteUp]
GO
drop procedure {databaseOwner}{objectQualifier}BTB_ShoutBox_VoteDown
go
/************************************************************/
/***** SqlDataProvider *****/
/************************************************************/