Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 5 of 5 total |
Function Call |
Wed, Apr 22 2009 7:41 AM | Permanent Link |
Dan | What is the proper way to call a UDF and get the result in ELEVATEDB? Not in a script, but
straight from the application. I must use TEDBQuery like this for example: select MyFunction('parameter') as result FROM Configuration.DataTypes WHERE NAME = 'Char' to be able to get the result or is there another way? Thanks. |
Wed, Apr 22 2009 10:12 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Dan
All I've done in mine is specify the result type. Is this external function delphi or sql? Roy Lambert [Team Elevate] |
Wed, Apr 22 2009 11:30 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Dan,
<< What is the proper way to call a UDF and get the result in ELEVATEDB? Not in a script, but straight from the application. I must use TEDBQuery like this for example: select MyFunction('parameter') as result FROM Configuration.DataTypes WHERE NAME = 'Char' to be able to get the result or is there another way? >> Perhaps you can tell us more about what you're trying to accomplish. The above technique is correct, but it sounds like you want to simply call the function without using it in a query, etc. Is that correct ? -- Tim Young Elevate Software www.elevatesoft.com |
Thu, Apr 23 2009 5:21 AM | Permanent Link |
Dan | <<Perhaps you can tell us more about what you're trying to accomplish. The
above technique is correct, but it sounds like you want to simply call the function without using it in a query, etc. Is that correct ?>> Yes, i'm just curious it this is the only way to call a function without using it in a query. Of cource, as a alternative we can use a procedure with out parameters and TEDBStoredProc, but is there another way to simply use a function? |
Thu, Apr 23 2009 5:06 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Dan,
<< Yes, i'm just curious it this is the only way to call a function without using it in a query. >> Yes, from a client application. << Of cource, as a alternative we can use a procedure with out parameters and TEDBStoredProc, but is there another way to simply use a function? >> No, that's pretty much it (procedure call with out parameter). -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, May 7, 2024 at 02:40 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |