Index: branches/feature-module-update/data/class/SC_Query.php
===================================================================
--- branches/feature-module-update/data/class/SC_Query.php	(revision 15080)
+++ branches/feature-module-update/data/class/SC_Query.php	(revision 15338)
@@ -46,4 +46,7 @@
 	function select($col, $table, $where = "", $arrval = array()){
 		$sqlse = $this->getsql($col, $table, $where);
+        // DBに依存した SQL へ変換
+        $dbFactory = SC_DB_DBFactory::getInstance();
+        $sqlse = $dbFactory->sfChangeMySQL($sqlse);
 		$ret = $this->conn->getAll($sqlse, $arrval);
 		return $ret;
@@ -125,6 +128,6 @@
 	function setlimitoffset($limit, $offset = 0, $return = false) {
 		if (is_numeric($limit) && is_numeric($offset)){
-			
-			$option.= " LIMIT " . $limit;
+
+			$option = " LIMIT " . $limit;
 			$option.= " OFFSET " . $offset;
 			
