Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can any one help me to make this query to run using teradata assistant

Status
Not open for further replies.

naren044

Programmer
May 1, 2008
7
IN
Hi all

In this query the syntax is correct but I dont no why its not running...
Can you check it out please?

Query:
SELECT CASE
WHEN party_x_source.partytypeid IN
(SELECT party_x_source.datasourceid
FROM party_x_source)
THEN 1
ELSE 0
END
FROM party_x_source;

Thank you
Regards,
Narendra
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top