数据库差异(oracle mysql sqlserver )记录

1.

select dummy as sd from dual 这样再oracle中正确

select dummy as 'sd' from dual 这样就报错

2.

oracle 中uid update 等字段不能直接为列名,操作的过程中 需要加‘’号,在写语句的时候也要加上单引号

猜你喜欢

转载自smartzjp.iteye.com/blog/1335240