File: delete_server.sql

package info (click to toggle)
teamspeak-server 2.0.24.1%2Bdebian-1
  • links: PTS
  • area: non-free
  • in suites: lenny
  • size: 3,076 kB
  • ctags: 215
  • sloc: sql: 927; sh: 232; makefile: 45
file content (17 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DELETE FROM ts2_servers
WHERE i_server_id = :iServerID ;

DELETE FROM ts2_server_privileges
WHERE i_sp_server_id = :iServerID ;

DELETE FROM ts2_bans
WHERE i_ban_server_id = :iServerID ;

DELETE FROM ts2_channels
WHERE i_channel_server_id = :iServerID ;

DELETE FROM ts2_channel_privileges
WHERE i_cp_server_id = :iServerID ;

DELETE FROM ts2_clients
WHERE i_client_server_id = :iServerID ;