MySQL Forums
Forum List  »  Newbie

Re: Save Physical File using MySQL
Posted by: Peter Brawley
Date: July 23, 2016 04:31PM

> move it to a varchar field contains the file name or ID and save the physical file on the server instead of blob.

Yes. Best for access (one read instead of two) and for db size.

> Is it possible to send the file with the database SqlConnection but receive it there in the server as physical file?

If you're not inserting it into a table, SQL doesn't come into it. Your app just needs to form the appropriate path argument, then save that path to your db.

Options: ReplyQuote


Subject
Written By
Posted
Re: Save Physical File using MySQL
July 23, 2016 04:31PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.