|
计算机应用研究 2005
Design and Implementation of the Embedded SQL System in OSCAR
|
Abstract:
To enable an embedding of SQL statements in C language, the embedded SQL system is implemented. The system plays a crucial role in the client part of OSCAR, an object relational database management system. It includes two components: preprocess module and ESQL runtime library. The former parses ESQL statements with the syntactic rules of ESQL language, and translates them into corresponding C function calls. The latter implements the C functions that communicate with the server via network communication library. The server then executes the SQL statements and returns results to the client.