Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 17 » SQL Anywhere Server - SQL Reference » SQL statements » Alphabetical list of SQL statements

DROP EXTERNLOGIN statement

Drops an external login from the database.

Syntax
  • Drop an external login
    DROP EXTERNLOGIN login-name TO remote-server
  • Drop an external login (include variables in syntax)
    DROP EXTERNLOGIN USER string | variable SERVER string | variable
Parameters
  • DROP clause

    Specify the local user login ID.

  • SERVER clause

    Specify the name of the remote server. The local user's alternate login name and password for that server is the external login that is deleted.

Remarks

DROP EXTERNLOGIN deletes an external login from the database.

Note For required parameters that accept variable names, the database server returns an error if any of the following conditions is true:
  • The variable does not exist
  • The contents of the variable are NULL
  • The variable exceeds the length allowed by the parameter
  • The data type of the variable does not match that required by the parameter
Privileges

You must have the MANAGE ANY USER system privilege.

Side effects

Automatic commit.

Standards
  • ANSI/ISO SQL Standard

    Not in the standard.

Example

The following example drops the DBA external login to the fictitious remote server, sybase1.

DROP EXTERNLOGIN DBA TO sybase1;