MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
When I execute it:
ALTER PROCEDURE dxf1s_qqq.Getup_GetFriends -- Add the parameters for the stored procedure here @FriendListID varchar(max), @FacebookID bigint OUTPUT, @CurrentL float OUTPUT, @CurrentP float OUTPUT, @CurrentU int OUTPUT, @Created datetime OUTPUT AS -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON; BEGIN SELECT @FacebookID = FacebookID, @CurrentL = CurrentL, @CurrentP = CurrentP, @CurrentU = CurrentU, @Created = Created FROM Getup_Log.SplitInts(@FriendListID, ','); RETURN END
I get null when I execute it, and I do have a data inside my table with these two FacebookID's
Running [dxf1s_qqq].[Getup_GetFriends] ( @FriendListID = 3391443009,3391443008, @FacebookID = <DEFAULT>, @CurrentL = <DEFAULT>, @CurrentP = <DEFAULT>, @CurrentU = <DEFAULT>, @Created = <DEFAULT> ). Procedure or function 'Getup_GetFriends' expects parameter '@FacebookID', which was not supplied. No rows affected. (0 row(s) returned) @FacebookID = <NULL> @CurrentL = <NULL> @CurrentP = <NULL> @CurrentU = <NULL> @Created = <NULL> @RETURN_VALUE = Finished running [dxf1s_qqq].[Getup_GetFriends].
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.