Solved

SQL Server:  Simple way to add image to image field

Posted on 2009-07-07
4
231 Views
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.

Thank's!
0
Comment
Question by:ThanksWelcome
  • 3
4 Comments
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
ID: 24799787
0
 
LVL 57

Assisted Solution

by:Raja Jegan R
Raja Jegan R earned 500 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
0
 

Author Closing Comment

by:ThanksWelcome
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".  :)
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24805363
Welcome..
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..
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

707 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

13 Experts available now in Live!

Get 1:1 Help Now