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

SQL Anywhere 17 » UltraLite - Database Management and Developer Guide » UltraLite database reference » UltraLite connection parameters

UltraLite UID connection parameter

When creating a new UltraLite database, this connection parameter sets the default user ID for the database.

When connecting to an existing database, it specifies the user ID with which you connect to the database. The value must be an authenticated user for the database.

Syntax
UID=user
Default

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

Remarks

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 and then add a new one.

You cannot set the UID to NULL or an empty string. The maximum length for a user ID is 31 characters. User IDs are 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 semicolons.

Example

The following connection string fragment supplies the user ID DBA and password sql for a database:

"UID=DBA;PWD=sql"