View Single Post

   
  #1 (permalink)  
Old 04-17-2008, 08:28 PM
VivekanandaSwamy R.
 
Posts: n/a
Default About decode function


Hi,
I have knowledge in Oracle.Now we are using postgresql...,

In oracle...
select decode(sex,'M','Male','F','Female') from std;
It retuns Male or Female.insted of M or F.

Now i want to use this function in postgresql?is there any posibility?
please send me..,i am waitning for ur reply

Thanks & Regards

Vivekananda.R | Software Engineer

Infinite Computer Solutions | Exciting Times...Infinite Possibilities...


SEI-CMMI level 5 | ISO 9001:2000

Tel +91-80-5193-0000| Fax +91-80-51930009 | Cell No
+91-9986463365|www.infics.com




Information transmitted by this e-mail is proprietary to Infinite ComputerSolutions and / or its Customers and is intended for use only by theindividual or the entity to which it is addressed, and may containinformation that is privileged, confidential or exempt from disclosureunder applicable law. If you are not the intended recipient or it appearsthat this mail has been forwarded to you without proper authority, you arenotified that any use or dissemination of this information in any manneris strictly prohibited. In such cases, please notify us immediately atinfo.in@infics.com and delete this email from your records.
Reply With Quote