With Out Using The Temporary tables(# tables).
With Out Using The Temporary tables(# tables).
You can try that using case statment.
If you want to do it dynamically better to use Procedure for that .
Hi all i am new to this forum ...