SelectDatabase method

Previous  Top  Next

See Also Properties Methods Events Example
Unit
MySQLServer

Applies to
TMySQLServer component

Declaration
function SelectDatabase(Value: string; Conn: pointer = nil): boolean;

Description
Given a connection, Conn, select the current database, i.e. "USE Database;"

This is an internally used method, and is normally only used by derived classes of TMySQLServer and TMySQLServer. You can just set the DatabaseName property to have the same effect for the TMySQLServer connection. If Conn is not specified the TMySQLServer connection is used.