You can do it by opening the file in your application, reading it and converting the stream to an hexadecimal string.
Then you can insert it to the database.
When you read it from the database, you’ll need the convert it back from hexadecimal to binary.
The code that you need for these conversions is powerbuilder specific code, which I don't have.
About the performance question - it really depends on the size of the file, the DB setup, the DB connection between your application and the DB, etc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.