Questions tagged [blob]

A BLOB is a collection of binary data stored as a single entity in a database management system.

A BLOB (binary large object, basic large object, BLOB, or BLOb) is a collection of binary data stored as a single entity in a database management system. Blobs are typically images, audio or other multimedia objects, though sometimes binary executable code is stored as a blob.

Beyond that, the term BLOB has various slightly related usages, see wikipedia for further examples.

6734 questions
2
votes
1 answer

Convert BLOB into TEXT with foreign characters

I have a blob which holds HTML in it. Some of this HTML has foreign characters (ie: æ, ø, etc). I want to convert the BLOB into TEXT. I am using latin1 for my tables and changing this is not an option. From what I can tell, if if I store the foreign…
David
  • 14,182
  • 34
  • 96
  • 150
2
votes
0 answers

Getting image out of sql blob using php

Guys i have this code that get the uploaded image data @$name = mysqli_real_escape_string($connect, htmlentities($_FILES['pet_image_button']['name'])); @$temp = mysqli_real_escape_string($connect,…
Ahmed Essam
  • 162
  • 1
  • 7
2
votes
2 answers

Phonegap/Cordova 3.6 - Download of file through blob:file

We have an app using Phonegap 3.6.3 and built with Phonegap build. As part of this app, we need to download a file onto the device of the user. The file might be a .pdf, an image or any binary file. We hope to download the file with a blob:file…
dparnas
  • 4,020
  • 4
  • 31
  • 50
2
votes
1 answer

Azure Machine Learning web service cannot read CSV from blob

I have successfully deployed a ML web service using the Reader module to take in CSV data from my blob storage. I can see the CSV data is correct by visualizing it in the experiment. However, when I try to provide the SAME CSV data as input to the…
Serge
  • 574
  • 3
  • 9
2
votes
1 answer

how to save a video file on local hard disk from the blob using File Saver in java script?

I have written code to download the video from GoogleCloud storage var btn = document.getElementById("btn"); btn.onclick = function(){ var url = "https://www.googleapis.com/download/storage/v1/b/test/xyzzzzz.mp4"; var filename =…
Amanda
  • 97
  • 3
  • 11
2
votes
1 answer

Blob string url to PDF

I am creating a blob url string which contains multiple SVGs blob:file%3A///45525ac9-caa6-4a48-aa8f-aab1ff6c9e7e I am able to print this also using iframe. function closePrint () { document.body.removeChild(this.__container__); } function…
2
votes
0 answers

OpenJPA: Exception when persisting a SerialBlob

My database table has a column which will contain serialized object data. The corresponding JPA entity has a field of type javax.sql.rowset.serial.SerialBlob (which implements java.sql.Blob). I had to choose between byte[] and SerialBlob. After…
fishbone
  • 2,706
  • 2
  • 30
  • 43
2
votes
2 answers

Extract BLOB File as multiple files in DB2

I want to extract original files stored as BLOB in DB2 database. I used this DB2 command: EXPORT TO MyFile.DEL OF DEL LOBS TO . LOBFILE lob SELECT BLOB_COL FROM MY_TABLE where REPORT_ID in (select report_id from My_TABLE2 where CONDITION) I get a…
deltascience
  • 2,934
  • 5
  • 35
  • 65
2
votes
1 answer

Set up git so the repository only contains the latest of certain blob files

Is there away to make git only retain the most recent version of certain blob files without keeping any history on the blob? I have a huge data set that my project relies on, but no one cases about the history of it only that it is part of the…
Intentss
  • 8,687
  • 4
  • 48
  • 59
2
votes
0 answers

How do I Convert URL to Blob with javascript or jquery

I have a URL (or string), e.g - "http://example.com/filesample.png", how do i convert this to a blob object.
Tosin
  • 51
  • 2
  • 6
2
votes
1 answer

Streaming Data from Azure Blobs Back to Client

Using ASP.Net Web API, I am developing a service which (amongst other things) retrieves data from Azure, and returns it to the client. One way of doing this would be to read the netire blob into a buffer, and then write that buffer to the response.…
Saqib
  • 6,850
  • 7
  • 31
  • 51
2
votes
1 answer

lo_export does not exist in PostgreSQL 9.3

I am logged in as the postgres user and am trying to export a blob from a Postgresql 9.3 database as using this query: select lo_export(imgs.rast, '/tmp/img.tif') from imgs where rid = 1; but I get this error: ERROR: function lo_export(bytea,…
dadbot
  • 21
  • 1
2
votes
3 answers

Storing byte array in MySQL Blob with VBA

Anybody have some VBA code that will store a byte array into a MySQL blob column?
Travis Heseman
  • 10,909
  • 8
  • 34
  • 46
2
votes
0 answers

same blob in sqlite return?

I set one image for every id in my database but only got the first row blob ! this is my database.java : public byte[] getpic(int id) { Cursor cu = mydb.rawQuery("select * from content where ID=" + id, null); cu.moveToFirst(); …
Ali
  • 127
  • 9
2
votes
1 answer

BizTalk: Analyze binary blob hiding in XmlDocument?

I'm using BizTalk 2013 R1 to download a binary blob from a website via http. When I receive the blob, I'm just storing the message in an XmlDocument. However, sometimes that site returns the files I want, and sometimes it returns errors in the form…
bwerks
  • 8,031
  • 13
  • 61
  • 96
1 2 3
99
100