1. Regarding the fields not coming below the column title, the default linesize in sqlplus is 80. Looks your output line is more than 80 bytes. Set the linesize to a bigger value say 100. I mean, after the pagesize setting line, add the below line and check:
Code:
set linesize 100
2. Regarding the date formatting, I do not think you can format it like you do for a varchar or a number field. You need to change the NLS_DATE_FORMAT. To change NLS_DATE_FORMAT, you can google and see, you will find lots
Guru.
This User Gave Thanks to guruprasadpr For This Post:
Hi All,
I am having an excel sheet with pre-defined format which our business team specified, what i need to do is i have to write a script which need to pick values from database and update specified cells in excel sheet..
can any one please help me in this regard..
I am able to pull the... (3 Replies)
Hi,
I have an excel sheet which has 100000 records. All these records are having 3 columns each with the last column as "Y" or "N". I would like to filter those records which has the value "Y". Can you please let me know how to proceed with that?
Thanks in advance.
-Sri
----------... (8 Replies)
Hi All,
I'm finding it difficult to format the query output that was returned in a shell script.
Actually i have one shell script which does some DB stuff and depending on the result it will do some more tasks. My question here is to format the query output returned by mysql.
Intitally my... (5 Replies)
Hi,
I need to connect to the database and retrieve two variables from the database and store them in a variable,out of these two variables I need to get lastdigit appended to the variable 1 retrieved and variable 2 with out any modification
in short
select var,data from usage;
o/p=... (1 Reply)
I am facing a problem formatting the output of my shell script in excel.
We are directing the output of the script to an excel sheet and need long integer type data printed in Excel as it is (i.e. not in the default scientific notation).
Also, leading zeroes(if any) in the output are getting... (4 Replies)
Hi All,
#!/bin/ksh
call_sql ()
{
sql=$1
sqlplus -s $sqlparam_sieb <<EOF
SET ECHO OFF;
SET NEWPAGE NONE;
SET SQLBL OFF;
SET VERIFY OFF;
SET LINESIZE 2000;
SET... (2 Replies)
I want to run sql query in shell script and output data save as delimited text (delimited text would be comma)
Code:
SPOOL_FILE=/pgedw/dan.txt
SQL=/pgedw/dan.sql
sqlplus -s username/password@myhost:port/servicename <<EOF
set head on
set COLSEP ,
set linesize 32767
SET TRIMSPOOL ON
SET... (8 Replies)
I am writing the following script to create the file v_out.txt.
sqlplus -s /nolog << EOF
CONNECT scott/tiger@orcl;
whenever sqlerror exit sql.sqlcode;
set newpage 0;
SET PAGESIZE 0;
SET ECHO OFF;
SET FEEDBACK OFF;
SET HEADING OFF;
SET VERIFY OFF;
SET LINESIZE 100;
set tab off;
set... (7 Replies)
I am trying to write SQL query output into a .csv file. But in the output columns are displaying in different lines instead of coming in one line.
Main Code shell script:
this is my code:
#!/bin/bash
file="db_detail.txt"
. $file
rm /batch/corpplan/bin/dan.csv... (6 Replies)
Discussion started by: sandeepgoli53
6 Replies
LEARN ABOUT OSF1
ee
ee(7) Miscellaneous Information Manual ee(7)NAME
ee - Intel (82558/28559) PCI 10/100 Ethernet
SYNOPSIS
config_driver ee
DESCRIPTION
The ee interface supports the Intel 82558 and 82559-based Compaq adapters (including the DE60x line of adapters). These PCI bus adapters
support standard 10/100 Ethernet operation, and provide equivalent service compared to the DE500-BA adapters (IEEE 802.3u Autonegotiation,
full/half duplex, 10/100 Mbps). In addition to the standard features, the Compaq adapters support a hardware feature called parallel
detection. This feature detects speed (10/100) and mode (full/half duplex) automatically when connecting to a repeater/switch that does
NOT perform IEEE 802.3u Autonegotiation.
By default, the driver uses Autonegotiation mode. This mode either connects to the remote partner with IEEE 802.3u Autonegotiation or
resolves the speed and mode using parallel detection. The adapters are designed to automatically connect to all network configurations
without manual intervention. However, if manual intervention is required, lan_config operations are supported (see lan_config(8) for more
information). If you want to preserve your lan_config command information across system restarts, edit the /etc/inet.local file and
include the appropriate commands. This information also remains the same through system version updates.
This driver does NOT require new console firmware to operate in a runtime only manner. Tru64 UNIX does not use console variables to define
media, mode, or speed. Booting over a network requires SRM firmware Version 5.5 or later (on most platforms).
ERRORS
The following diagnostic error messages contain relevant information provided by the ee interface, and are printed on the console. Each
message begins with the adapter identification, including the unit number of the adapter. The ee driver found a system that has not
defined cachelinesize in the PCI configuration header. This is an informational message only, and the driver correctly defines the cache-
linesize parameter. Not enough free memory exists to run the driver. The EEPROM on the board did not pass the checksum test. The board
indicated in this message is unusable. The device did not pass self test. The diagnostic test that failed follows immediately after this
message. The board indicated in this message is unusable.
RELATED INFORMATION
Commands: lan_config(8)
Files: inet.local(4) delim off
ee(7)