Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

insert picture to table

This is a discussion on insert picture to table within the Oracle forums, part of the Databases category; i want to store photos of student along with their resume in a database, can it be possible to store it directly (without using front end) to oracle table?...

Go Back   Geeks Talk > Databases > Oracle
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Oracle Oracle 9i & Oracle 10g Knowledge Base Learn and Share Oracle Technology related articles, white papers, tutorials / study materials, example codes, FAQ's, Tips and Tricks.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-17-2007
Junior Member
 
Join Date: Mar 2007
Location: Banglore
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
rashinkar is on a distinguished road
insert picture to table

i want to store photos of student along with their resume in a database,
can it be possible to store it directly (without using front end) to oracle table?
Reply With Quote
The Following User Says Thank You to rashinkar For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 03-17-2007
Expert Member
 
Join Date: Oct 2005
Location: india,cochi,bangalore
Posts: 395
Thanks: 2
Thanked 9 Times in 8 Posts
vmshenoy is on a distinguished road
Re: insert picture to table

i think yes!
BLOB is the data type provided to store images etc!
__________________
:)
NEVER SAY DIE.
Reply With Quote
  #3 (permalink)  
Old 11-28-2007
Contributing Member
 
Join Date: Oct 2007
Location: trichy
Posts: 92
Thanks: 2
Thanked 13 Times in 9 Posts
sarathi trichy is on a distinguished road
Smile Re: insert picture to table

just give the blob (size);
blob is the deata type
Reply With Quote
  #4 (permalink)  
Old 11-29-2007
Expert Member
 
Join Date: Apr 2007
Location: Bangalore
Posts: 518
Thanks: 30
Thanked 63 Times in 61 Posts
susarlasireesha will become famous soon enough
Re: insert picture to table

To get Details of Blob follow this link
Reply With Quote
  #5 (permalink)  
Old 12-08-2007
Junior Member
 
Join Date: Dec 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
praveen.m is on a distinguished road
Re: insert picture to table

hi
u cannot store image directly,but u can store the address of the image in the table using datatype as a blob.ok bye
Reply With Quote
  #6 (permalink)  
Old 12-10-2007
Moderator
 
Join Date: Jun 2007
Location: Bangalore,India
Posts: 1,857
Thanks: 9
Thanked 168 Times in 142 Posts
debasisdas has a spectacular aura aboutdebasisdas has a spectacular aura about
Re: insert picture to table

You can use either BLOB or LONG RAW for the purpose.
Reply With Quote
  #7 (permalink)  
Old 05-28-2008
Junior Member
 
Join Date: May 2008
Location: hyderabad
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
SURYA007 is on a distinguished road
Re: insert picture to table

write a query to store picture in the database
Reply With Quote
  #8 (permalink)  
Old 05-28-2008
Moderator
 
Join Date: Jun 2007
Location: Bangalore,India
Posts: 1,857
Thanks: 9
Thanked 168 Times in 142 Posts
debasisdas has a spectacular aura aboutdebasisdas has a spectacular aura about
Re: insert picture to table

you need to convert the picture to a stream of bytes and store to BLOB field
Reply With Quote
  #9 (permalink)  
Old 04-09-2009
Junior Member
 
Join Date: Mar 2009
Location: Chennai
Posts: 28
Thanks: 0
Thanked 2 Times in 2 Posts
phanikanthmn is on a distinguished road
Re: insert picture to table

you need to create a column data type as BLOB and when ever you store image in to BLOB type column it will store in the form of Binary.
Reply With Quote
  #10 (permalink)  
Old 04-25-2009
Junior Member
 
Join Date: Apr 2009
Location: chennai
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
nagasen is on a distinguished road
Re: insert picture to table

use blob datatype in oracle
Reply With Quote
Reply

  Geeks Talk > Databases > Oracle

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Add a new column to a table and insert values Ajit Kumar Maharatha Oracle 11 12-12-2008 10:58 AM
How to store a picture in sql server 2000? nmurugantech SQL Server 1 02-19-2007 10:26 AM
Insert Multiple Records at once Radhi09 SQL 6 02-19-2007 06:11 AM
COBOL - insert a '0' at the second last place in the account field Anamika.23 MainFrame 0 02-11-2007 05:58 AM
Uploading picture bharathi_ark Testing Issues 2 12-14-2006 06:00 AM


All times are GMT -4. The time now is 08:18 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved