View previous topic :: View next topic
|
Author |
Message |
ksathishkumar83
New User
Joined: 21 Nov 2006 Posts: 50 Location: India
|
|
|
|
I am getting a SQL code -904 when a Query is executed with where clause.
Select * from t1 where c1='a'
But with out where clause the Quey is successfull.
Select * from t1 |
|
Back to top |
|
|
wanderer
Active User
Joined: 05 Feb 2007 Posts: 199 Location: Sri Lanka
|
|
|
|
How about posting the complete error message?
Perhaps you have a bad index. |
|
Back to top |
|
|
Frederic Lavoie
New User
Joined: 07 May 2007 Posts: 6 Location: Ottawa
|
|
|
|
maybe column C1 is part of an index that is stoped or in ut. |
|
Back to top |
|
|
rajandhla
Active User
Joined: 18 Oct 2005 Posts: 182 Location: Luton UK
|
|
|
|
Explanation: The SQL statement could not be executed because resource
'resource-name' of type 'resource-type' was not available at the time for
the reason indicated by 'reason-code'. Refer to Table 3 in Appendix B,
"Problem determination" in item PROBLEM_DETERMIN for an explanation of
resource type codes. Refer to "DB2 Codes" for an explanation of the given
reason code.
Regards,
jai |
|
Back to top |
|
|
ahr
New User
Joined: 24 Apr 2007 Posts: 14 Location: India
|
|
|
|
Give a complete description whther you are using this SQL statements in a program or in SPUFI. |
|
Back to top |
|
|
|