Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > using string fu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 3414 of 3596
Post > Topic >>

using string functions on plpgsql

by mpaniagua18@[EMAIL PROTECTED] ("Marcelo Edgardo Paniagua Lizarraga") Apr 16, 2008 at 02:50 PM

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
****tion. 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!!!

-- 
Sent via pgsql-sql mailing list (pgsql-sql@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
 




 5 Posts in Topic:
using string functions on plpgsql
mpaniagua18@[EMAIL PROTEC  2008-04-16 14:50:09 
Re: using string functions on plpgsql
tgl@[EMAIL PROTECTED] (T  2008-04-16 20:08:26 
Re: using string functions on plpgsql
craig@[EMAIL PROTECTED]   2008-04-17 09:47:32 
Re: using string functions on plpgsql
craig@[EMAIL PROTECTED]   2008-04-17 09:51:53 
Re: using string functions on plpgsql
tgl@[EMAIL PROTECTED] (T  2008-04-17 00:42:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 5:08:32 CDT 2008.