last day (14 days later) » 

09:17
0
A: how to Read 10000+ bytes[] of binary data from DataBase?

doitlikejustinI think this is a problem with using MSSQL where data stored in a text type column is truncated for no apparent reason after 4096 characters. Increase the maximum size of a text column to be returned from SQL Server. You can do this with the following SQL query: SET TEXTSIZE 2147483647 You ca...

I tried both but not working :(
Are you getting the same error?
I tried both side php.ini and in php code but got only 4096 bytes
09:17
Updated my answer...
Hi I Got Success with my way actual that is a driver problem
So it was the Microsoft drivers?
yes It it sqlsrv drive
thanks for halp friend i will give upvote
10:19
Thank you!
I appreciate it. Were your drivers just outdated?
yes but mostly i am using mssql driver
Interesting
Well that is good to know
I am in the process of doing MSSQL to MySQL for a project so now I know what to do if this happens. Good thing you figured it out!
in using of sqlsrv driver no easy way to exec procedure so I go with mssql
but rar case we wont to use it
do you mind me asking why you want to store the image data in db?
it's old database design And many services are depend of that database so I cant to change it
just i am asking any easy way to call storedProcedure with using sqlsrv driver
?
10:30
oh i see
let me look, one sec
I am not sure off the top of my head but you may just want to call sqlsrv_query for the SP
yes i know that but after exec procedure to getdata it really difficulte
ok np thanks buddy for all
and just appreciate my answer to get upvot it
 
2 hours later…
12:18
I will upvote but I used my daily limit, so I will do it in a few hours when my limit is lifted
Actually I have to wait 11 hours. I'll do it tomorrow :)

last day (14 days later) »