Solved

Creating image table in MS SQL server 2005

Posted on 2009-05-07
2
160 Views
Last Modified: 2012-05-06

What I have:
A network directory with image files (smal jpgs) stored in multiple sub-directories under the root.
What I need:
Code to create a table to store the image files in the table.
Table should have 4 columns:
ID ( a unique identifier)
Image File
Image File Name
UPC (This is just the image file name minus the .jpg extension)

Code to insert all the images into the table, insert the filenames, strip .jpg from filename for insert into UPC column.

Thanks in advance.
0
Comment
Question by:swissfarms
2 Comments
 
LVL 31

Accepted Solution

by:
RiteshShah earned 500 total points
ID: 24332843
0
 

Author Closing Comment

by:swissfarms
ID: 31579025
Thanks RiteshShah!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

914 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now