Created a stored procedure that works to create and increment file number counter that we would like to use in a metadata field. I am using a Custom SQL Query for this:
After this query, there is an Assign Token Values and when trying to use the returned value from the custom query, the only options available are Results Found and Results Count.
The stored procedure return a result of the file number we want and in the desired format in SQL Management Studio, but this is not available for selection in the Assign Token tool. How can I make the result available?