Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 11 to 13 of 13 total |
Query parameters in ver. 1.09b2 |
Fri, Apr 18 2008 8:02 PM | Permanent Link |
"Fons Neelen" | Hi Tim,
> With queries, the only thing that a Prepare does is populate the data > types for the parameters. Assigning the SQL property will set up the > parameters for a query, in contrast to a stored procedure or script, which > both require that you need to Prepare them first before assigning the > parameters. Okay. It is just that I am used to use the prepare statement when using parameters. And eventhough, as you stated, it ain't necessary, I will continue to do so - old habbits die hard I guess. And I did said I could be mistaken Best regards, Fons |
Mon, Apr 21 2008 2:50 AM | Permanent Link |
"M. Malagoli" | Yes, now work but why until the 1.07 version all query work without this
modification. I have to change a lot of query Mirco "Fernando Dias [Team Elevate]" <fernandodias.removthis@easygate.com.pt> ha scritto nel messaggio news:DD62678B-BEAE-43D4-9728-65B4C46BBC4B@news.elevatesoft.com... > Malagoli > >> No, is the standard "ptUnknow" when add parameter in SQL code. > > In that case, It can be the cause... > Set it to "ptInput" and see what happens. > > -- > Fernando Dias > [Team Elevate] |
Mon, Apr 21 2008 9:20 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Mirco,
<< Yes, now work but why until the 1.07 version all query work without this modification. I have to change a lot of query >> ElevateDB supports input and output parameters for SQL statements. For example, INSERT statements can have an output parameter for retrieving the value of an IDENTITY column after an insert. This is why it is important that it know the type of parameter. Also, by default, when ElevateDB parses the parameters and auto-populates them, it sets the parameter type to ptInput, so you must have, at some point, changed the parameter type. -- Tim Young Elevate Software www.elevatesoft.com |
« Previous Page | Page 2 of 2 | |
Jump to Page: 1 2 |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |