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.
Controls
-
ADO.NET
-
SNC SQL Native Client for Microsoft SQL Server
Syntax
1 |
DataBase='<span>database_name</span>' |
Default
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.DbParameter="Database='mydb'"
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments