ALTER proc [cnt].[user_project_count]
@p_user_id bigint -- not null
,@p_project_count int = null out
as
--
-- Returns the count of projects for specified user identified by user_id.
-- If the user is linked with no projects then returns 0
-- If the user is linked with one project then returns 1
-- If the user is linked with more then one project then returns 2
--
Cho dù với bất kỳ lý do gì, tớ không cho rằng đây là API tốt.
No comments:
Post a Comment