jeudi 9 avril 2015

Create T-SQL Function with table parameter


Vote count:

0




I needed to write function with table parameter.


an example:



CREATE FUNCTION getParentByBrandList
( @_BrandList TABLE(
BR_ID INT, BR_Name NVARCHAR(150), BR_ParentBrandID INT, BR_MasterBrandID INT, BR_Role INT,
BR_State INT, BR_OwnerID INT, BR_OwnerIP NVARCHAR(50), BR_CreateDate DATETIME, BR_UpdaterID INT,
BR_UpdaterIP NVARCHAR(50), BR_UpdateDate DATETIME
)
)


How can I do?


Thanx



asked 24 secs ago







Create T-SQL Function with table parameter

Aucun commentaire:

Enregistrer un commentaire