Am using DB2 database connection with PHP. When I run the particular query, it throws the below error
Error : db2_fetch_assoc(): Fetch Failure in...
The query will be like this.
SELECT UNIX_TIMESTAMP(concat('2011-07-18 ', hour)) AS orderTime from schedules
The query executes well. But When I try to fetch the records, it throws error. The hour value will be like '08:30:00'