Next Previous Up Top Contents Index

1.2.6 Connecting and disconnecting

default-connection

Generic function

Summary

Returns the connection established by the with-database or with-connections macro.

Signature

default-connection () => connection 

Arguments

None.

Values

connection
An instance of <connection>.

Library

sql

Module

sql

Description

Returns the connection established by the with-database or with-connection macro. Signals the condition <connection-not-specified> if a connection has not been established or if this function is invoked outside of the scope of a with-database or with-connection macro.


OLE, COM, ActiveX and DBMS Reference - 31 MAR 2000

Next Previous Up Top Contents Index