Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Compatibilité SQL


  • From: Cyril(dot)ZEKSER(at)nexans(dot)com
  • To: pgsql-fr-generale(at)postgresql(dot)org
  • Subject: Compatibilité SQL
  • Date: Tue, 29 Nov 2005 11:12:16 +0100
  • Message-id: <OFF7D2F5DD(dot)281DE655-ONC12570C8(dot)00375A1F-C12570C8(dot)00380E56(at)NEXANS(dot)COM>


Bonjour à tous,

Pour mon application actuelle (Tomcat/Oracle), je suis amené à faire des modifications sur les requêtes en tenant compte d'une migration courante sur pgSql.

Je rencontre la fonction CASE suivante, mais je n'arrive pas à savoir si elle est compatible avec PostgreSQL.
Pouvez-vous me le dire ? et si non, s'il y a un équivalent s'il vous plait ?  Idem avec INSTRB ...

SELECT CASE WHEN nav.src_id = nav.OID or nav.src_id = 0 THEN nav.oid ELSE nav.src_id END OID, ns.up_navigation FROM NEXANS_NAV_STRUCT ns, NEXANS_NAVIGATION nav WHERE ( ns.OID = ?  OR INSTRB( up_navigation, ';'|| ? || ';' ) > 0 ) AND nav.oid = ns.oid

Cordialement,

Cyril ZEKSER
--------------------------------------------------------------------------------
Intranet Project Manager  /  Corporate New Technologies IS
NEXANS France - 4-10, rue Mozart - 92587 CLICHY Cedex - France
Tel : +33(0) 1 55 62 74 40
Fax : +33(0) 1 55 62 78 29

http://nww.nexans.com


Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group