GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Oracle
Go To First  |  Previous Question  |  Next Question 
 Oracle  |  Question 184 of 244    Print  
Send SQL* Plus session output to text file
How do you send the output of your SQL* Plus session to a text operating system file


  
Total Answers and Comments: 1 Last Update: July 04, 2008     Asked by: shrinidhiks 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: lanka_satya
 
well you want to see the output ina  text file............

this can be done by spooling the data;

for example..you want to see the output of the details of all employees:

do the following steps:

spool c:satya.txt
/
select * from emp
/
spool off;

now you can go to c drive there you can the following file and can get the result there

Above answer was rated as good by the following members:
wester
July 04, 2008 16:05:53   #1  
lanka_satya Member Since: January 2008   Contribution: 16    

RE: Send SQL* Plus session output to text file
well you want to see the output ina text file............

this can be done by spooling the data;

for example..you want to see the output of the details of all employees:

do the following steps:

spool c:satya.txt
/
select * from emp
/
spool off;

now you can go to c drive there you can the following file and can get the result there

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

Can a Revoke or alter user statement be executed on a Session to modify a user's role (set as default) or revoke a role based on whether the uesr logged into a defined list of valid applications versus SQL Plus? I want to set one role if the user connects via an appropriate app and set a readonly type role if the user connects with something else. This is needed to resolve an audit issue.
View Question | Asked by : T Landon

How to store a bitmap or jpeg file on oracle database?which datatype is used and what is the retrival method ?

Hi,I have scenario where I need to upload data from XML file into a table. XML file is a predifined format. How can I achieve this, Is there any built in package similar to SQL loader to extract required field values and upload them into table.Pls suggestThanks
Read Answers (2) | Asked by : vishnu

Latest Answer : Hi Friend,Here is simple defination initSID.ora will tell you SID is the database name where you are going to creating a new database.when you create database it'll take you as pfile and spfile is the system parameter file which you can convert if you ...
Read Answers (3) | Asked by : sirajdba

Hi All:I have problem with oracle when i migrate any application (develop in developer 6i)from Developer 6i(on ms window) to Oracle Developer Suite 10g(on ms window)then my form is open in Internet Explorer without any problem all fonts and screen size is ok, when i check this form on Linux and browser is netscape then my form is too small.I am also compile this form on Linux based Application Server 10g then check this form on Linux browser again form and font is too small. Please tell me what

Hi,anyone please send me the details about the interfaces using in between Oracle Project accounting and various Finance modules like AP,AR,FA,GL,CM,PO.Thanks in advance.Omprakash.
View Question | Asked by : Omprakash

Hai i have installed oracle 10g on my system.and it shows that Pro C has also been installed but i am not getting any access to PRO C i.e i am not getting PRO *C UI(user interface) .how to access or start PRO C UI. please help me out.also i installed Oracle HTTP server and oracle companion products on my system but but i am unable access HTML DB. on what port numnber it will be accessible .also need help how to access text file in oracle,pl/sqlplease helpits urgent.prabhash
Read Answers (1) | Asked by : prabhash

Hi, Here we are using Reports 6i, how to get report output format in ppt or doc,is there direct print option instead of generating it into pdf or rtf.pls let me know and give me the proper example
View Question | Asked by : jayaram

Table contain 2 columns like name and genderfor that i need output like this..countof female countofmale totalcountforeg 5 3 8
Read Answers (3) | Asked by : viswam

We are facing one problem one of session is aborting after updating 2~3 lakhs records which is taking around 1hr and still there are 2lakhs to update. we are running again this starts updating from scratch of the reocrd.If i use enable recovery option will the record updates from the 200001 or from 1st reocrd and will i save the time by using this option?
Read Answers (1) | Asked by : Rajkumar bachu


 Sponsored Links

 
Related Articles

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
 

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
 

Getting Started with Oracle and ODP.NET

ODP NET Developer’ s Guide by Jagadish Chatarji Pulakhandam Sunitha Paruchuri A practical guide for developers working with the Oracle Data Provider for NET and the Oracle Developer Tools for Visual Studio 2005 Application development with ODP NET Dealing with XML DB using ODP NET Oracle
 

PHP Oracle Web Development Review

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 The author is also an expert in open source technologies and SOA Service Oriented Architecture But besides
 

Step by Step Oracle PL-SQL Tutorial

This introductory tutorial to PL SQL will help you to understand the basic concepts of PL SQL Please review the following tutorials and practice the sample SQL Statements on your local Oracle Database Please note that you must learn these basic things before we actually start getting in to Advanced
 

Working with XML in Oracle

Working with XML in Oracle Introduction to XML Extensive markup language is the language which presents data in a human readable form of text The data can be anything from a purchase order or a stock quote or weather radar or a flight schedule it can be represented using XML XML is very similar to H
 

C++ Standard Input Output Stream

C Standard Input Output Stream In this C tutorial you will learn about standard input stream and standard output stream explained along with syntax and examples C programming language uses the concept of streams to perform input and output operations using the keyboard and to display information on
 

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