Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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 Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 06-16-2007
Expert Member
 
Join Date: Feb 2007
Posts: 1,279
Thanks: 0
Thanked 192 Times in 154 Posts
Geek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura about
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

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


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:52 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved