• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

database.connect()

NES2+Syntax

							database.connect(dbType, dbInstance, uid, pwd, dbName)

database.connect(dbType, dbInstance, uid, pwd, dbName, maxConn)

database.connect(dbType, dbInstance, uid, pwd, dbName, maxConn, commitFlag)

Description

The connect method of the database object is the actual method that connects to a database given the parameters passed. Before you open a connection to a database and have the ability to run queries against it, you should create an instance of this object. Each parameter is defined in Table 8.7.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint