Click here to Skip to main content
15,910,471 members
Home / Discussions / Database
   

Database

 
QuestionSET NOCOUNT Pin
Member 348763223-Jul-12 22:15
Member 348763223-Jul-12 22:15 
AnswerRe: SET NOCOUNT Pin
Wayne Gaylard23-Jul-12 23:06
professionalWayne Gaylard23-Jul-12 23:06 
GeneralRe: SET NOCOUNT Pin
Member 348763223-Jul-12 23:09
Member 348763223-Jul-12 23:09 
GeneralIncreasing the session existing time in sql server Pin
yousefshokati20-Jul-12 22:29
yousefshokati20-Jul-12 22:29 
AnswerRe: Increasing the session existing time in sql server Pin
Eddy Vluggen21-Jul-12 7:57
professionalEddy Vluggen21-Jul-12 7:57 
GeneralRe: Increasing the session existing time in sql server Pin
jschell21-Jul-12 11:46
jschell21-Jul-12 11:46 
QuestionProblem saving file to MySQL Pin
Jassim Rahma20-Jul-12 21:27
Jassim Rahma20-Jul-12 21:27 
AnswerRe: Problem saving file to MySQL Pin
Eddy Vluggen20-Jul-12 23:22
professionalEddy Vluggen20-Jul-12 23:22 
GeneralRe: Problem saving file to MySQL Pin
Jassim Rahma21-Jul-12 2:33
Jassim Rahma21-Jul-12 2:33 
GeneralRe: Problem saving file to MySQL Pin
Eddy Vluggen21-Jul-12 7:54
professionalEddy Vluggen21-Jul-12 7:54 
GeneralRe: Problem saving file to MySQL Pin
Jassim Rahma21-Jul-12 8:40
Jassim Rahma21-Jul-12 8:40 
GeneralRe: Problem saving file to MySQL Pin
Eddy Vluggen21-Jul-12 9:21
professionalEddy Vluggen21-Jul-12 9:21 
GeneralRe: Problem saving file to MySQL Pin
Jassim Rahma21-Jul-12 9:42
Jassim Rahma21-Jul-12 9:42 
GeneralRe: Problem saving file to MySQL Pin
jschell21-Jul-12 11:48
jschell21-Jul-12 11:48 
GeneralRe: Problem saving file to MySQL Pin
Jassim Rahma21-Jul-12 11:57
Jassim Rahma21-Jul-12 11:57 
GeneralRe: Problem saving file to MySQL Pin
jschell22-Jul-12 6:56
jschell22-Jul-12 6:56 
AnswerRe: Problem saving file to MySQL Pin
Eddy Vluggen21-Jul-12 12:58
professionalEddy Vluggen21-Jul-12 12:58 
GeneralRe: Problem saving file to MySQL Pin
Jassim Rahma22-Jul-12 8:39
Jassim Rahma22-Jul-12 8:39 
GeneralRe: Problem saving file to MySQL Pin
Eddy Vluggen22-Jul-12 10:24
professionalEddy Vluggen22-Jul-12 10:24 
GeneralRe: Problem saving file to MySQL Pin
Jassim Rahma22-Jul-12 10:29
Jassim Rahma22-Jul-12 10:29 
GeneralRe: Problem saving file to MySQL Pin
Eddy Vluggen22-Jul-12 10:42
professionalEddy Vluggen22-Jul-12 10:42 
GeneralRe: Problem saving file to MySQL Pin
Luc Pattyn22-Jul-12 10:43
sitebuilderLuc Pattyn22-Jul-12 10:43 
1. I don't recall ever having seen a Word document that would fit in 255 bytes.

I just created a Word document containing a single letter ("a"), saved it to disk, and found a file size of 29KB. That was Word 2007 BTW.

2.
The only type that is suited for storing binary data IMO is a "blob".
MySQL offers blob, and some size variants thereof. Use those. I never used "binary".

3.
Yes, saving and retrieving data to/from a database is tricky; as long as it doesn't work, it is hard to tell where the problem lies; it could be in the saving part, or in the retrieving part. And when you have several bugs at once (I'm sure you do!) fixing any one of them doesn't seem to help at all, until you get to the last one.

The good thing is, you have to solve it only once, as it would apply to any kind of data, as long as it fits a byte array model, it is all the same.

And the best thing is, millions of people have done this before, so the solution is bound to be available everywhere you look.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Problem saving file to MySQL Pin
Jassim Rahma22-Jul-12 11:50
Jassim Rahma22-Jul-12 11:50 
AnswerRe: Problem saving file to MySQL Pin
Luc Pattyn22-Jul-12 11:57
sitebuilderLuc Pattyn22-Jul-12 11:57 
GeneralRe: Problem saving file to MySQL Pin
Jassim Rahma22-Jul-12 12:18
Jassim Rahma22-Jul-12 12:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.