- create or alter procedure select_profile_data
- @id int
- as
- begin
- select COUNT(*) from Table1 where U_ID=@id,
- select COUNT(*) from Table2 where U_ID=@id
- end;
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Nilesh ShahRank #42 · 34.2K reputationPosted Nov 20, 2017, 5:06 AM EST
Posted Nov 21, 2017, 6:00 AM EST