I have an SSIS package level variable User::SqlVersion String
I have an execute sql task
SET NOCOUNT ON
SELECT SERVERPROPERTY('productversion')
as SqlVersionFromQuery
I have the ResultSet = Single_Row and the variable above as the result set with a name of 0
I have the forceExecutionValue type = String and forceexecutionvalue=True and I'm getting the error:
Unsupported data typ eon result set binding SqlVersionFromQuery
Any ideas on what I may be doing wrong? The only way I've been able to set any variables is with variable type of Object and then using a for each loop to shred it - but when I only want a single value it just seems like a waste to do that.