SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Varbinary(max)


Varbinary(max)

Author
Message
Mr. Kapsicum
Mr. Kapsicum
SSCrazy
SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)

Group: General Forum Members
Points: 2029 Visits: 1037
Hi Guys,


I have a Table "Candidate" which has column "Resume" which is in VARBINARY(MAX).
Now we need to migrate these Columns (i.e. Resume) in DOCX files.

How to do this.?
is BCP going to be useful or something else.?
Koen Verbeeck
Koen Verbeeck
SSC Guru
SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)

Group: General Forum Members
Points: 64336 Visits: 13298
Take a look at the Export Column transformation in SSIS.


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
Mr. Kapsicum
Mr. Kapsicum
SSCrazy
SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)

Group: General Forum Members
Points: 2029 Visits: 1037
Hi Koen,

Thanks for the Reply.
But Can you please help me with some other Solution, I cannot use SSIS in this Case.

Can BCP help in this case.


Regards,
Koen Verbeeck
Koen Verbeeck
SSC Guru
SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)

Group: General Forum Members
Points: 64336 Visits: 13298
Mr. Kapsicum (6/25/2014)
Hi Koen,

Thanks for the Reply.
But Can you please help me with some other Solution, I cannot use SSIS in this Case.

Can BCP help in this case.


Regards,


Well, your question said "... or something else" ;-)

Assuming BCP can export to a docx file (maybe if you extract just that one column from the table and dump it directly into the file), it still exports one row at a time (because you can only extract and write to one file at a time).


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
David Burrows
David Burrows
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16926 Visits: 10130
https://www.simple-talk.com/blogs/2007/07/13/using-bcp-to-export-the-contents-of-max-datatypes-to-a-file/


Far away is close at hand in the images of elsewhere.

Anon.


Mr. Kapsicum
Mr. Kapsicum
SSCrazy
SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)

Group: General Forum Members
Points: 2029 Visits: 1037
Hi Koen,

Can u please suggest any Important Points that needs to taken care of while Working on Varbinary for docx file making.?
or Can Case Study available for this.?

Thanks,
Regards
Koen Verbeeck
Koen Verbeeck
SSC Guru
SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)SSC Guru (64K reputation)

Group: General Forum Members
Points: 64336 Visits: 13298
Mr. Kapsicum (6/25/2014)
Hi Koen,

Can u please suggest any Important Points that needs to taken care of while Working on Varbinary for docx file making.?
or Can Case Study available for this.?

Thanks,
Regards


No idea. I use the Export Columns transformation in SSIS ;-)


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search