01-31-2011
He didn't say, and I meant a built in RDBMS conversion from varchar to a dateTime to timestamp datatype, on the fly, for comparison.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone
really need some help with this one.
Ive to write a script where the middle date has to be checked and made sure that it is the current date.
281220032812200328122003
This is the format ive to check the date in the middle is the current date.
Can anyone help me with this... (14 Replies)
Discussion started by: vcardo10
14 Replies
2. UNIX for Dummies Questions & Answers
I have a question
I have like 19 different list which contains the name of the server but what I need is just unique ones.
First thing I need to do is just make a unique list within the list itself
i.e. delete anything that is repeated inside the list
like for example
in list1
i... (1 Reply)
Discussion started by: pareshan
1 Replies
3. Shell Programming and Scripting
Hi,
I've list of files in a directory, which have date stamp value in their names.
ex:
abc_data_20071102.csv,
abc_data_20091221.csv,
abc_data_20100110.csv,
abc_data_20100222.csv,
abc_data_20080620.csv,... etc.,
I need to select and process only files, within the given date... (4 Replies)
Discussion started by: ganapati
4 Replies
4. Shell Programming and Scripting
Hi
My pipe delimited .txt file contains rows with 10 columns.
Can anyone advise how I output to file only those rows with the letters ‘ci'
as the first 2 characters in the 3rd column ?
Many thanks (4 Replies)
Discussion started by: malts18
4 Replies
5. Programming
I have two arrays DIST(1:NCOF) and X(1:NX)
Let NCOF = 5 and NX = 15, with
DIST = and
X =
I want to create an array that puts a zero if DIST is outside the region in X, otherwise putting 1.
In this example I should get
RES =
Using DIST = would give RES =
The values in... (6 Replies)
Discussion started by: kristinu
6 Replies
6. Shell Programming and Scripting
Hi! I've a file as shown below
1 hello
2 how
5 are
3 you
4 hello
5 world
Every statement consists of line numbers at the beginning which are not in sequence.
Now I want to select all the line numbers which are present between the line numbers specified by the user..
For example... (1 Reply)
Discussion started by: abk07
1 Replies
7. Shell Programming and Scripting
Hi Guys !
i want to search a record in file by matching two values in a record in two different columns
suppose i have 3 columns
and i want to select all those values from col1 for which in col3 has a specific value
e.g select all "john" from column1 where column 3 has a value of "20"
... (9 Replies)
Discussion started by: ourned
9 Replies
8. Shell Programming and Scripting
Hi,
I have a file with the following columns:
361459 447394 CHL1
290282 290282 CHL1
361459 447394 CHL1
361459 447394 CHL1
178352861 178363529 AGA
178352861 178363529 AGA
178363657 178363657 AGA
Essentially, using CHL1 as an example. For any line that has CHL1 in... (2 Replies)
Discussion started by: hubleo
2 Replies
9. Shell Programming and Scripting
Hello to all.
This is first post. Kindly excuse me if I do not adhere to any rules and regulations of this forum.
I have a file containing some rows with three columns each per row(separeted by a space). There are certain rows for which first two columns have same value but the value in... (6 Replies)
Discussion started by: manojmalhotra13
6 Replies
10. Shell Programming and Scripting
Hello, everyone
I am beginner for shell programming. I want to print all lines that have the same values in first two columns
data:
a b 1 2
a a 3 4
b b 5 6
a b 4 6
what I expected is :
a a 3 4
b b 5 6
but I searched for one hour in... (2 Replies)
Discussion started by: nengcheng
2 Replies
LEARN ABOUT DEBIAN
rdf::trine::node::literal
RDF::Trine::Node::Literal(3pm) User Contributed Perl Documentation RDF::Trine::Node::Literal(3pm)
NAME
RDF::Trine::Node::Literal - RDF Node class for literals
VERSION
This document describes RDF::Trine::Node::Literal version 1.000
METHODS
Beyond the methods documented below, this class inherits methods from the RDF::Trine::Node class.
"new ( $string, $lang, $datatype, $canonical_flag )"
Returns a new Literal structure.
"literal_value"
Returns the string value of the literal.
"literal_value_language"
Returns the language tag of the ltieral.
"literal_datatype"
Returns the datatype of the literal.
"value"
Returns the literal value.
"sse"
Returns the SSE string for this literal.
"as_string"
Returns a string representation of the node.
"as_ntriples"
Returns the node in a string form suitable for NTriples serialization.
"type"
Returns the type string of this node.
"has_language"
Returns true if this literal is language-tagged, false otherwise.
"has_datatype"
Returns true if this literal is datatyped, false otherwise.
"equal ( $node )"
Returns true if the two nodes are equal, false otherwise.
"canonicalize_literal_value ( $string, $datatype, $warn )"
If $datatype is a recognized datatype, returns the canonical lexical representation of the value $string. Otherwise returns $string.
Currently, xsd:integer, xsd:decimal, and xsd:boolean are canonicalized. Additionally, invalid lexical forms for xsd:float, xsd:double,
and xsd:dateTime will trigger a warning.
"is_canonical_lexical_form"
"is_valid_lexical_form"
Returns true if the node is of a recognized datatype and has a valid lexical form for that datatype. If the lexical form is invalid,
returns false. If the datatype is unrecognized, returns zero-but-true.
"is_numeric_type"
Returns true if the literal is a known (xsd) numeric type.
"numeric_value"
Returns the numeric value of the literal (even if the literal isn't a known numeric type.
BUGS
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>.
AUTHOR
Gregory Todd Williams "<gwilliams@cpan.org>"
COPYRIGHT
Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms
as Perl itself.
perl v5.14.2 2012-06-29 RDF::Trine::Node::Literal(3pm)