12-07-2007
Pls. do reply i am finding it difficult to store the data in above format in a .txt file..Pls. do help me in this. It is urgent...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
Can u please help mw with the following query .
I need to run a database sql statement to select particular fields from a table.I need to store the retrieved filed values into variables so that i can print it in a specific format. But the particular select query retrieves more... (12 Replies)
Discussion started by: jisha
12 Replies
2. Shell Programming and Scripting
Dear All,
This may sound a simple query but a non technical person like me is not able to do it, So please help me out.
I m using Unix... isql
I jst wanted to do something like following
select * from xyz
where ID= xxxxxxxx (8 digit ID)
Here if i put single 8 digit ID then the... (5 Replies)
Discussion started by: topgear1000cc
5 Replies
3. Shell Programming and Scripting
how to convert the result of the select query to comma seperated data and put in a .csv file using korn shell.
Pls help me as its very urgent.
Thanks,
Hema. (1 Reply)
Discussion started by: Hemamalini
1 Replies
4. Shell Programming and Scripting
How to redirect postgresql select query to a variable using shell scripts?
I tried to use
psql -c "select ip from servers" db | egrep '+\.+\+\+' | sed 's/^ *\(.*\) *$/\1/'
Output:
10.10.10.180
10.10.10.181
It display ip addresses from the databasem, but how could i redirect the... (3 Replies)
Discussion started by: uativan
3 Replies
5. Shell Programming and Scripting
Hi,
I have a file which contains the data in the below format and need to develop a script which will give the output in the tabular format.
Could you please advice me.
Folder:
Workflow: version .
Workflow run status:
Workflow run error code:
Schedule time:
Workflow run type: ... (2 Replies)
Discussion started by: kandi.reddy
2 Replies
6. Shell Programming and Scripting
I have been asked to create a shell script that accepts a number of SQL select queries as input, runs them in sequence, spools the output to an EXCEL workbook, where, each worksheet is an output of a Select statement run above.
The workbook should be in a .XLS format. If a particular select... (2 Replies)
Discussion started by: ShellNovice1
2 Replies
7. Shell Programming and Scripting
hi..
i need to optimize my select query ..
my situation is like this ..
i have 15 lac recors in my table..
the following query takes nine seconds to give the required output..
SELECT max(ah.AUC_AMT),
SUBSTRING_INDEX(GROUP_CONCAT(SUBSTRING_INDEX(ah.AUC_CUS_NAME,'@',1) order by AUC_AMT... (0 Replies)
Discussion started by: senkerth
0 Replies
8. UNIX for Advanced & Expert Users
hi..
i need to optimize my select query ..
my situation is like this ..
i have 15 lac recors in my table..
the following query takes nine seconds to give the required output..
SELECT max(ah.AUC_AMT),
SUBSTRING_INDEX(GROUP_CONCAT(SUBSTRING_INDEX(ah.AUC_CUS_NAME,'@',1) order by AUC_AMT... (1 Reply)
Discussion started by: senkerth
1 Replies
9. Shell Programming and Scripting
Hi
I want to display the following input data into the tabular format as shown in the output.
Input.txt:
Following jobs are in pending state for more than 10 minutes:
JOB_ID JOB_SUBMIT_ID
MAHAR 784308
PUNJA 109367
Following jobs are running for longer time:
JOB_ID... (1 Reply)
Discussion started by: dats
1 Replies
10. Shell Programming and Scripting
Hi,
I have a perl snippet that call a select query with a bind variable,when i compile the script I'm unable to get the query output.
The same query when i fire in sqlplus fetches few rows.
The query takes bit time to fetch results in sqlplus.
my $getaccts = $lda->prepare("select distinct ... (1 Reply)
Discussion started by: rkrish
1 Replies
LEARN ABOUT CENTOS
xcb_render_query_pict_index_values_values_length
xcb_render_query_pict_index_values(3) XCB Requests xcb_render_query_pict_index_values(3)
NAME
xcb_render_query_pict_index_values -
SYNOPSIS
#include <xcb/render.h>
Request function
xcb_render_query_pict_index_values_cookie_t xcb_render_query_pict_index_values(xcb_connection_t *conn, xcb_render_pictformat_t format);
Reply datastructure
typedef struct xcb_render_query_pict_index_values_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t num_values;
uint8_t pad1[20];
} xcb_render_query_pict_index_values_reply_t;
Reply function
xcb_render_query_pict_index_values_reply_t *xcb_render_query_pict_index_values_reply(xcb_connection_t *conn,
xcb_render_query_pict_index_values_cookie_t cookie, xcb_generic_error_t **e);
Reply accessors
xcb_render_indexvalue_t *xcb_render_query_pict_index_values_values(const xcb_render_query_pict_index_values_request_t *reply);
int xcb_render_query_pict_index_values_values_length(const xcb_render_query_pict_index_values_reply_t *reply);
xcb_render_indexvalue_iterator_t xcb_render_query_pict_index_values_values_iterator(const xcb_render_query_pict_index_values_reply_t
*reply);
REQUEST ARGUMENTS
conn The XCB connection to X11.
format TODO: NOT YET DOCUMENTED.
REPLY FIELDS
response_type
The type of this reply, in this case XCB_RENDER_QUERY_PICT_INDEX_VALUES. This field is also present in the xcb_generic_reply_t
and can be used to tell replies apart from each other.
sequence The sequence number of the last request processed by the X11 server.
length The length of the reply, in words (a word is 4 bytes).
num_values
TODO: NOT YET DOCUMENTED.
DESCRIPTION
RETURN VALUE
Returns an xcb_render_query_pict_index_values_cookie_t. Errors have to be handled when calling the reply function xcb_render_query_pict_in-
dex_values_reply.
If you want to handle errors in the event loop instead, use xcb_render_query_pict_index_values_unchecked. See xcb-requests(3) for details.
ERRORS
This request does never generate any errors.
SEE ALSO
AUTHOR
Generated from render.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
XCB
2014-06-10 xcb_render_query_pict_index_values(3)