Modified the SQL statements which valid for MySQL/SQLite/PostgreSQL.
Modified the SQL statements which valid for MySQL/SQLite/PostgreSQL.


git-svn-id: d0e296eae3c99886147898d36662a67893ae90b2@1735 653ae4dd-d31e-0410-96ef-6bf7bf53c507

dragonmantank/Habari,dragonmantank/Habari,dragonmantank/Habari