Insert, Update, and Delete Statements
- Last Updated: March 7, 2016
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Spark SQL 6.0
- Documentation
The driver supports returning parameter metadata for the following forms of Insert, Update, and Delete statements 1 :
-
INSERT INTO foo VALUES (?, ?, ?) -
INSERT INTO foo (col1, col2, col3) VALUES (?, ?, ?) -
UPDATE foo SET col1=?, col2=?, col3=? WHERE col1operator? [{AND | OR}col2operator?] DELETE FROM foo WHERE col1 operator ?
where operator is any of the following SQL operators: =, <, >, <=, >=, and <>.
1 While the driver supports returning parameter metadata for these
statements, the SQL commands themselves may not be supported for some versions of Apache
Spark SQL.