Re: [SQL] Function define question

2001-08-18 Thread omid omoomi
hi, It depends on the variable type: foo=> create function f1( int4) returns int4 as' foo'> select $1 ;' foo-> language 'sql'; CREATE foo=> select f1(4); f1 -- 4 (1 row) regards Omid >From: "Bill" <[EMAIL PROTECTED]> >To: [EMAIL PRO

[SQL] Function define question

2001-08-17 Thread Bill
Hello all, Is it possible to define a function to pass parameter like this? function( parameter ) but not function( 'parameter' ) Regards Bill ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/us