Administrators can drop remote servers using the DROP SERVER statement.
Prerequisites
You must have the SERVER OPERATOR system privilege.
Context and remarks
All proxy tables defined for the remote server must be dropped before dropping the remote server. The following query can be used to determine which proxy tables are defined for the remote server server-name.
SELECT st.table_name, sp.remote_location, sp.existing_obj FROM sysproxytab sp JOIN sysserver ss ON ss.srvid = sp.srvid JOIN systab st ON sp.table_object_id = st.object_id WHERE ss.srvname = 'server-name'; |
Connect to the host database.
Execute a DROP SERVER statement.
DROP SERVER server-name; |
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |