Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Importing images

Author  Topic 

Khanjan
Starting Member

1 Post

Posted - 2008-10-25 : 18:12:26
Hey friends,

I want to create a database for images with data worth 21GB of images and I anticipate more to come. I am using HeidiSQL as a frontend to create the database. Some how, it is not allowing me to insert images higher than 1GB in the database. Is it not possible or a limitation of the software?

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2008-10-25 : 19:54:28
Keep your images in a folder and save the path in the DB, the insert you images in your presentation layer. Read up on BLOB many such examples in this forum
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-10-26 : 01:15:34
you have a BLOB datatype called varbinary(max) in sqlserver to store images.
Go to Top of Page

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2008-10-26 : 04:25:32
quote:
Originally posted by visakh16

you have a BLOB datatype called varbinary(max) in sqlserver to store images.



Its not a good idea to store images in your DB. See

http://www.dbazine.com/sql/sql-articles/larsen13

And plenty other examples in this forum and google.

Good luck
Go to Top of Page
   

- Advertisement -