A Structured Query Language (SQL) adapter business service that converts
data from a data set to a common representation format used for all data
sets with which the SQL adapter business service interacts. Hence the SQL
adapter business service can communicate with various internal and
external systems independently of the native format in which those
systems maintain and store data. The SQL adapter business service
optimizes operations to update data in the data sets by combining
operations when possible and by using result sets from executing previous
SQL statements to construct subsequent SQL statements. SQL adapter
business service takes advantage of parent/child relationships between
tables to construct SQL statements in an order such that the SQL
statements process only a minimum amount of data, thereby making
retrieval of data as efficient as possible.