Database
database parameter
Description
Specifies the name of the database you want to connect to.
When to specify Database
You must specify the Database parameter before connecting to the
database.
Applies to
ADO.NET
SNC SQL Native Client for Microsoft SQL Server
MSOLEDBSQL Microsoft OLE DB Driver for SQL Server
Syntax
|
1 |
DataBase='database_name' |
Default value
None
Examples
To connect to the database “mydb”:
-
Database profile
Enter mydb in the Database box on the Connection page in the
Database Profile Setup dialog box. -
Application
Type the following in code:
1SQLCA.DBParm="Database='mydb'"
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest