I am having no luck using the following SQL. The logs show the literal text SREG(filename)instead of the filename picked up by the file listener. Evaluate SQL is set to TRUE within the SQl object properties as well. Any help would be greatly appreciated.
update ETL_File_Expectations set LastArrival = GETDATE() where Product = 'APSoftware' and Filename = SREG(filename)This message has been edited. Last edited by: <Kathryn Henning>,
Windows, All Outputs
When you create the SQL DML statement, you can use named tokens to represent the values to be used in the statement.
Update ETL_File_Expectations set LastArrival = GETDATE() where Product = 'APSoftware' and Filename = '?fName'
Then in the user properties section of the agent, represent the values as name/value token pairs, as listed in the following table:
SREG Name/SREG Value
|Powered by Social Strata|