title: SSIS Execute SQL task based on parameter
body: <p>Can i do something like below, let me know
  IF @parameter=1 BEGIN ...query... END IF @parameter=2 
  Need the correct syntax if it is possible.
  It's OLE DB connection. 
  Not a Stored Proc. just a sql query</p>