Userid connection parameter [UID]

Specifies the user ID used to log in to the database.

Usage

Anywhere

Values

String

Default

None

Remarks

You must always supply a user ID when connecting to a database, unless you are using an integrated or Kerberos login.

See also
Example

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

UID=DBA;PWD=sql