Question:
What is Embedded SQL, and howis it used with the C language?
Answer:
As the name implies, Embedded SQL describes SQL statements that are embedded in a host language. C is one of the most common,but other languages like Cobol, Fortran, etc. support embedded SQLstatements. The primary reasons for embedding SQL are performancegain and programmatic control. Embedding SQL in a host languagegives you the best of both worlds: The host language can control the program,and SQL handles the data.