X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A897ADA03D for ; Tue, 18 Oct 2005 20:45:07 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21144-05 for ; Tue, 18 Oct 2005 23:45:04 +0000 (GMT) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [151.155.5.143]) by svr1.postgresql.org (Postfix) with ESMTP id BF0FEDA020 for ; Tue, 18 Oct 2005 20:45:05 -0300 (ADT) Received: from [172.16.1.100] grzm [61.197.227.146] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 1.6 $ on Linux via secured & encrypted transport (TLS); Tue, 18 Oct 2005 17:45:00 -0600 In-Reply-To: <000c01c5ce34$61797c20$6f0aa8c0@codecindia.com> References: <000c01c5ce34$61797c20$6f0aa8c0@codecindia.com> Mime-Version: 1.0 (Apple Message framework v734) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Content-Transfer-Encoding: 7bit From: Michael Glaesemann Subject: Re: Problem -Postgre sql Date: Wed, 19 Oct 2005 08:44:58 +0900 To: "Vikas J" X-Mailer: Apple Mail (2.734) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.119 required=5 tests=[AWL=0.119] X-Spam-Level: X-Archive-Number: 200510/199 X-Sequence-Number: 23052 [It's PostgreSQL, Postgres, or pgsql. It's never "postgre"] On Oct 11, 2005, at 16:20 , Vikas J wrote: > Hi > I want to know substitute function for sql server ISNULL() function > in postgre I'm not quite sure what the ISNULL() function does in SQL Server, but it sounds like it might be similar to either COALESCE or the IS NULL expression. These pages might help you: COALESCE http://www.postgresql.org/docs/8.0/interactive/functions- conditional.html#AEN12056 IS NULL http://www.postgresql.org/docs/8.0/interactive/functions-comparison.html Hope this helps. Michael Glaesemann grzm myrealbox com