Answers for "sql server procedure input array"

SQL
0

tsql array parameter

SELECT ProductId, Name, Tags  
FROM Product  
WHERE 'clothing' IN (SELECT value FROM STRING_SPLIT(Tags, ','));
Posted by: Guest on October-17-2020
0

pass array parameter to stored procedure c#

CREATE TYPE dbo.IDList
AS TABLE
(
  ID INT
);
GO

CREATE PROCEDURE dbo.DoSomethingWithEmployees
  @List AS dbo.IDList READONLY
AS
BEGIN
  SET NOCOUNT ON;

  SELECT ID FROM @List; 
END
GO
Posted by: Guest on June-21-2020

Code answers related to "sql server procedure input array"

Code answers related to "SQL"

Browse Popular Code Answers by Language