Click here to Skip to main content
13,085,936 members (88,366 online)
Rate this:
Please Sign up or sign in to vote.
See more:
In SQL server, i want to creat a Table Valued parameter.In my Table Valued parameters are EmpID,RecData,insurID and also one Table Valued Parameters.
In sql server is it possible? can i create TVP inside another TVP?
please help me.
Posted 11-Apr-13 18:58pm
Updated 11-Apr-13 19:15pm
Mehdi Gholam 12-Apr-13 1:09am
What is TVP?
Prasad Khandekar 12-Apr-13 1:29am
Nope. best way is to create two tables and set a foreign key between them. You can then use JOIN to read data from these tables. I presume that you have one to many relation between these two so called TVP.
renjimaramanan mr 12-Apr-13 1:34am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Are you talking about primary and foreign keys?

See this: Primary and Foreign Key Constraints[^]
Create Foreign Key Relationships[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 3


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 12 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100