• SQL command from Variable should work..What is the Error that you are getting ? Are the SSIS variable data types same as your Function variables ??