Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

3707 Syntax error,expected something like a '"||"'or a 'FROM' keyword between a string or a Unicode character literal - forum topic by anvaysule

$
0
0

Hi,
I am getting the following syntax error when I am trying to run my Query:
3707 Syntax error,expected something like a '"||"'or a 'FROM' keyword between a string or a Unicode character literal and the integer '20132014'.
 
I have narrowed down the error to the following portion of the WHERE clause in the SQL:

a11.BRDCAST_QTR_ID in (SELECT BRDCAST_QUARTER_ID FROM CALENDAR_BROADCAST_QUARTER WHERE BRDCAST_YEAR_ID = (substring('a11.DEAL_YEAR_CD in ('20132014')' from POSITION('(' IN 'a11.DEAL_YEAR_CD in ('20132014')') + 1 for 8) )) 

Please Help..

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>