Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Search Engine Optimization (http://siteownersforums.com/forumdisplay.php?f=16)
-   -   Re: What is spool command? (http://siteownersforums.com/showthread.php?t=57034)

samhanrey1 05-12-2012 03:53 AM

Re: What is spool command?
 
Hi,
Spool is an Oracle based command. It is useful to save all your statements in any text file. You can create this file on your drive. This is the procedure to use it:
- First of all define the �txt� file location on the drive:
SQL> spool C:\temp.txt (temp file will be created in C drive)
- Run some statement:
SQL> select * from tablename1 (Output will be generated)
SQL> select * from tablename2 (Output will be generated)
- If you want to stop the spool then run another command:
SQL> spool off
This text file will contain all records after your file is created with errors/messages/outputs/results etc.

isoconsultantgm 05-28-2012 10:28 PM

nice post thanks for sharing this command.

jeny 05-29-2012 12:22 AM

Thanks for this explanation.

blueapple 05-29-2012 01:52 AM

thanks for important information.

Giraz john 05-29-2012 04:31 AM

The SPOOL command is used to echo Server Manager's output to a text file. Spooling output to a file is a good thing to do whenever you run a script, or any other command that produces a lot of output. It enables you to review the output later, without having to worry about it scrolling off the top of the screen.

Robbin07 05-30-2012 01:22 AM

Really interesting information and this is useful for us, now we use this.

spaculus 05-30-2012 06:10 AM

Nice information but i thing it is in wrong category..


All times are GMT -7. The time now is 03:17 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.