Answers for "pass array sql parameter"

SQL
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 "pass array sql parameter"

Code answers related to "SQL"

Browse Popular Code Answers by Language