sqldiscon() — Disconnect a Database

Disconnects a single database from your program.

This function returns normalized values. For more information, see the function return values in the "General Diagnostics" section in this chapter:

SYNTAX
int
sqldiscon  ( pldbname )
  char  *pldbname;    /* INPUT */ 

pldbname

Pointer to the logical name of the connected database.

NOTE

EXAMPLE

This example disconnects the dbase1 database:

sqldiscon("dbase1"); 

SEE ALSO

sqlconn() — Connect Database(s), the DISCONNECT statement in the Progress Language Reference for more information on disconnecting from a database.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095