SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 30th, 2001, 11:52 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
How to insert images into SQL7 db?

Originally posted by : juna (janice@ippadvisors.com)how to do that? I'm trying to write ASP codes that would display an image out from db. but I can't seem to get the pic out instead the directory of the image is out.

Reply With Quote
  #2  
Old August 26th, 2001, 12:29 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Originally posted by : rockywell u never store the picture into the database...becuase the size of db is gonna be so large!!so just store the name of image and create separate folder where u store the images..and just give a path only!!cheers!rocky~~

Reply With Quote
  #3  
Old August 28th, 2001, 04:55 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Originally posted by : HeatherP (vge009@aol.com)------------Rocky is right! In your database you must have a column with the Images in it, Only the name of the image, and keep them in the same place as the database...However you choose, You might have to clean this up a bit, but this is a way to list any image that is stored ina database.When using the SQL statement, connect to the database, Dim strSQLstrSQL = "SELECT Image FROM tblYourImages ORDER BY Price DESC"'Create a recordset object instance, and execute the SQL StatementDim objRSSet objRS = Server.CreateObject("ADODB.Recordset")objRS.Open strSQL, objConnDo 'We are displaying the images ordered by price%>A Listing of Images: Image

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > How to insert images into SQL7 db?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT