SYBASE_SELECT_DB(3) SYBASE_SELECT_DB(3)
sybase_select_db - Selects a Sybase database
SYNOPSIS
bool sybase_select_db (string $database_name, [resource $link_identifier])
DESCRIPTION
sybase_select_db(3) sets the current active database on the server that's associated with the specified link identifier.
Every subsequent call to sybase_query(3) will be made on the active database.
PARAMETERS
o $database_name
-
o $link_identifier
- If no link identifier is specified, the last opened link is assumed. If no link is open, the function will try to establish a
link as if sybase_connect(3) was called, and use it.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
sybase_connect(3), sybase_pconnect(3), sybase_query(3).
PHP Documentation Group SYBASE_SELECT_DB(3)