Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 11 to 12 of 12 total |
How to save binary data using sql... |
Tue, Feb 10 2009 2:31 PM | Permanent Link |
Uli Becker | Roy
> OK - fuller version. Now I got it. I didn't see that your post was an answer to Tim's reply - I thought it was for me Uli |
Tue, Feb 10 2009 6:26 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Roy,
<< Out of interest could you do something like ParamByName('Contents').AsString := ' X''01F21028''; >> The problem is the data type of the parameter. If you use AsString, you will end setting the data type to a string. What you need is the TParam.AsBlob property, and you cannot format the binary data as an SQL hex string constant. A parameter expects the data in its "raw" binary format, not formatted as a constant. -- 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 Saturday, May 4, 2024 at 12:54 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |