- make-connection HOST USERNAME PASSWORD #!optional DATABASE-NAMEprocedure
Opens a connection to the database on the host in the HOSTNAME string. This string may optionally contain a colon followed by a port number if it's not the default (1434?). USERNAME and PASSWORD must be strings which are to be used for logging in.
The string DATABASE-NAME is optional; if it is not supplied it will use the default database. You can easily switch databases later by running a "USE dbname" query.
The return value is a connection-object.
Note: You cannot use the same connection from multiple threads. If you need to talk to the same server from different threads, simply create a second connection.