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

SQL Anywhere 10.0.1 » UltraLite - Database Management and Reference » UltraLite Connection String Parameters Reference

UltraLite START connection parameter Next Page

UltraLite UID connection parameter


The user ID with which you connect to the database. The value must be an authenticated user for the database.

Syntax

UID=id_name

Default

If you do not set both the UID and PWD, UltraLite opens connections with UID=DBA and PWD=sql.

Remarks

You cannot set the UID to NULL or an empty string. Nor can the user ID exceed a maximum length of 31 characters.

Every user of a database has a user ID. UltraLite supports up to four user ID/password combinations.

UltraLite user IDs are separate from MobiLink user names and from other SQL Anywhere user IDs.

You cannot change a user ID once it is created. Instead, you must delete the user ID in question and then add a new one.

The user ID is case insensitive.

Any leading or trailing spaces in parameter values are ignored. This connection parameter's value cannot include leading single quotes('), leading double quotes ("), or semi-colons(;).

See also
Example

The following connection string fragment supplies the user ID DBA and password sql for a database called c:\MyOrders.udb:

"UID=DBA;PWD=sql"