executescalar in sql server

Solutions on MaxInterview for executescalar in sql server by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "executescalar in sql server"
Josefina
09 Feb 2017
1		DECLARE @IsDuplicate BIT
2  	    
3		IF EXISTS(SELECT * FROM dbo.ListData WHERE [description] = @description AND [dataTypeId] = @dataTypeId) -- Checking if duplicate name
4					SET @IsDuplicate = 1
5
6	    ELSE
7			BEGIN
8            
9            END
10