Is it possible to use user defined table type inside another user defined table type in SQL (nested user define table types).
CREATE TYPE A AS TABLE
(
A_Id int
)
GO
CREATE TYPE B AS TABLE
(
B_Id int,
A_Id A --Need To Use A as data type in B
)
GO
I have senior to send the data table of rows with in a table.
Table
1.Item1
1.Vendor1
2.Vendor2
2.Item1
1.Vendor1
2.Vendor2
Please help how to send the table data within table rows from asp.net to sql. through looping or is there any simple way to send the nested table data to server.