Hi All,
I have seen many examples of spooling query output in csv file.
But I want to spool the query results in proper excel file.
Can you guys help me on this?
Something like this:
chr(9) is the tab character, so essentially you are creating a "tsv" (tab-separated values) file that has the extension "xls".
Thereafter you can simply double-click on it and MS Excel, or an equivalent program, should be able to do the rest.
Hope that helps,
tyler_durden
_______________________________________
"Only after disaster can we be resurrected."
Hi Guys,
I'm new to this forum as well as to UNIX shell scripting.
I'm looking for a shellscript to query an Oracle database table and populate the result set of the query in a text file.
Could you someone help me out with a sample code?
Thanks,
Bhagat (7 Replies)
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
So, I would like to run differen select queries on multiple databases..
I made a script wich I thought to be called something like..
./script.sh sql_file_name out.log
or to enter select statement in a command line..
(aix)
and I did created some shell script wich is not working..
it... (6 Replies)
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
Hello everyone,
I have a RHEL 5 system and have been trying to get a batch of 3-4 scripts each in a separate variables and they are not working as expected.
I tried using following syntax which I saw a lot of people on this site use and should really work, though for some reason it doesn't... (3 Replies)
Hi Guys..
Need your help to format the output of my shell script.
I am using spool command to take out put in csv file.
below is my code. (for example)
col USERNAME for a15
col EMAIL for a30
col FULL_NAME for a20
col LAST_LOGIN for a40
col DATE_CREATED for a40
SPOOL 120.csv... (3 Replies)
Hi All,
I am fetching oracle query result in shell variable. As columns numbers are more the output wraps in unix terminal .i.e one complete record in db gets store in multiple lines. with each line ends with $ character. I want to remove these unnecessary $ character but to keep required $... (8 Replies)
Hi guys - I have a file and output like this below:
File: myfile.dat
File has content like this: ABCD, 34, 456, 2324
I would like excel to have this:
Name (ABCD) Quantity (34), Type (456), Status (2324)
(Name, Quantity, Type and Status are columns)
I would like to export... (4 Replies)
Hi ,
i am generating some data by firing sql query with connecting to the database by my solaris box.
The below one should be the header line of my excel ,here its coming in separate row.
TO_CHAR(C. CURR_EMP_NO
---------- ---------------
LST_NM... (6 Replies)
Hi, I have a shell script which analyses the log folder for a specific string and throws me the output. I have used for loop since it does this in multiple servers. Now I want to save the output in a excel in the below format. Can someone please help?
The output which I get
Server1 : count... (1 Reply)
Discussion started by: srilaxman
1 Replies
LEARN ABOUT DEBIAN
recoll
RECOLL(1) General Commands Manual RECOLL(1)NAME
recoll - user interface for the Recoll full text search system
SYNOPSIS
recoll [ -c <configdir> ] [ -o | -l | -f | -a ] [ -t ] [ -q <query> ]
DESCRIPTION
The recoll command will start the graphical user interface for querying the Recoll database.
On the first run, recoll will create the user configuration which can be customized before starting the first indexation.
The -c option specifies the configuration directory name, overriding the default or $RECOLL_CONFDIR.
The -q option can be used to specify an initial query on the command line. This query will be interpreted by default as a query language
string. If -a is specified, the query string will be interpreted as an all words simple search query. If -o is specified, the query string
will be interpreted as an any word simple search query. If -f is specified, the query string will be interpreted as a file name simple
search query. If -l is specified, the query string will be interpreted as a query language simple search query.
If -t is specified, the Graphical User Interface will not be started, and results will be printed to the standard output. Additional
options understood by the recollq command may be specified in this case. These can control the output format and the maximum number of
results to be printed.
Please refer to online help for a full description.
SEE ALSO recollindex(1)recollq(1)recoll.conf(5)
8 January 2006 RECOLL(1)