KariiiM Posted September 24, 2015 Share Posted September 24, 2015 Hey,Is there's a different between dbQuery or dbExec in creating Table? --With dbQuery, dbQuery (connection, "CREATE TABLE IF NOT EXISTS `account` (`user TEXT`)") --With dbExec dbExec(connection, "CREATE TABLE IF NOT EXISTS `account` (`user TEXT`)") Link to comment
Jusonex Posted September 24, 2015 Share Posted September 24, 2015 dbQuery returns the result while dbExec does not. So if you don't expect a result (as for CREATE TABLE), use dbExec. Link to comment
KariiiM Posted September 24, 2015 Author Share Posted September 24, 2015 dbQuery returns the result while dbExec does not. So if you don't expect a result (as for CREATE TABLE), use dbExec. Alright i got it , thanks Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now