Question

Can anybody please tell me what user defined data type is in sql server and also how to create one.

And can i create a user defined datatype which resembles a .net datatable and pass this datatable as parameter to a stored procedure.

Was it helpful?

Solution

See this introductory article here: "What's the Point of [SQL Server] User-Defined Types?"

This answer on SO explains how to pass these UDT types to a stored procedure: Classic ADO.NET - How to Pass UDT To Stored Procedure?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top