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

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Database Administration » SQL Anywhere database connections » SQL Anywhere database servers » Authenticated SQL Anywhere applications » Authenticated application development

 

Checking that a database is authenticated

You can check that your database is authenticated using the DB_PROPERTY function.

Prerequisites

There are no prerequisites for this task.

Context and remarks

When the database server loads an authenticated database, it displays a message in the Database server messages window describing the authenticated company and application. The message has the following form:

This database is licensed for use with:
Application: application-name
Company: company-name
 Task
  1. Connect to the database.

  2. Execute the DB_PROPERTY function, as follows:

    SELECT DB_PROPERTY ( 'Authenticated' );

Results

A message is returned indicating whether the database is authenticated.

 See also