Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

executescalar in sql server

		DECLARE @IsDuplicate BIT
  	    
		IF EXISTS(SELECT * FROM dbo.ListData WHERE [description] = @description AND [dataTypeId] = @dataTypeId) -- Checking if duplicate name
					SET @IsDuplicate = 1

	    ELSE
			BEGIN
            
            END
 
PREVIOUS NEXT
Tagged: #executescalar #sql #server
ADD COMMENT
Topic
Name
8+9 =