Does anyone know how popular Informix SPL are ? I mean, if I sample 1000 Informix databases, how many of them, on average, will make (extensive) use of SPL ? Thanks, Gil
Does anyone know how popular Informix SPL are ? I mean, if I sample 1000 Informix databases, how many of them, on average, will make (extensive) use of SPL ? Thanks, Gil
We have on average 150-200 SPLs in each database -----Original Message----- From: XXXX@XXXXX.COM [mailto: XXXX@XXXXX.COM ] On Behalf Of Gil Lapid Sent: Thursday, October 26, 2006 12:20 PM To: XXXX@XXXXX.COM Subject: How popular Informix SPL are ? Does anyone know how popular Informix SPL are ? I mean, if I sample 1000 Informix databases, how many of them, on average, will make (extensive) use of SPL ? Thanks, Gil _______________________________________________ Informix-list mailing list XXXX@XXXXX.COM http://www.**--****.com/
I have about four SPLs used on a custom requirement, and another 8 on a standardized platform across about 10 servers. I love SPLs. I love SPLs almost as much as Nulls. (Hey, OTC, you out there?!) Rob -----Original Message----- From: XXXX@XXXXX.COM [mailto: XXXX@XXXXX.COM ] On Behalf Of Adam Tauno Williams Sent: Thursday, October 26, 2006 2:33 PM To: XXXX@XXXXX.COM Subject: RE: How popular Informix SPL are ? Same. _______________________________________________ Informix-list mailing list XXXX@XXXXX.COM http://www.**--****.com/
Konikoff, Rob said: I think SPL is great. :o) -- Bye now, Obnoxio "... no bill is required as no value was provided." -- Christine Normile -- This message has been scanned for viruses and dangerous content by OpenProtect( http://www.**--****.com/ ), and is believed to be clean.
In the systems we look after all use SPL in some shape or form Paul Watson Tel: +44 1414161772 Mob: +44 7818003457 Web: www.oninit.com GO FURTHER with DB2 GET THERE FASTER with Informix. Attend IDUG 2007 San Jose, North America May 6-10, 2006 Visit http://www.**--****.com/
You just can't develop a really efficient application without using any kind of server logic, and SPL is a powerful tool in that way (despite of some awful limitations, at least at 7.31). And maybe the easiest option. In my last project nearly the 80% of the hardest logic of the system was developed using SPL and it works really good (of course you also need a hard work designing optimized algorithms, nothing can be done without these). ole for the stored procedures! sometimes SQL becomes art !!! -----Original Message----- From: XXXX@XXXXX.COM [mailto: XXXX@XXXXX.COM ] On Behalf Of Paul Watson Sent: jueves, 26 de octubre de 2006 23:12 To: XXXX@XXXXX.COM Subject: Re: How popular Informix SPL are ? In the systems we look after all use SPL in some shape or form Paul Watson Tel: +44 1414161772 Mob: +44 7818003457 Web: www.oninit.com GO FURTHER with DB2 GET THERE FASTER with Informix. Attend IDUG 2007 San Jose, North America May 6-10, 2006 Visit http://www.**--****.com/ _______________________________________________ Informix-list mailing list XXXX@XXXXX.COM http://www.**--****.com/
Gil My guess about 50% will have "some" SPL. 25% loads of SPL, and <5% running just about all their businees logic via SPL. cheers Spanners
1.Problem on SPL syntax in Informix 7.31
Hi, I've got a syntax problem on a Stored Procedure undert IDS 7.31. Is it possible to concatenate integers and put them into a varchar variable maintaining them as a uniqeu item? How? Are they canverted automatically to chars within thgelist? My code looks like something like this: DEFINE varList varchar(250); DEFINE varFirst smallint; LET varList = ''; LET varFirst = 0; CREATE PROCEDURE TEST() FOREACH SELECT var INTO varAux FROM table1 IF (varFirst = 0) THEN LET varList = varAux; LET varFirst = 1; ELSE LET varList = varList || ',' || TRIM(varAux); END IF; END FOREACH; FOREACH SELECT value INTO valueAux FROM table2 WHERE value NOT IN (varList) order by 1 desc END FOREACH END PROCEDURE; My problem is that when I execute the sentence: SELECT value INTO valueAux FROM table2 WHERE value NOT IN (varList) varList is trated as a unique parameter (char) and not as a group of integers and this sentence returns always all the values. Any idea? Thank you for your help.
2.Perl DBD::Informix and IDS9.40 SPL display labels
Hi,All I'm using: 9.40.UC1E1 on RedHat 7.3, perl5.8.0, DBD::Informix 2003.04. SPL function: create function test1(a integer) returning integer as test1_res; return 1; end function In perl script: my $sth = $dbh->prepare('EXECUTE FUNCTION test1(1)'); $sth->execute; statement "$sth->fetchrow_hashref" returns { 'test1_res' => 1 }. But, if calling via 'EXECUTE FUNCTION test1(?)', and $sth->execute(2); statement "$sth->fetchrow_hashref" returns { '(expression)' => 1 }. It's possible to receive labels in 2nd variant? (with placeholders). -- Best regards, Sergey
Hi, Where can I find information (syntax) about functions that I can use in SPL? Like, SUBSTR, COALESCE, CURRENTDATE, ROUND, ... Thanks a lot
4.FYI:Informix Chat with the Lab - Wednesday, August 16th 11 AM Eastern
5.Need NT executables of popular IIUG software packages
6. Ingres must be becoming more popular!
7. pgsql-server: Due to popular domand, backport fix for a typo in the
Users browsing this forum: No registered users and 33 guest