AIncorrect Answer

JDBC is the Java DataBase Connectivity library, and is used to link Java to SQL. The non-Java equivalent is ODBC.

close

BIncorrect Answer

C is a programming language, while SQL is a database query language. Without supporting libraries, these two languages are incompatible.

close

CIncorrect Answer

SQL is not strictly incompatible with C, as you can get libraries to link the two together, so although this option is "kind of" true, it is not the best answer...

close

DIncorrect Answer

There is no real way to embed C into SQL program. SQL is not a program anyway, but a query language.

close

ECorrect Answer

Embedded SQL is the method of embedding SQL statements into a C program. This is indeed possible and indeed common.

close

A B C D E TELL ME NEXT INDEX
 
 

Which of the following best describes the relationship between C and SQL?

  1. SQL can be executed from within C programmes by means of JDBC
  2. C is compatible with the specialist database language SQL
  3. SQL is incompatible with programming language C
  4. There exist mechanisms by which C statements can be embedded in SQL program
  5. There exist mechanisms by which SQL statements can be embedded in C