Switch to: V11V10V9V8V7V6V5

VConnection Class: SQL Methods

NEW in v4.0

The following three methods of VConnection class are very similar to the methods of VDatabase class except that they do not have the first inDatabase parameter.

These methods can send SQL commands that are not related to a single database, or are not related to the database at all. For example “SHOW DATABASES”, “DROP USER”.

If the command should be sent to a single database, then such database should be set active through the command “SET DATABASE db_name”. Or you can just use methods of VDatabase class.

Since these methods by syntax and usage are 100% the same as VDatabase class methods, we just refer you to that methods.

VConnection.SqlQuery()

See description of VDatabase.SqlQuery() method.

VConnection.SqlSelect()

See description of VDatabase.SqlSelect() method.

VConnection.SqlExecute()

See description of VDatabase.SqlExecute() method.