URL: https://linuxfr.org/forums/programmation-sql/posts/traduction-de-requ%C3%AAtes-oracle-vers-postgresql Title: Traduction de requêtes Oracle vers PostgreSQL Authors: Ontologia Date: 2006年04月25日T11:35:28+02:00 Tags: postgresql Score: 0 Bonjour, je suis en train de migrer une applications utilisant une base de donnée Oracle vers PostgreSQL. La plupart des requêtes passent bien malgré les disparités. Je tombe néanmoins sur un problème épineux et fréquent : le symbole (+) En effet, je me trouve en face de requêtes du style : select (...) from (...) Where COLLABORATEURS.SER_ID=SERVICE.SER_ID(+) ou select (...) from (...) Where (+)COLLABORATEURS.SER_ID=SERVICE.SER_ID Pour le premier pas, d'après ce que j'ai compris (d'après quelques docs), il est équivalent de faire une jointure gauche : select (...) from (...) Where COLLABORATEURS.SER_ID=SERVICE.SER_ID(+) deviendrai select (...) from (...) Where SERVICE.SER_ID left join COLLABORATEURS.SER_ID Mais je n'en suis pas sûr Autre subtilité, le placement à gauche ou à droite du symbole change pas mal de chose. A part ça [http://techdocs.postgresql.org/techdocs/oracle-to-pg-porting(...)](http://techdocs.postgresql.org/techdocs/oracle-to-pg-porting.php) J'ai pas grand chose à manger et l'explication est pour le moins succinte. Auriez vous d'autres infos ? Merci !

AltStyle によって変換されたページ (->オリジナル) /