摘要 |
A system and a method for managing a database constructed through embodiment in a small scale terminal environment are provided to perform database management with a management function using an SQL command of a general DBMS(DataBase Management System) by constructing a database management engine for a mobile terminal and including a library of the database engine in an embedded application program. A syntax analyzer(11) divides a query syntax executed in the application program(2) into query and table information by analyzing the query syntax. A database core(12) performs the query command to the database by using the query and table information. A data storing part(13) stores the data by including the database. A result manager(14) receives result data and a result code of query execution after a query command is executed in the data storing part, and returns the result data and the result code to the application program. The syntax analyzer includes a query parser, a query information generator, and a table information generator.
|