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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -