I use PDW and I have query which creates a list of tables to be dropped.
Table Q :
TableName
---------
a
b
c
d
e
a,b,c,d,e are the list of tables in the database which should be dropped.
I want to write a dynamic sql query which will drop the tables a to e listed in table Q without any human intervention.
Is it possible?