Hello,
I have a global variable that represents a file name and I would like to use this variable inside of a Execute SQL Task when I'm writing a query.
The query I have in the Execute SQL Task is: CREATE TABLE SCHEMA.?
This is supposed to create a table inside the Netezza system which is where my OLEDB is connected to. (The connection is successful)
The problem that I'm getting when I look at the output is: ERROR: 'CREATE TABLE SCHEMA.'TableName' ' Expecting an identifier found a "keyword".
As you can see, it adds quotations around my tablename. In the parameter mapping tab inside of the Execute SQL Task Editor, I set the variable's datatype to NVARCHAR and my variable is stored as a string. How can I access the value of the variable without the quotations?