Answers for "tsql pass array to stored procedure"

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 "tsql pass array to stored procedure"

Code answers related to "SQL"

Browse Popular Code Answers by Language