sql server - Incorrect syntax near 'RETURN'. when trying to return an image -


I am trying to return an image using this function:

  Create getDiverSignature Return (@IID Int) Return Image from Reverse Diver with Signal Diver WHERE diver_number = @id GO  

When I added this image to the diver table I was used : OpenRoseset (Bulk 'C: \' IIM

Not that how the return works either You set a result (the position In the case you will only use select and you do not use return ), or you will have to return a single value, eg:

  Declare @ret image; select @ret = diver_signature ...; Return @ Root;  

Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -