Hi All,
can anyone give me any idea about how to take column value into a variable. FOR EXAMPLE -
Declare TD int; Declare Cnew Varchar(10);
SET @a = Concat('Select Count(*) into ', TD, 'From tb1 Where C1 =', Cnew, ';');
how to take the count(*) into TD????
Thanks in advance.