Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

insertion of blob

Posted on 2013-06-19
2
Medium Priority
?
324 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
2 Comments
 
LVL 10

Accepted Solution

by:
John Claes earned 2000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
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.

885 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