Click here to Skip to main content
15,919,245 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Expert,


Need to copy or upload an excel file with images in cells into ms sql server 2008 or later

as follows

excel file ::TRIAL1

A B C
------------------------------------
001 AMY AMY_PICT
002 JON JON_PICT
003 ANN ANN_PICT



MS SQL SERVER 2008

DATABASE WITH TABLE : DETAILS
-------------------------------------

IDNO NAME IMAGE



How do you accomplish this .

Thanks

What I have tried:

Checked the Internet and reviewed a number of examples.
Posted
Updated 24-Jun-16 21:42pm
v2

1 solution

You cannot directly import images from an Excel file into SQL Server using the Import Wizard or SSIS Data Flow Task. Because images are stored as free objects, they are not located inside the individual spreadsheet cells.

You need to create a custom VBA code
image - Export pictures from excel file into jpg using VBA - Stack Overflow
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900