we can use it any where ,it just helps us in dynamic usage of variable(run time usage of vairable) its not related with queries .

Thanks
lnr