1. A method of using a computer, the method comprising: receiving a database statement to be executed by a database management system; in response to at least receipt of the database statement, checking whether a specialized interpreter for the database statement is available; if a specialized interpreter for the database statement is available, the computer invoking the specialized interpreter to execute the database statement; and if a specialized interpreter for the database statement is not available, the computer checking whether a predetermined condition is met; if the predetermined condition is not met, invoking an SQL interpreter to execute the database statement; and if the predetermined condition is met: specializing an SQL interpreter for the database statement, to create a specialized interpreter; storing in a memory of the computer, at least a portion of the specialized interpreter obtained by the specializing; and invoking the specialized interpreter obtained by the specializing, to execute the database statement.
6. The method of claim 1 wherein: the specializing comprises partial evaluation of the SQL interpreter using the database statement as constant.