GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle
Go To First  |  Previous Question  |  Next Question 
 Oracle  |  Question 21 of 81    Print  
if we create a table having a column of BLOB data type then how we have to insert and retrieve the data?

  
Total Answers and Comments: 1 Last Update: July 08, 2006     Asked by: vishal 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 08, 2006 08:02:18   #1  
Mahim Mishra        

RE: if we create a table having a column of BLOB data ...
We can Read and Write BLOB Data to a Database Table Through an Anonymous PL/SQL Block .The primary advantage of using anonymous PL/SQL blocks is improved performance -they can be used to batch a series of SQL calls together in a single round-trip. This feature allows multiple commands separated by semi-colons to be executed one after another. Further the batch SQL can include a number of SELECT or non-SELECT statements; if the batch contains multiple SELECT statements multiple number of result sets will be returned.Anonymous Pl/SQL blocks can be used for the retrieval of LOBs. They can also be used to fill a Dataset with multiple tables by setting multiple commands in the OracleCommand (one for each table in the Dataset). In such a scenario you can return multiple REF cursors from a PL/SQL Anonymous Block for example like this: BEGIN OPEN :1 FOR SELECT * FROM A; OPEN :2 FOR SELECT * FROM B; OPEN :3 FOR SELECT * FROM C; END;
 
Is this answer useful? Yes | No

 Related Questions

When i type 'ed' or 'edit' in oracle i did n't presented by any editor,what is the problem?
Read Answers (6) | Asked by : haisubbu

Latest Answer : when u create pfile from spfile then u can give ur perticular location according to u like create pfile = 'ur specified location' from spfile ; ...
Read Answers (2) | Asked by : Beginner

In oracle we are using dual table name for the temporary purpose. which table we are using in SQL server

Latest Answer : hello  dual is a table which is created by oracle along with the data dictionary. It consists of exactly one column whose name is dummy and one record. The value of that record is X. sql> desc dualName                    Null? ...
Read Answers (3) | Asked by : Sundra

If we create a table having a column of BLOB data type then how we have to insert and retrieve the data?
Read Answers (1) | Asked by : vishal

Latest Answer : Index will only help you in searching the data but unique index will provide uniqueness to the indexed column. But in both the cases NULL values are allowed to insert. ...

Latest Answer : select  from  where mod(,2)0 ...
Read Answers (3) | Asked by : Sudhir

1. Queris for Nth maximum Nth row?2. In One table there are 5 fields. empno, ename, deptcd, managr_id, salary.Select the departments whoose sum of the salary greater than the sum of salaries of any department?3. When index will be usd in the Query?
Read Answers (7) | Asked by : DEBPROSAD BANERJEE

Latest Answer : char(size) max size upto 2000 min  1varchar2(size) max upto 4000 min 1 ...
Read Answers (1) | Asked by : Mounica

A view is created on a table then i dropped the base table and created the base table once again with the same name then that view will works or not?
Read Answers (11) | Asked by : suresh


 Sponsored Links

 
Related Articles

Breaking up XML into Relational Data

Breaking up XML into Relational Data While the preceding example shows how to construct an XML representation over relational data the example in this section illustrates how you can shred XML data back into relational data This reverse operation can be useful if your application works with relation
 

Querying Data with Oracle XQuery

Querying Data with Oracle XQuery Starting with Oracle Database 10g Release 2 you can take advantage of a full featured native XQuery engine integrated with the database With Oracle XQuery you can accomplish various tasks involved in developing PHP Oracle XML applications operating on any kind of dat
 

Using Oracle XML DB Repository

Using Oracle XML DB Repository Another variation on accessing and manipulating XML content stored in Oracle database is provided by Oracle XML DB repository which is an essential component of Oracle XML DB mosgoogle NOTE Oracle XML DB repository also known as XML repository is a hierarchically organ
 

Retrieving XML Data

Retrieving XML DataTo retrieve XML data from an XMLType table you can use a SELECT SQL statement just as you would if you had to query a relational table For example to select the employee with the id set to 100 from the employees XMLType table discussed in the preceding section you might issue the
 

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

XML Processing in PHP and Oracle Applications

Processing XML in PHP Oracle Applications As mentioned there are two alternatives when it comes to performing XML processing in your PHP Oracle application You can perform any required XML processing using either PHP s XML extensions or PEAR XML packages or Oracle s XML features mosgoogle In the fol
 

PHP Oracle Web Development

PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax The book is written by Yuli Vaseliev a well known author of different web development and programming books PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax is a good starting b
 

ODP.NET - Techniques to Improve Performance while Retrieving Data

ODP NET Techniques to Improve Performance while Retrieving Data Performance tuning is a great subject in Oracle Volumes of books would not be enough to cover every aspect of performance tuning in Oracle However in this section we will only discuss the fundamental performance techniques while working
 

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape