sql - Inserting Varbinary(max) with a stored procedure -
as per usual google searches havent quite cleared exact problem , cant extract solution them, , wish understand situation. here stored proc:
create procedure insertplayerimage @playerid varchar(9), @profileimage varbinary(max), @pending char(1) insert playerimage( playerid, profileimage, pending) values( @playerid, @playerimage, @pending)
go
i created table profileimage varbinary(max) , works, table there. procedure says must declare scalar variable @playerimage
i have no idea why
yes have put @profileimage in stored procedure method, not @playerimage.
Comments
Post a Comment