× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



OK thanks we got a bit further, this sql has error: SQL0206 - Column or
global variable rklib.otord# not found. ( I tried without the lib name as
well in parttion by

Select * from
(
Select x.*,
row_number() over (partition by "rklib.otord#"
order by case ottrnc when '001' then 1 else 2 end
, ottrnd, ottrt
)
as RowN
from rklib.clspaytp x
) a
where a.RowN in (1,2)









On Tue, May 19, 2015 at 12:11 PM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:

On 5/19/2015 2:52 PM, Hoteltravelfundotcom wrote:
hi Brigitta getting here error
SQL0104 - Token [ was not valid. Valid tokens: ( + - ? : DAY INF NAN RID
ROW RRN CASE CAST CHAR DATE DAYS HASH.

Two suggestions.
1) Read Chuck's reply. In particular, this: 'The next syntax error will
be for the '[' and ']' characters which are not supported as delimiters
[for anything AFaIK] in the SQL. If the column name is mixed-case, then
the proper delimiters are the '"' [i.e. the double-quote character].'

He tends to be very precise in his wording, which can sometimes result
in a long reply. I've been doing this for more than 30 years and I
assure you that I am definitely learning from his replies. Good stuff.
Do take the time to read it all.

2) You are looking at an SQL statement. None of us on this mail
reflector can see what you are looking at. Copy and paste the current
statement - the one you just tried - into your response so that we can
see what you see. Every time you try something else, paste the full
statement into your next question.

--
--buck

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.