VishalMistry
4th May 2016, 13:29
hi,

Is there any way to create variable dynamically ? The reason for asking this is I want to export any table dynamically (table code will be inputted by user) and want to use in where condition in dynamic sql.

I shall be grateful if anybody can guide me with suitable examples.

Vishal

bhushanchanda
4th May 2016, 17:12
Hi,

Check this thread (http://www.baanboard.com/baanboard/showthread.php?t=42287) for a similar requirement.

Ajesh
4th May 2016, 19:41
If i may ask, what are you going to in the where condition of the dynamic sql? Can you elaborate?