![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hy, could someone help me in this: In design mode, i want to put pictures in database. I made column named pics, and its type as image. How can I put pictures or some address of these pictures in that column, or i maybe need to put pictures in Add_Data folder and make reference from there, or what I need to do? |
|
could someone explain me that process of putting at least one picture in database, I'm using Microsoft SQL Server 2005 thanks everyone |
#3
| |||
| |||
|
|
Hy, could someone help me in this: In design mode, i want to put pictures in database. I made column named pics, and its type as image. How can I put pictures or some address of these pictures in that column, or i maybe need to put pictures in Add_Data folder and make reference from there, or what I need to do? could someone explain me that process of putting at least one picture in database, I'm using Microsoft SQL Server 2005 |
#4
| |||
| |||
|
|
Zeljko Bilandzija (zac9393 (AT) email (DOT) t-com.hr) writes: Hy, could someone help me in this: In design mode, i want to put pictures in database. I made column named pics, and its type as image. How can I put pictures or some address of these pictures in that column, or i maybe need to put pictures in Add_Data folder and make reference from there, or what I need to do? could someone explain me that process of putting at least one picture in database, I'm using Microsoft SQL Server 2005 The normal way of adding pictures, or any other data for that matter, is through an application. But you could use the BULK provider with OPENROWSET. Look at OPENROWSET in Books Online, and particularly at example D. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Books Online for SQL Server 2005 at http://www.microsoft.com/technet/pro...ads/books.mspx Books Online for SQL Server 2000 at http://www.microsoft.com/sql/prodinf...ons/books.mspx |
#5
| |||
| |||
|
|
Thanks to both of you on help but i give you example what i'm interesing i want to put some pictures on server or local disk, and i want make, for example, column named "Pictures", and store in that column url or path on local disk, to get that pictures when i refer to particular id in query on web page. If I can do that in this way, which type of data to choose for that column (how make that links or paths) |
![]() |
| Thread Tools | |
| Display Modes | |
| |