execute addNewItem @new, @KID, @EAN1, @namn, @pris, @Store,'';
I am trying to call a stored procedure addNewItem
, from another stored procedure which uses a cursor with select. Each time the variables (@new, @EAN, @KID, ...
) get their values processed, need to pass to this stored procedure addNewItem
, when I check the tables seems that the operations are not done which were expected to be done by addNewItem
.
Am i doing some mistake here, saw how to share data between store procedures but was difficult to understand at least for me. some help would be appreciable.