SQL Server:  Simple way to add image to image field

Posted on 2009-07-07
Medium Priority
Last Modified: 2012-05-07
Hi all,

I am new to SQL Server and I would like to know the simple way to add an image to an image field.  I have about 50 small images to put.  

For the moment, the simplest thing that would do the trick would be fine:  I just want to test.  I currently work with SQL Management Studio since last hour, to populate text fields.  It'be awesome if there was a solution directly from there.

Question by:ThanksWelcome
  • 3
LVL 57

Accepted Solution

Raja Jegan R earned 2000 total points
ID: 24799787
LVL 57

Assisted Solution

by:Raja Jegan R
Raja Jegan R earned 2000 total points
ID: 24799792
>> to populate text fields

One more suggestion. Text datatype is deprecated after SQL Server 2005 and is not available in SQL Server 2008.

Hence it is advised to use Varchar(max) instead of text.

Hope this helps

Author Closing Comment

ID: 31600897
Thank's!  For the moment, for my web sites, I will stick to storing the link.  I was hoping there was somewhere sort of a "right-click to upload image or something".  :)
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24805363
And if I am aware of any tools to do it in a easier manner like Right click and Upload will update you with that..

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

How do you create a user-centered user experience on your website? And what are some things you should consider in the process?
The Super Bowl is just days away. Millions of advertising dollars will be spent in just a few hours to drive people to websites around the globe. Optimizing your site in anticipation of a big event like this (and the traffic surges that follow) will…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

622 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