1.

Which of the following is a following statement is a prepared statements?(a) Insert into department values(?,?,?)(b) Insert into department values(x,x,x)(c) SQLSetConnectOption(conn, SQL AUTOCOMMIT, 0)(d) SQLTransact(conn, SQL ROLLBACK)I had been asked this question during an internship interview.The origin of the question is Access SQL From a Programming Language topic in chapter SQL : Queries, Constraints and Triggers of Database Management

Answer»

Correct answer is (a) INSERT into DEPARTMENT values(?,?,?)

EASY EXPLANATION - ? is used as a PLACEHOLDER whose value can be provided later.



Discussion

No Comment Found

Related InterviewSolutions