Skip to Content
0
Former Member
Jul 05, 2012 at 06:35 AM

select count ( distinct <variable> )

554 Views

Hi Experts,

Good day.

I have a requirement in which I have to pass a variable dynamically to the below syntax.

select count ( distinct <var1> ) ..

Here <var1> has to be passed dynamically.

Please help on how to do this. If there are any other alternatives which does the same functionality, please let me know.

Thanks in advance.

Br,

Harish