Re: data does not exist :-(

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Alain Roger" <raf(dot)news(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: data does not exist :-(
Date: 2006-11-06 21:13:57
Message-ID: b42b73150611061313v1135ead1t698f452e079e46c6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/6/06, Alain Roger <raf(dot)news(at)gmail(dot)com> wrote:
> Hi,
>
> Finally, i've come to the following solution for my stored procedure :
> -----------------------------------
> -- Function: "SP_U_001"("TypeOfArticle" "varchar")
>
> -- DROP FUNCTION "SP_U_001"("TypeOfArticle" "varchar");
>
> CREATE OR REPLACE FUNCTION "SP_U_001"("TypeOfArticle" "varchar")

> however, when i run it thanks --> select SP_U_001('action');

if you double quote a function (or anything else)'s name when you
create it, you must also double quote it when you call it:

select "SP_U_001"('action');

I would advise you to use lower case names for things to avoid having
to do this.

merlin

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Staubo 2006-11-06 21:17:23 Re: [pgsql-general] Daily digest v1.6578 (20 messages)
Previous Message Alain Roger 2006-11-06 21:02:49 data does not exist :-(