特蓝克斯 发表于 2012-2-19 20:43:28

ci里mysql和Oracle的sql语法相同吗?

ci里mysql和Oracle的sql语法相同吗?

Hex 发表于 2012-2-19 22:40:56

不太一样。
不过这个和 CI 无关,语法不是 CI 制定的,呵呵

特蓝克斯 发表于 2012-2-20 21:01:40

$where = "pid in (select id from tb_district where pid='$id')";
$this->db->where($where);
$query = $this->db->get('district');
上面是mysql的语法,换成oracle应该怎么写呢?
页: [1]
查看完整版本: ci里mysql和Oracle的sql语法相同吗?