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 Message

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-12-03, 20:33
G23nt7 G23nt7 is offline
Registered User
 
Join Date: Aug 2003
Posts: 2
Error Message

Receiving error message:

STATUS : 42601
MESSAGE : [IBM][CLI Driver][DB2/6000] SQL0104N An unexpected token "select <HTML><BODY bgcolor=white><C" was found following "BEGIN-OF-STATEMENT". Expected tokens may include: "<create_table>". SQLSTATE=42601

DB ERROR: -104 (DX0045)

Any ideas on what this means?
Reply With Quote
  #2 (permalink)  
Old 12-12-03, 21:11
sundialsvcs sundialsvcs is offline
Registered User
 
Join Date: Oct 2003
Posts: 706
Re: Error Message

Quote:

STATUS : 42601
MESSAGE : [IBM][CLI Driver][DB2/6000] SQL0104N An unexpected token "select <HTML><BODY bgcolor=white><C" was found following "BEGIN-OF-STATEMENT". Expected tokens may include: "<create_table>". SQLSTATE=42601

DB ERROR: -104 (DX0045)

Any ideas on what this means?

This is a pretty typical parser error-message: in other words, incomprehensible. What it means, apparently, is that DB2 was expecting to receive an SQL statement and what it actually received was an HTML document. Programming error on your part, I'm afraid...
__________________
ChimneySweep(R): fast, automatic
table repair at a click of the
mouse! http://www.sundialservices.com
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