If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Error While Visual Explain

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-28-07, 01:49
rahul_s80 rahul_s80 is offline
Registered User
 
Join Date: Jul 2006
Location: Pune , India
Posts: 433
Exclamation Error While Visual Explain

windows 2000
db2 8.2.7

Many times i have observed that while performing visual explain from command editor, it starts giving error SQL0104N , even when the query is getting executed correctly

Then i have to give blank spaces at the starting of each line which sometimes helps , mostly dont.
It becomes more frustating when the query is big and i have to spend lot of time just editing

even though the following query is giving resultset when i do visual explain it returns following


Part of query....

timestampdiff(256,char(current timestamp -TPM.DATEOFBIRTH )) >=16 ))
order By yeargroup, age

[IBM][CLI Driver][DB2/NT] SQL0104N An unexpected token "order" was found following "ar(current timestamp". Expected tokens may include: ")". SQLSTATE=42601
__________________
Rahul Singh
Certified DB2 9 DBA / Application Developer
Reply With Quote
  #2 (permalink)  
Old 02-28-07, 08:04
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
It looks like you should open a PMR with IBM on this.

Andy
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On