All pages
Powered by GitBook
1 of 1

Loading...

COM_INIT_DB

This command selects the default database for the current connection, functionally equivalent to the USE statement.

COM_INIT_DB is used to specify the default schema for the connection.

Fields

  • int<1> 0x02 : COM_INIT_DB Header.

  • schema name.

Response

or .

Example

This page is licensed: CC BY-SA / Gnu FDL

06 00 00 00 02 74 65 73 74 63                    .....testc
string
ERR_Packet
OK_Packet