Over the next couple of weeks I will be updating this article with my findings. Some very simple but some a little more complex.
- TSQL GetDate() is replaced by PL/SQL select sysdate from dual;
- For those of you that don't know what dual is, its a dummy table
- Update from sub select
- TSQL: update s set s.value = k.value2 from dbo.SomeTable s inner join (select ID, value2 dbo.KTable) k on k.ID = s.ID
- PL/SQL: update SomeTable s set(value) = (select value2 from KTable k where k.ID = s.ID)
- as you can see the syntax is a little different but will accomplish the same thing
- ISNULL is replaced with NVL
- Top 10 is replaced with "where rownum <11 li=""> 11>
- TSQL select @@version vs Oracle select * from v$version where banner like 'Oracle%';
- More to come, please check back
References:
0 comments:
Post a Comment