Hi,
I have delimited file(|).
Sample data:
1|name|50009|DS24|0|12
2|name|30009|DS24|0|13
3|name|20409|DS24|0|14
4|name|20009|DS24|0|15
5|name|10009|DS24|0|16
I want to load this data into a oracle table (update and insert)
Please help me the commands and also... (1 Reply)
Hello,
I have got one file with more than 120+ million records(35 GB in size). I have to extract some relevant data from file based on some parameter and generate other output file.
What will be the besat and fastest way to extract the ne file.
sample file format :--... (2 Replies)
Hi ,
I have a typical situation. I have 4 files and with different headers (number of headers is varible ).
I need to make such a merged file which will have headers combined from all files (comman coluns should appear once only).
For example -
File 1
H1|H2|H3|H4
11|12|13|14
21|22|23|23... (1 Reply)
the data in my file is has no delimiters. it looks like this:
H52082320024740010PH333200612290000930 0.0020080131
D5208232002474000120070306200703060580T1502 TT 1.00
H52082320029180003PH333200702150001 30 100.0020080205
D5208232002918000120070726200707260580T1502 ... (3 Replies)
Hello Friends,
I have a file(InputFile.csv) with the following columns(the columns are pipe-delimited):
ColA|ColB|ColC|ColD|ColE|ColF
Now for this file, I have to get those records which fulfil the following condition:
If "ColB" is NOT NULL and "ColD" has values one of the following... (9 Replies)
Hello,
I have a file with various records in it (from length 30 - 195) and I want to run a script to read each line and copy only the recl=80 files to an output file.
Any help much appreciated (4 Replies)
Hi,
I look for a awk one liner for below issue.
input file
ABC 1234 abc 12345
ABC 4567 678 XYZ
xyz ght 678
ABC 787 yyuu
ABC 789 7890 777
zxr hyip hyu
mno uii 678 776
ABC ty7 888
All lines should be started with ABC as first field. If a record has another value for 1st... (7 Replies)
Hi,
I have a file with 20GB Pipe Delimited file where i have too many duplicate records.
I need an awk script to extract the unique records from the file and put it into another file.
Kindly help.
Thanks,
Arun (1 Reply)
Hello Folks,
I'm working on a requirement to automate the process of generating report(csv file) using metadata info stored in an Oracle table and E-mail it to respective people.
Meta data table:
Report_ID,Report_SUB_ID,Report_DB,Report_SQL,Report_to_email_Id
1,1,DEV,'select * From... (2 Replies)
Discussion started by: venkat_reddy
2 Replies
LEARN ABOUT DEBIAN
rdf::query::compiler::sql
RDF::Query::Compiler::SQL(3pm) User Contributed Perl Documentation RDF::Query::Compiler::SQL(3pm)NAME
RDF::Query::Compiler::SQL - Compile a SPARQL query directly to SQL.
VERSION
This document describes RDF::Query::Compiler::SQL version 2.908.
METHODS
"new ( $parse_tree )"
Returns a new compiler object.
"compile ()"
Returns a SQL query string for the specified parse tree.
"emit_select"
Returns a SQL query string representing the query.
"limit_clause"
Returns a SQL LIMIT clause, or an empty string if the query does not need limiting.
"order_by_clause"
Returns a SQL ORDER BY clause, or an empty string if the query does not use ordering.
"variable_columns ( $var )"
Given a variable name, returns the set of column aliases that store the values for the column (values for Literals, URIs, and Blank
Nodes).
"add_variable_values_joins"
Modifies the query by adding LEFT JOINs to the tables in the database that contain the node values (for literals, resources, and blank
nodes).
"patterns2sql ( @triples, $level, %args )"
Builds the SQL query in instance data from the supplied @triples. $level is used as a unique identifier for recursive calls.
%args may contain callback closures for the following keys:
'where_hook'
'from_hook'
When present, these closures are used to add SQL FROM and WHERE clauses to the query instead of adding them directly to the object's
instance data.
"expr2sql ( $expression, $level, %args )"
Returns a SQL expression for the supplied query $expression. $level is used as a unique identifier for recursive calls.
%args may contain callback closures for the following keys:
'where_hook'
'from_hook'
When present, these closures are used to add necessary SQL FROM and WHERE clauses to the query.
"_mysql_hash ( $data )"
Returns a hash value for the supplied $data string. This value is computed using the same algorithm that Redland's mysql storage
backend uses.
"_mysql_node_hash ( $node )"
Returns a hash value (computed by "_mysql_hash" for the supplied $node. The hash value is based on the string value of the node and
the node type.
"qualify_uri ( $uri )"
Returns a fully qualified URI from the supplied $uri. $uri may already be a qualified URI, or a parse tree for a qualified URI or
QName. If $uri is a QName, the namespaces defined in the query parse tree are used to fully qualify.
"add_function ( $uri, $function )"
Associates the custom function $function (a CODE reference) with the specified URI, allowing the function to be called by query
FILTERs.
"get_function ( $uri )"
If $uri is associated with a query function, returns a CODE reference to the function. Otherwise returns "undef".
AUTHOR
Gregory Williams <gwilliams@cpan.org>
perl v5.14.2 2012-01-31 RDF::Query::Compiler::SQL(3pm)