diff --git a/functions/fbsql.xml b/functions/fbsql.xml index 915a9e7f29..2bb4e687a2 100644 --- a/functions/fbsql.xml +++ b/functions/fbsql.xml @@ -1,5 +1,5 @@ - + FrontBase Functions FrontBase @@ -496,22 +496,40 @@ - Returns: The database password for the database represented by - the link identifier. + Returns: The database password associated with the link identifier. fbsql_database_password sets and retrieves - the database password for the current database. if the second + the database password used by the connection. if a database is + protected by a database password, the user must call this function + before calling fbsql_select_db. if the second optional parameter is given the function sets the database - password for the database on the server that's associated with - the specified link identifier. If no link identifier is + password for the specified 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 fbsql_connect was called, and use it. - See also: fbsql_connect and - fbsql_pconnect. + This function does not change the database password in the database + nor can it be used to retrive the database password for a database. + + + <function>fbsql_create_clob</function> example + + +]]> + + + + See also: fbsql_connect, + fbsql_pconnect and + fbsql_select_db. @@ -2252,9 +2270,15 @@ $result = fbsql_query ("SELECT my_col FROM my_tbl") Every subsequent call to fbsql_query will be made on the active database. + + if the database is protected with a database password, the user must + call fbsql_database_password before selecting + the database. + See also: fbsql_connect, - fbsql_pconnect, and + fbsql_pconnect, + fbsql_database_password and fbsql_query.