New feature! Upgrade and increase expert visibility of your issues with Priority Questions.
Create Procedure [dbo].[AAA] @StoredProcName VarChar(100), @TermID INT = Null, @User VarChar(40) = Null, @Action VarChar(100) = Null AS SET NOCOUNT ON If exists(Select * from Clients..Licenses where [Name] like 'Clare%') Begin Set @StoredProcName = @StoredProcName + '_192' Case When @StoredProcName = 'AAA_192' then Execute @StoredProcName @User,@Action When @StoredProcName = 'AAA1_192' then Execute @StoredProcName Else Execute @StoredProcName @TermID,@User,@Action End End GO
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.