Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: RE: [asp_databases] Inserting Image to MS-SQL


Message #1 by "Craig Flannigan" <ckf@k...> on Thu, 22 Mar 2001 16:04:40 -0000
That's a better plan. SQL Sever's performance drops when you insert the 

images in binary.



Just store the link to the file in SQL.





-----Original Message-----

From: Marios Adamantopoulos +AFs-mailto:mario+AEA-TonicDesign.co.uk+AF0-

Sent: 22 March 2001 03:49 PM

To: ASP Databases

Subject: +AFs-asp+AF8-databases+AF0- RE: +AFs-asp+AF8-databases+AF0- 

Inserting Image to MS-SQL





I'm using images myself and instead of inserting the image in the 

database,

I insert the file name, and I upload the image on a specific directory.

if you want to display the image try this

+ADw-img src+AD0-'mydir/+ADwAJQA9-oRS(+ACI-imagename+ACI-)+ACUAPg-'+AD4- 



+AF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBf-

Marios Adamantopoulos

Web Developer

Tonic Design Limited

Studio 2, Church Studios

Camden Park Road

London NW1 9AY

Tel +-44 (0)20 7691 2227

Fax +-44 (0)20 7691 2228

Mob +-44(0)7904 221 663

www.tonicdesign.co.uk

.........................................................................

.......................................

Opinions, conclusions and other information in this message

that do not relate to the official business of Tonic Design Ltd

shall be understood as neither given nor endorsed by them.

.........................................................................

.......................................





-----Original Message-----

From: Ken M. Mevand +AFs-mailto:geekabyte+AEA-yahoo.com+AF0-

Sent: 22 March 2001 23:54

To: ASP Databases

Subject: +AFs-asp+AF8-databases+AF0- Inserting Image to MS-SQL





+AFs-this is a re-post, there wasn't any replies and i don't know where 

else to

ask. hopefully someone could answer me this time.+AF0-

hi guys,

i want to insert an uploaded image to MS-SQL. how do i write the SQL in 

ASP

?   my image is in a dictionary object, read from a form field.





thanks

-ken











+AF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBf

AF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfA

F8AXwBf-

Do You Yahoo+ACE-?

Get your free +AEA-yahoo.com address at http://mail.yahoo.com









---

SoftArtisans helps developers build robust, scalable Web 

applications+ACE-

Excel Web reports, charts: http://www.softartisans.com/excelwriter.html

File uploads: http://www.softartisans.com/saf.html

Transactional file management: http://www.softartisans.com/saf1.html

Scalability: http://www.softartisans.com/saxsession.html

ASPstudio value pack: http://www.softartisans.com/aspstudiosuite.html



mario+AEA-tonicdesign.co.uk


leave-asp+AF8-databases-477561D+AEA-p2p.wrox.com

--- SoftArtisans helps developers build robust, scalable Web 

applications+ACE- Excel Web reports, charts: 

http://www.softartisans.com/excelwriter.html File uploads: 

http://www.softartisans.com/saf.html Transactional file management: 

http://www.softartisans.com/saf1.html Scalability: 

http://www.softartisans.com/saxsession.html ASPstudio value pack: 

http://www.softartisans.com/aspstudiosuite.html --- You are currently 

subscribed to asp+AF8-databases as: ckf+AEA-kingfieldheath.com To 

unsubscribe send a blank email to 

leave-asp+AF8-databases-502486L+AEA-p2p.wrox.com

+AF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBf

AF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfA

F8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBf-

This message has been checked for all known viruses, by Star Internet,

delivered through the MessageLabs Virus Control Centre.

For further information visit:

http://www.star.net.uk/stats.asp



Message #2 by "Daniel O'Dorisio" <dodorisio@h...> on Thu, 22 Mar 2001 11:05:22 -0500
This is a multi-part message in MIME format.



------=_NextPart_000_000C_01C0B2BF.FD828160

Content-Type: text/plain;

	charset="utf-7"

Content-Transfer-Encoding: quoted-printable



RE: +AFs-asp+AF8-databases+AF0- Inserting Image to MS-SQLi store the 

full url in the databse.. images/dir/dir/imagename.jpg that way i dont 

have to hard code anything, and the owner of the site can change it.



just my 2cents, both ways work



Daniel :-)

  -----Original Message-----

  From: Marios Adamantopoulos 

+AFs-mailto:mario+AEA-TonicDesign.co.uk+AF0-

  Sent: Thursday, March 22, 2001 10:49 AM

  To: ASP Databases

  Subject: +AFs-asp+AF8-databases+AF0- RE: +AFs-asp+AF8-databases+AF0- 

Inserting Image to MS-SQL





  I'm using images myself and instead of inserting the image in the 

database,

  I insert the file name, and I upload the image on a specific 

directory.



  if you want to display the image try this

  +ADw-img 

src+AD0-'mydir/+ADwAJQA9-oRS(+ACI-imagename+ACI-)+ACUAPg-'+AD4-



  +AF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBf-

  Marios Adamantopoulos

  Web Developer



  Tonic Design Limited

  Studio 2, Church Studios

  Camden Park Road

  London NW1 9AY



  Tel +-44 (0)20 7691 2227

  Fax +-44 (0)20 7691 2228

  Mob +-44(0)7904 221 663



  www.tonicdesign.co.uk

  

.........................................................................

.......................................

  Opinions, conclusions and other information in this message

  that do not relate to the official business of Tonic Design Ltd

  shall be understood as neither given nor endorsed by them.

  

.........................................................................

.......................................







  -----Original Message-----

  From: Ken M. Mevand +AFs-mailto:geekabyte+AEA-yahoo.com+AF0-

  Sent: 22 March 2001 23:54

  To: ASP Databases

  Subject: +AFs-asp+AF8-databases+AF0- Inserting Image to MS-SQL







  +AFs-this is a re-post, there wasn't any replies and i don't know 

where else to

  ask. hopefully someone could answer me this time.+AF0-



  hi guys,



  i want to insert an uploaded image to MS-SQL. how do i write the SQL 

in ASP

  ?   my image is in a dictionary object, read from a form field.







  thanks

  -ken













  

+AF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBf

AF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfA

F8AXwBf-



  Do You Yahoo+ACE-?



  Get your free +AEA-yahoo.com address at http://mail.yahoo.com











  ---

  SoftArtisans helps developers build robust, scalable Web 

applications+ACE-

  Excel Web reports, charts: 

http://www.softartisans.com/excelwriter.html

  File uploads: http://www.softartisans.com/saf.html

  Transactional file management: http://www.softartisans.com/saf1.html

  Scalability: http://www.softartisans.com/saxsession.html

  ASPstudio value pack: http://www.softartisans.com/aspstudiosuite.html



mario+AEA-tonicdesign.co.uk


leave-asp+AF8-databases-477561D+AEA-p2p.wrox.com



  --- SoftArtisans helps developers build robust, scalable Web 

applications+ACE- Excel Web reports, charts: 

http://www.softartisans.com/excelwriter.html File uploads: 

http://www.softartisans.com/saf.html Transactional file management: 

http://www.softartisans.com/saf1.html Scalability: 

http://www.softartisans.com/saxsession.html ASPstudio value pack: 

http://www.softartisans.com/aspstudiosuite.html --- You are currently 

subscribed to asp+AF8-databases as: dodorisio+AEA-home.com To 

unsubscribe send a blank email to 

leave-asp+AF8-databases-482936V+AEA-p2p.wrox.com







  Return to Index