spool output file clarification of the rqd
After the release of queue, I get the result like this04-C342|118| USD| -55522.08
04-C342|140| USD| 247795906.12
How can I get the output as LEFT ALIGNER AS below04-C342|118| USD| -55522.08
04-C342|140| USD| 247795906.12
Helps
Published by: oraclehema on March 19, 2012 07:35
Published by: oraclehema on March 19, 2012 07:35
Hello
oraclehema wrote:
Yes your correct.that column is column number (17.2)
I will use lpad(col1,19)... ?
Why not TO_CHAR?
For example
TO_CHAR (col1, '999999999999999.99')
Your front end can probably format the resulrts, too, without changing the datattype.
In SQL * more:
COLUMN col1 FORMAT 999999999999999.99
Tags: Database
Similar Questions
-
CANNOT OPEN OUTPUT FILE, CANNOT DELETE THE OUTPUT FILE
Try to patch effect for Deskjet 722C for Windows 7. Not able to replace the existing .dll files. Error messages: could not open the output file, cannot delete the output file.
Thank you for your response. I found these solutions but still had problems.
However, I was able to bypass Windows with a DOS command that did the trick.
C:\Windows\System32>copy C:\temp\hpvdb720.dll C:\windows\system32\spool\drivers\x64\3
-
How spool out put of several scripts and get a single spool output file
Hello
I have a master script that calls three other scripts. The three scripts produce their own files of spooling. But I would like to have the master script also produce a single output (in addition to the release of three individual, I mean). How to do this? Can you please help.
When I run the above script m.sql it does not produce the other 3 log files (1.log, 2.log etc.), but m.log (which is master log file which should have output of each of the three call script) is an empty file with 0 bytes!Following are the scripts: --m.sql (master script) spool c:\m.log @1.sql @2.sql @3.sql spool off --1.sql spool c:\1.log insert into test values(1); commit; spool off --2.sql spool c:\2.log insert into test values(2); commit; spool off spool c:\3.log insert into test values(3); commit; spool off --table used SQL> desc test Name Null? Type ----------------------------------------- -------- ---------------------------- A NUMBER
Thank you
Published by: orausern on May 1st, 2011 03:17Try this:
sqlplus uid/pwd @m.sql >AllSpools.log
PS: Add a statement of 'exit' at the end of the main script.
: p
-
Hello
I work at the school and I use indesign dps for educational material. I generated folios of apple store and googleplay market.
I loaded it to apple, but I did not charge for android.
My problem is to create .p12 certificate and I used step by step this documant ().html http://helpx.adobe.com/digital-publishing-suite/kb/publishing-process-android-amazon-mobil)
I have create this certificate with Terminal Server.
I load this certificate to dps generator app and the on-screen display is here.
My version of folios and dps is the same. I can do really I don't know, can you help me please?
I build of Android Applications just fine on my end, it looks like a specific problem or a system account. Contact the Gold technical support.
-
"Extraction failure: cannot open output file" error message when installing new drivers
Hello, I am trying to install new drivers for my HP Photosmart C4385 printer. I downloaded the complete drivers of features for Windows XP 32-bit, and when I start to install (extract), I get the error message:
Extraction failed
Cannot open output file
And the process ends. He arrived at about 85% extraction every time.
No idea why? I called HP, but no longer under warranty they wanted money, which I think as absolutely ridiculous - not even give me basic support? Poor, poor customer service.
Hi GIJeff12,
Temporarily disable any AntiVirus/Antispyware software.
Cut the installer on your desktop then click on the Start Menu, click computer, double-click on the C: drive and paste the installler here. Now try a right click on the installer for your printer, choose 7-Zip and choose Extract the files, and then click Ok. If the installation program extracts now correctly, follow these steps. If it does not extract, let me know.
Disconnect your printer from the PC. Restart your PC.
Open the newly extracted folder and double-click the setup application to start the installation (the installation application will probably have the same icon as the original installation software that you downloaded). Connect the printer to your computer when you are asked.
If it was a success, re - enable your security software.
Best wishes
DP - K
-
I just tried to update Firefox to version 9.0.1. Extract of 13%, and then I got the error message cannot open output file.
The file can be uploaded incorrectly. Could you it redownload again from http://getfirefox.com?
-
Hello
I am trying to open a file .xls existing from the same location as the test sequence file. Can you TestStand search in the location of the sequence input file test file and then select the if present? Also, can we store the output file in the same place without specifying the path to the code?
Example:
Input.xls-> input file to the test sequence that must be read.
Output.xls-> output file created by the test sequence.
Test.SEQ-> the test sequence that reads Input.xls and creates Output.xls.
If Test.seq and Input.xls are present instead of D:\Test\, the Test.seq code can be modified to pick up the Input.xls automatically without specifying the path? In addition, can Output.xls be created to D:\Test\ without specifying the path?
Thank you
Corinne
Hi Isabelle,.
Yes, this can be done. You can get the path to the current sequence file using RunState.SequenceFile.Path. Then find and remove the last '-' using the string functions to get just the path. You can then use this path to manage your files Input.xls and Output.xls.
-Jack
-
several pages scanned in an output file
I have a 8600 and use the HP scanning software. I want to do multiple scans and include those in an output file. If the media keeps me using the auto feed printer, how can I do this? A scanning software different HP that I had previously used an option that asked if I wanted to add additional pages. I don't see this option on this software.
Thank you
You are welcome
As I mentioned, it occurs due to memory limitations the software...
Several pages in higher resolutions of transformation is too important resources for the HP scanning software and therefore unsupported...
-
How can I specify the name of the build output files? For example, currently the program generates the helloworld.jar file when I run a generation. However, I would like the name of output file to be newapplication.jar. How do I would put the name of this output? I changed the project (.jdp) file and the workspace (.jdw) file to the new name (newapplication.jpd), but the output file is always helloworld.
Thank you
crushedOK, found it.
* In the workspace window, right-click on the project and select "Properties."... »
* Click on the tab 'Build '.
* The ' name of the output file: "field specifies the build output file namecrushed
-
Output file spooling keep the space between the columns
DB version: 11.2.0.3 running Linux OS.
I ran the following:
SQL > spool test.txt1
SQL > @test.sql
SQL > spool off;
SQL > exit
in the test.sql file:
SET LINESIZE 500
SET PAGESIZE 500
SET FEEDBACK OFF
SET ECHO OFF
SET TRIMOUT ON
TERMOUT OFF SET
NEWPAGE SET TO NONE
COLUMN DAY FORMAT A9 HEADING 'DAY '.
COLUMN FORMAT A4 HEADING '00 00.
A4 01 FORMAT COLUMN TITLED '01 '.
COLUMN 02 FORMAT A4 HEADING "02".
COLUMN 03 FORMAT A4 HEADING "03".
04 '04' SECTION A4 FORMAT COLUMN
COLUMN 05 FORMAT A4 HEADING "05".
COLUMN 06 FORMAT A4 HEADING "06."
COLUMN 07 FORMAT A4 HEADING "07".
COLUMN FORMAT A4 HEADING '08' 08
COLUMN FORMAT A4 '09' SECTION 09
COLUMN 10 FORMAT A4 HEADING "10".
COLUMN 11 FORMAT A4 HEADING "11".
COLUMN 12 FORMAT A4 HEADING '12.
COLUMN 13 FORMAT A4 HEADING "13."
COLUMN 14 FORMAT A4 HEADING "14".
COLUMN 15 FORMAT A4 HEADING "15".
COLUMN 16 FORMAT A4 HEADING "16".
COLUMN 17 FORMAT A4 HEADING '17.
COLUMN 18 FORMAT A4 HEADING '18 '.
COLUMN 19 FORMAT A4 HEADING "19."
COLUMN 20 FORMAT A4 HEADING "20".
COLUMN 21 FORMAT A4 HEADING "21".
COLUMN 22 FORMAT A4 HEADING '22 '.
COLUMN 23 FORMAT A4 HEADING "23".
COLUMN 'TOT' FORM 99999 TITLE 'TOTAL '.
SELECT
TO_CHAR(COMPLETION_TIME,'YY-MM-DD') DAY,
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '00', 1, 0)),'999 ') "00."
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '01', 1, 0)),'999 ') "01."
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '02', 1, 0)),'999 ') '02. "
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '03', 1, 0)),'999 ') '03. "
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '04', 1, 0)),'999 ') '04. "
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '05', 1, 0)),'999 ') '05. "
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '06', 1, 0)),'999 ') '06. "
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '07', 1, 0)),'999 ') '07. "
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '08', 1, 0)),'999 ') '08. "
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '09', 1, 0)),'999 ') '09. "
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '10', 1, 0)),'999 ') "10."
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '11', 1, 0)),'999 ') "11."
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '12', 1, 0)),'999 ') "12."
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '13', 1, 0)),'999 ') "13."
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '14', 1, 0)),'999 ') "14."
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '15', 1, 0)),'999 ') "15."
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '16', 1, 0)),'999 ') "16."
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '17', 1, 0)),'999 ') "17."
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '18', 1, 0)),'999 ') "18."
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '19', 1, 0)),'999 ') "19."
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '20', 1, 0)),'999 ') "20."
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '21', 1, 0)),'999 ') "21."
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '22', 1, 0)),'999 ') '22 ',.
TO_CHAR (SUM (DECODE (SUBSTR (TO_CHAR (COMPLETION_TIME, 'HH24'), 1, 2), '23', 1, 0)),'999 ') "23."
COUNT (1) "TOT".
V $ ARCHIVED_LOG
WHEN ARCHIVED = 'YES '.
AND TRUNC(SYSDATE-COMPLETION_TIME) < 7
GROUP OF TO_CHAR (COMPLETION_TIME, "AA-MM-DD")
ORDER BY TO_DATE (DATE, 'AA-MM-DD');
When I CAT the file in Linux (there the space between each aligned format and columns)
When I send emails (even when I copy here), it looks like in below
SQL > @test.sql
TOTAL DAYS 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23
--------- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
14/08/18 0 0 0 0 8 8 8 11 11 13 12 18 19 22 21 21 20 20 19 20 9 9 9 9 287
14/08/19 12 9 17 7 7 7 7 8 10 9 6 12 10 20 4 11 11 10 25 17 18 18 18 16 289
14/08/20 11 11 18 7 10 8 9 9 9 9 9 14 13 19 16 16 20 19 21 20 20 12 11 7 318
14/08/21 5 20 19 10 8 8 8 11 9 9 11 12 19 12 12 12 18 4 7 25 19 16 16 17 307
14/08/22 13 11 20 8 10 7 9 10 11 13 11 13 25 15 16 15 18 19 21 19 26 20 13 10 353
14/08/23 10 8 21 10 9 10 9 7 9 8 7 9 12 8 7 5 10 7 7 9 8 15 14 8 227
14/08/24 4 10 25 11 9 6 8 7 7 7 6 8 12 7 5 7 6 6 5 7 6 7 12 6 194
14/08/25 8 7 25 8 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 50
SQL > spool off;
I need the output should be like tabluar format. Please notify
> But when I send the results by email his watch is not as expected.
It is because your email client, interprets and formats the text.
You've seen this interpreter notebook and it is shaped differently.
He must know what font is used for the text. Courier and monospaced fonts generally spaces correctly.
Hemant K Collette
-
How can access data in the rman 'daily.log' output file
Hi all
I used the following question for rman out
the output file "daily.log" has been created, but there is no data.
How can access the data in the output file 'daily.log '.
bash-3. $00 sh rmant.sh
Recovery Manager: release 10.2.0.3.0 - Production Thu Jun 30 16:54:16 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: DEV (DBID = 45558086)
RMAN > Journal of coil to daily.log;
2 > run
3 > {}
4 > backup databas.
{5 >}
6 > spool log off;
7 >
Winding began in the log file: daily.log
Recovery Manager10.2.0.3.0
From backup 30 June 11
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 634 devtype = DISK
channel ORA_DISK_1: additional start-up compressed 0 datafile backupset
channel ORA_DISK_1: specifying datafile (s) in backupset
input datafile fno = name=/u02/proddata/a_int01.dbf 00014
input datafile fno = name=/u02/proddata/a_txn_data01.dbf 00022
input datafile fno = name=/u02/proddata/a_txn_data02.dbf 00023
input datafile fno = name=/u02/proddata/a_txn_data03.dbf 00024
input datafile fno = name=/u02/proddata/a_txn_data04.dbf 00039
input datafile fno = name=/u02/proddata/undo02.dbf 00038
input datafile fno = name=/u02/proddata/a_txn_ind03.dbf 00027
input datafile fno = name=/u02/proddata/a_txn_ind04.dbf 00028
input datafile fno = name=/u02/proddata/undo01.dbf 00012
input datafile fno = name=/u02/proddata/a_media01.dbf 00015
input datafile fno = name=/u02/proddata/a_txn_ind01.dbf 00025
input datafile fno = name=/u02/proddata/a_txn_ind02.dbf 00026
input datafile fno = name=/u02/proddata/a_txn_ind05.dbf 00029
input datafile fno = name=/u02/proddata/a_summ01.dbf 00021
input datafile fno = name=/u02/proddata/a_ref01.dbf 00019
input datafile fno = name=/u02/proddata/a_ref02.dbf 00020
input datafile fno = 00001 name=/u02/proddata/system01.dbf
input datafile fno = name=/u02/proddata/system02.dbf 00002
input datafile fno = name=/u02/proddata/system03.dbf 00003
input datafile fno = name=/u02/proddata/system04.dbf 00004
input datafile fno = 00005 name=/u02/proddata/system05.dbf
input datafile fno = name=/u02/proddata/system06.dbf 00006
input datafile fno = name=/u02/proddata/system07.dbf 00007
input datafile fno = name=/u02/proddata/system08.dbf 00008
input datafile fno = name=/u02/proddata/system09.dbf 00009
input datafile fno = name=/u02/proddata/system10.dbf 00010
input datafile fno = name=/u02/proddata/system11.dbf 00011
input datafile fno = name=/u02/proddata/a_archive01.dbf 00013
input datafile fno = name=/u02/proddata/sysaux01.dbf 00036
input datafile fno = name=/u02/proddata/a_nolog01.dbf 00016
input datafile fno = name=/u02/proddata/izu01.dbf 00037
input datafile fno = name=/u02/proddata/a_queue01.dbf 00017
input datafile fno = name=/u02/proddata/a_queue02.dbf 00018
input datafile fno = name=/u02/proddata/odm.dbf 00031
input datafile fno = name=/u02/proddata/portal01.dbf 00034
input datafile fno = name=/u02/proddata/sfx01.dbf 00035
input datafile fno = name=/u02/proddata/ctxd01.dbf 00030
input datafile fno = name=/u02/proddata/olap.dbf 00032
input datafile fno = name=/u02/proddata/owad01.dbf 00033
channel ORA_DISK_1: starting total, 1 to June 30, 11
channel ORA_DISK_1: finished piece 1 at June 30, 11
total, handle = / sw/weekly_cum_database_DEV_t755196858_c1_s24_p1 tag = WEEKLY_CUM_DAT
ABASE comment = NONE
channel ORA_DISK_1: complete set of backups, time: 00:32:55
channel ORA_DISK_1: additional start-up compressed 0 datafile backupset
channel ORA_DISK_1: specifying datafile (s) in backupset
including the current control in backupset file
including current SPFILE in backupset
channel ORA_DISK_1: starting total, 1 to June 30, 11
channel ORA_DISK_1: finished piece 1 at June 30, 11
total, handle = / sw/weekly_cum_database_DEV_t755198834_c1_s25_p1 tag = WEEKLY_CUM_DAT
ABASE comment = NONE
channel ORA_DISK_1: complete set of backups, time: 00:00:02
Backup completed on June 30, 11
Queue log disabled
Recovery Manager10.2.0.3.0
Complete recovery manager.
bash-3. $ 00No need to mention to the coil of logoff.
coil disconnection;
out this above command and run again.
-
The HTML - output folder Option and the path of file name change question
In the HTML Options to file and output file name I was wondering if I can change the name of the .chm automatically listed when I click on properties?
For example, when I click on properties for ABC_v456, which is a SSL in the project ABC123, I see "C:\Projects\ABC_v123\!" SSL!\Help_v456\ABC123.chm' in the output folder and file name field. I would rename ABC123.chm in ABC456.chm for the love of light. When I compile it will then create a file .chm by ABC456.chm name rather than the name of the ABC123.chm file? I would have then two SSL in the HTML project called Help_v123 and Help_v456each and their respective .chm would be within each folder. I speak of the sense or is this clarification requiring gibberish on my part? I use Robohelp HTML v7.
Hi karima
You should be able to freely appoint the CHM everything that makes sense for you in the field.
I remember that too, you are perhaps involved in the development of CSH. If the name of the file could play an important role in that. But even after you generate the help, you should be able to rename it if you wish.
See you soon... Rick
Useful and practical links
Wish to RoboHelp form/Bug report form
Begin to learn RoboHelp HTML 7 or 8 times now - $24.95!
-
When I try to install Firefox, I get an error "could not open the output file. I used Firefox before and it doesn't work anymore, so I uninstalled. Cannot re - install now.
This has happened
Each time Firefox opened
I tried to download firefox.
User Agent
Mozilla/4.0 (compatible; INTERNET EXPLORER 6.0; Windows NT 5.1; SV1; AntivirXP08; GTB6.3; .NET CLR 2.0.50727; MS - RTC LM 8)
When you click on the download link on GetFirefox.com, you should be asked if you want to run or save the file. If this situation occurs when you try to run the download, try instead to record and put the file on your desktop or in a similar place, where you are certain that you can find.
When the download is complete, try double-clicking on the downloaded file in the normal Windows Explorer (browse your way to the file from the desktop). This should start the installation.
If, in the Explorer window, you notice that the file seems to be missing the Firefox icon orange/blue, right click the file and select Properties. The image should look like the attached picture (except that mine is in Danish, but that is irrelevant) if saved correctly - if it don't look like this, would you please describe the content or attach a screenshot of the box. Especially what it says under "File Type" - it must be 'program '. If this isn't the case, will have to focus on what could be the problem here.
A bit off-topic, your Internet Explorer seems to be quite a bit outdated (IE 6, where the current version is IE 8), so I highly recommend that you try to run Windows Update to get your system up to date. Is it as a society (such as a thin client Terminal Server computer) system, this is not possible, and most likely, your system administrator will have to help you.
-
How the names of variables and units used in the binary output file
My colleague will give me LabView generated from the binary files (*.dat). There are more than 60 variables (columns) in the binary output file. I need to know the names of variables and units, which I think he has already configured in LabView. Is there a way for him to produce a file that contains the name of the variable and unity, so that I'll know what contains the binary file? It can create an equivalent ASCII file with a header indicating the name of the variable, but it does not list the units of each variable.
As you can tell I'm not a user of LabView, so I apologize if this question makes no sense.
Hi KE,.
an ASCII (probably the csv format) file is just text - and contains all data (intentially) written to. There is no special function to include units or whatever!
Your colleague must save the information it records the names and values in the same way...
(When writing to text files, it could use WriteTextFile, FormatIntoFile, WriteToSpreadsheetFile, WriteBinaryFile even could serve...)
-
I am trying to set up a wireless printer samsung on a Linksys router for a Dell with Vista laptop. When I send a test page it will go not to the printer... He's trying to "print to a file" asking and "Output File Name". Why?
Nelia,
You may find that when you set up the printer first place it has been accidentally manually installed as a "print to file" rather than a printer real itself.
My suggestion would be to uninstall all samsung software, remove the printer (start, devices and printers, right click on the printer-> remove) and then start again from scratch. Let us know how you go!
See you soon
Maybe you are looking for
-
iMac mid 2011, gray screen of death!
Hi all! (Sorry my spelling Im Danish) I have an iMac mid 2011, 2 TB HD, 16 GB of Ram and a video card AMD Radeon HD 6970 M 2 GB. My problem is the gray screen of death! After starting, I see the Apple logo and progress bar. When the progress bar stop
-
My technical high school class made a project to fix a product that has a problem or a flaw which could be repaired, and I choose the Iphone charger and I wanted to get some info on the cost of production of your chargers and if I could plant my idea
-
How can I create a recovery BIOS USB?
* Updated * I tried another flash using HP download & installation wizard and things went much smoother. I'm ok My mouse and the computer froze everything in flashing to latest BIOS f.29 and had no choice than to cut the power. On startup, I get a bl
-
How to transfer everything to a laptop running XP to my new computer running 8?
I need to transfer the laptop running XP to a new computer on 8 news or I have a laptop running under 7 and I also have a portable hard drive.
-
My computor used' stand-by 'she goes through the motions as a "reboot", I have internet exp.8 [sp3]. Everything else works fine as far as I can see.