Geeks Talk

Prepare for your Next Interview




DB2 Error

This is a discussion on DB2 Error within the DB2 forums, part of the Databases category; Hi i got the following error while compiling a db2 program . What is the solution ? an unexpected token "union select 'y' " was found following "ff_dt > current ...


Go Back   Geeks Talk > Databases > DB2

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-16-2007
Expert Member
 
Join Date: Feb 2007
Posts: 1,279
Thanks: 0
Thanked 164 Times in 138 Posts
Geek_Guest is on a distinguished roadGeek_Guest is on a distinguished road
DB2 Error

Hi i got the following error while compiling a db2 program .

What is the solution ?

an unexpected token "union select 'y' " was found following

"ff_dt > current date".

Expected tokens may include: "". Sqlstate=42601 and my query looks like this select 'y' into :ws-future-exist-sw from con01_cust_cntct where aid_cd = :ws-aid-cd-only and cntct_eff_dt > current date union select 'y' into :ws-future-exist-sw from con01_cust_cntct where aid_cd = :ws-aid-cd-comp and cntct_eff_dt > current date


this question asked by dinesh kumar
Reply With Quote
Sponsored Links
Reply

  Geeks Talk > Databases > DB2


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Error-26377....need help! Flanker LoadRunner 8 02-20-2008 11:44 PM
Report Net on XP gives error, Cryptographic error has occured chandrabhoopathy1 Data Warehousing 0 05-24-2007 07:07 PM
Forms 6i error Geek_Guest Oracle 1 04-30-2007 06:23 AM
Script Error sharifhere Unix/Linux 2 01-16-2007 07:38 AM
500 Server Error in PHP Martin Lucas PHP 1 05-30-2006 07:04 PM


All times are GMT -4. The time now is 05:13 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved