943,822 Members | Top Members by Rank

Ad:
  • MySQL Discussion Thread
  • Unsolved
  • Views: 686
  • MySQL RSS
Sep 1st, 2009
0

Image as an argument to the stored procedure

Expand Post »
hi all i want to insert an image into mysql database
using stored procedure, i need to pass the image from c# plz help me
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mohan7690 is offline Offline
12 posts
since May 2009
Sep 2nd, 2009
0

Re: Image as an argument to the stored procedure

Save the image in the database as type BLOB
and Load the image file and read the file into a variable using file_get_contents() or similar

but best way is not to save image directly in Database rather save location or assign UUID to a image and save it to disk
so when u recall you can go and pick the image instead of regenerating image from pixels
Reputation Points: 22
Solved Threads: 9
Junior Poster in Training
varmadba is offline Offline
83 posts
since Jun 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in MySQL Forum Timeline: Using PHP variables on multiple pages using a MySQL db
Next Thread in MySQL Forum Timeline: Mysql: importing .csv file with date.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC