|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Proplems with MySql BLOB in Cold Fusion
Hi
I am working on my first project with MySql. When I query the database in Cold Fusion all the results from the BLOB fields are returned as numbers even though if I look at the data in the database it is still text. The same query made on an Access memo field works perfectly. Does anyone have an idea sa to what I'm doing wrong? Thanks |
|
#2
|
|||
|
|||
|
In the CF Administrator, do you have the check box checked for "Enable binary large object retrieval (BLOB)."?
Is so, then you may well be getting the binary data correctly. Remember that BLOB stands for BINARY Largo Object. That means the data is stored in binary format. This is not like a Memo field in Acess which is simply a large character field. You might need to play with various CF functions like toString() to format the data properly. Try: <CFSCRIPT> writeOutput(toString(GetBLOB.blobFieldName)); </cfscript> Last edited by kiteless : May 11th, 2004 at 09:23 AM. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Proplems with MySql BLOB in Cold Fusion |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|