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 > An sql error "-7" occurred

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-26-06, 08:39
dhuygu dhuygu is offline
Registered User
 
Join Date: Sep 2006
Posts: 20
An sql error "-7" occurred

when I run my db2 command I get the error:
An sql error "-7" occurred while processing the select string action string paramater.
What does it mean?
Reply With Quote
  #2 (permalink)  
Old 09-26-06, 08:44
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
SQL0007N The character "<character>" following "<text>" is
not valid.

Explanation:

The specified "<character>" is not a valid character in SQL
statements. The "<text>" field indicates the 20 characters of
the SQL statement that preceded the character that is not
valid.

Federated system users: some data sources do not provide the
appropriate values for the "<character>" and "<text>" message
tokens. In these cases, "<character>" and "<text>" will have the
following format: "<data source>:UNKNOWN", indicating that the
actual values for the specified data source are unknown.

The statement cannot be processed.

User Response:

Remove or replace the character that is not valid.

sqlcode : -7

sqlstate : 42601
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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