oracle和sqlserver函数兼容问题
sql server中的CONVERT(varchar(12),createDate,112)在oracle中怎么写 难道写to_char ?
项目需要oracle 和sqlserver都要能用 各位大侠有什么好的解决方案吗?
还有时间段查询 oracle要转成date类型
sqlserver
SQL codeselect * from student where stime>'2012-01-12'
oracle
SQL codeselect * from student where stime>to_date('2012-01-12')
各位大侠有什么好的解决方案吗?