Jump to content

dbExec and dbQuery


Msypon

Recommended Posts

dbQuery also returns information, while dbExec just returns a boolean whether the execution was successful or not.

dbQuery returns possible selected rows, number of affected rows and last insert id (alternatively error code and error message), which are useful sometimes when executing insert statements and you want to know the auto-incremented ID.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...