File: bingo_drop.sql

package info (click to toggle)
indigo 1.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 48,936 kB
  • sloc: ansic: 332,816; cpp: 169,470; python: 20,033; java: 13,701; cs: 9,979; asm: 8,475; sql: 6,743; xml: 6,354; javascript: 1,245; sh: 555; php: 506; makefile: 54
file content (61 lines) | stat: -rw-r--r-- 865 bytes parent folder | download | duplicates (6)
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
61
use $(database)

exec [$(bingo)]._DropAllIndices
go

:r bingo_drop_methods.sql

drop procedure [$(bingo)].log_events
go

drop event notification $(bingo)_$(database)_logout_notify on server;
go

drop route $(bingo)_notify_route;
go

drop service $(bingo)_notify_service;
go

drop queue [$(bingo)].notify_queue;
go
                     
drop table [$(bingo)].CONFIG
go

drop table [$(bingo)].CONFIG_BIN
go

drop table [$(bingo)].CONTEXT;
go

drop table [$(bingo)].TAUTOMER_RULES
go

DROP ROLE $(bingo)_operator;
GO

DROP ROLE $(bingo)_reader;
GO

DROP SCHEMA $(bingo);
GO

DROP USER $(bingo);
GO

DROP CERTIFICATE $(bingo)_certificate;
GO

DROP ASSEMBLY $(bingo)_assembly;
GO


use master;

IF ($(fulldelete) = 1)
BEGIN
	DROP LOGIN $(bingo)_assembly_login;
	DROP ASYMMETRIC KEY bingo_assembly_key;
END
GO