Use sp_executesql to deal with the Image type Parameter in SP
WhatIwantistorealisethisStoreProcedure.WhenexecutetheSP,iftheparameterisnotnullthenupdatethecorrespondfieldsorelsekeepitasoriginalvalue.EverybodyknowsthatIshouldusedynamicSQL.Iagreewithit.However,here