Ola
At the heart of it, JRDC is using ExecQuery2 and ExecNonQuery2.
Forgive my rusty head. I just want to conform something from the masters here. For each of these calls, which method is correct to use given the two?
For example, using this with jRDC2Utils, this is the flow.
So if my SQL calls are the following, am I making the right assumptions here?
Please advice and thanks in advance for your responses?
Thx
At the heart of it, JRDC is using ExecQuery2 and ExecNonQuery2.
Forgive my rusty head. I just want to conform something from the masters here. For each of these calls, which method is correct to use given the two?
For example, using this with jRDC2Utils, this is the flow.
B4X:
ExecuteQuery> ExecuteQuery2 > ExecQuery2
ExecuteBatch> ExecuteBatch2 > ExecNonQuery2
So if my SQL calls are the following, am I making the right assumptions here?
B4X:
SELECT - ExecuteQuery
SHOW DATABASES - ExecuteQuery
SHOW COLUMNS- ExecuteQuery
DROP TABLE - ExecuteBatch
CREATE TABLE - ExecuteBatch
CREATE DATABASE - ExecuteBatch
TRUNCATE TABLE - ExecuteBatch
INSERT INTO - ExecuteBatch
REPLACE INTO - ?
DELETE - ExecuteBatch
UPDATE - ExecuteBatch
SELECT INTO - ?
PRAGMA - ExecuteQuery
Please advice and thanks in advance for your responses?
Thx