Hi,
Actually my real query which i am using to test datawarehouse is
Query 2:
Select
count(*)
from
mediafact_stg m
Where
m.action_id in(1004,1005)
AND not exists(select 'x'
from
Media_event me...
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
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;
Cant i use subquery in when part of case?
Hi,
The query which i have written is not running in teradata, I dont know why, syntactically it is correct but not running Giving an error message.
Do you have any alternative solution for this query?
Query:
Select
count(*)
from
mediafact_stg m
Where
m.action_id...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.