From: Marcelo Edgardo Paniagua Lizarraga <mpaniagua18@gmail.com>
To: pgsql-sql@postgresql.org
Subject: using string functions on plpgsql
Date: Wed, 16 Apr 2008 14:50:09 -0700
Message-ID: <2ba670e30804161450q68312d25l3e36a98034badbe9@mail.gmail.com> (raw)
I'm starting to create my firsts plpgsql functions, and I was
wondering how to use the string function 'length' in the code of the
fuction. I have tried so far and I get an error. I'm trying this:
declare
i integer;
begin
...
i = length(texto)
...
where texto is a varchar(200) I pass as a parameter to the function calling.
Any help will help.
Thanks!!!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: mpaniagua18@gmail.com
Subject: Re: using string functions on plpgsql
In-Reply-To: <2ba670e30804161450q68312d25l3e36a98034badbe9@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox