Solved

insertion of blob

Posted on 2013-06-19
2
312 Views
Last Modified: 2013-06-21
hi guys.

do you know how to get/read blob values from one database and insert it in another database!

I have an application which had a feature not working saying that the blobs are missing.

On inspecting the relevant database table, the blob value are null which should be present in normal circumstances.

how can i read blobs from another normal database and insert it here.

I checked the normal working database and it does not show any binary value but just shows a text "BLOB".

regards
0
Comment
Question by:AmmarDJ
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
John Claes earned 500 total points
ID: 39259642
Blob values are saved outside the record. this enables the size of the Blob-fields.

are both databases connected?
if so you can use a update select query

if not
can they be connected?
if so please do so and see above

if not.
the I'm afraid you'll have to make a full backup and restore the backuped database upon the target Machine using an other name and then use a update insert query
0
 

Author Comment

by:AmmarDJ
ID: 39260495
both databases are not connected.

The database with missing blobs is a watcom backup.

what kind of insert statement i would use in the backup with missing blobs because the blobs are binary values.

Should i use the select statement on the normal working database and then insert the blob values retrieved from the select statement on the backup with missing blobs.
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question