Hi All,
Can you please help me out why am I getting this error when i try to add a prompt in the derived table
below is the simple DT table Query.
select
ENTITY TYPE,
COL 2,
COL 3,
'
'
'
'
COL 7,
date
FROM Table name
WHERE ENTITY TYPE = 'AA'
AND date IS NULL
I'm trying to add a prompt as a value for where condition as below
select
ENTITY TYPE,
COL 2,
COL 3,
'
'
'
'
COL 7,
date
FROM Table name
WHERE ENTITY TYPE = @Prompt('Enter Entity type :','A','India Books Lov':'Col 0',Mono,Free,Not_Persistent,,User:-1,)
AND date IS NULL
But I get error when I try to validate as below
Invalid Prompt definition. (IES 00005)
Can anyone help me out with this ASAP.
Thanks,
Niki