set_defbase

set_defbase

Name

set_defbase -- set default database name specification [DV]

Synopsis

set_defbase(database)

Parameters

database

New default database name (string/None).

Return Type

string or None

Previous default database name specification.

Exceptions

TypeError

Bad argument type, or too many arguments.

Description

set_defbase() sets the default database name for new connections. If None is supplied as parameter, environment variables will be used in future connections. It returns the previous setting for default database name.

Home
Online Resources
General
Beginner Tutorials
MySQL
PostgreSQL
Oracle
mSQL
Microsoft SQL
Contact Us
Random quote of the moment:
Q: What does the CE in Windows CE stand for? A: Caveat Emptor.
 
http://www.sql.org/
 
Proudly designed and hosted by OmegaSphere, providers of all your Web Hosting, SSL Certificate, and Domain Name needs!