Hello,
How can I utilize a User Parameter in the SQL To Run After Write?
I have a User Parameter (Text Value) with a default value of parcels@DateTimeFormat(@DateTimeNow(),%Y%m%d)
The parameter works when setting the table name for the new table in the DB and the table is properly created:
But when the user parameter is used in the SQL To Run After Write, it causes an error. Is that because the value of the User Parameter contains formatters? This line in the SQL:
UPDATE '$(ImportTableName)'
(I've tried with and without the quotes surrounding the parameter, btw)
evaluates to this in the console (and the SQL):
UPDATE 'parcels@DateTimeFormat(@DateTimeNow(),%Y%m%d%H%M)'
How can I use this parameter in the SQL? Alternatively, how can I utilize a name that is generated at workspace runtime for the table name and subsequently reference it in the SQL?