The Active Network
ActiveMac Anonymous | Create a User | Reviews | News | Forums | Advertise  
 

  *  

  Introducing Table-Valued Parameters - Part 1
Time: 22:06 EST/03:06 GMT | News Source: Microsoft | Posted By: Jonathan Tigner

I am Himanshu. I am a program manager in the ADO.Net team. Today I am going to talk about Table-Valued parameters that are new in SQL Server 2008. About 4 years back I was writing an application which involved adding metadata about my music library into a database. The database had a table each for storing Artists, Albums, and Songs. While adding an Album of songs into the database I had to insert data into each of these tables. I had defined stored procedure for inserting data into each of the tables. In the first iteration there was a bug in the code due to which these operations were not being done in a single transaction. Needless to say this bug surfaced as a data-corruption issue later on. Once identified the fix was trivial, ensure that all commands are executed in a single transaction. However, what I would have really liked to do was to be able to call a single stored procedure to which I could pass the metadata about the Album and the list of songs at the same time. But there was no good way of accomplishing this back then. I was programming against SQL Server 2000 back then. I am excited to say that now with the new table-valued parameters in SQL Server 2008 I can finally write a single stored procedure that will let me accomplish this without any kind of hacks!

Table-Valued parameters, as the name suggests lets you pass a table as parameter to a stored procedure. In order to use table-valued parameters you need to define a table type and then use the table type in the definition of the stored procedure. Let me illustrate this with the help of an example. I am going to first create a table type named Songs_TableType with two columns, Title and TrackNumber. Then I will use it in a stored procedure to pass a table as parameter.

Write Comment
Return to News

  Displaying 726 through 741 of 741
Prev | First
  The time now is 12:21:11 PM ET.
Any comment problems? E-mail us
#726 By 4240821 (185.100.168.238) at 12/2/2025 7:35:45 AM
https://telegra.ph/trump-shocks-world-with-surprise-comeback-as-election-chatter-explodes-11-20-2
https://telegra.ph/City-Grinds-to-a-Halt-as-weer-Weather-Front-Unleashes-Record-Breaking-Storm-11-20-6
https://telegra.ph/NYT-Connections-Answers-Unravel-the-Puzzle-in-Minutes-11-20
https://telegra.ph/Miss-Universe-Jamaica-Shines-Bright-Contestant-Breaks-Barriers-and-Sets-New-International-Standards-11-20
https://telegra.ph/mensik-Drops-Bold-Blazing-Comeback-That-Has-the-Internet-Ablaze-11-20
https://telegra.ph/Wellington-Unveils-Revolutionary-Green-Architecture-Thats-Taking-the-World-by-Storm-11-20-3
https://telegra.ph/ellen-kessler-zwillinge-ignite-a-global-buzz-with-their-dazzling-double-debut-on-the-red-carpet-11-20-3
https://telegra.ph/NVIDIA-Earnings-Soar-Past-Forecasts-as-AI-Demand-Fuels-Record-Revenue-11-20
https://telegra.ph/franco-drops-electrifying-comeback-trailer-igniting-a-social-media-firestorm-11-20-2
https://telegra.ph/Cavaliers-vs-Rockets-Game-of-the-Week-in-the-NBA-11-20

#727 By 4240821 (185.100.168.238) at 12/2/2025 5:26:50 PM
https://smutty.su/activfh2e555c35
https://smutty.su/activ4ae522fdgg
https://smutty.su/activ211h43e1ea
https://sluts.su/activd1c314a2eg
https://sexonly.su/activ15g1d1c2cb
https://lustful.su/activh2faf35bgc
https://nsfw.su/activ1d431d3he3
https://lustful.su/activ115a33b5ec
https://sluts.su/activhhfcfgdcf4
https://sluts.su/activ54dc3ea2aa

#728 By 4240821 (185.100.168.238) at 12/3/2025 4:11:31 PM
https://smutty.su/activ1c2bc41413
https://sluts.su/activ3geccee4gd
https://sluts.su/activf21e3cdh52
https://smutty.su/activcb2ca5a133
https://nsfw.su/activ3bg55235f5
https://nsfw.su/activ441cb5hfea
https://smutty.su/activ1a54h12cbd
https://smutty.su/active1a2gdc2eb
https://smutty.su/activfec53dghaa
https://sluts.su/activfhe3b3ched

#729 By 4240821 (185.100.168.238) at 12/3/2025 8:10:28 PM
https://telegra.ph/Nintendo-Switch-2-revolutionizes-gaming-with-groundbreaking-features-and-immersive-experiences-11-28-2
https://telegra.ph/PlayStation-5-Revolutionizes-Gaming-with-Unmatched-Speed-and-Immersive-Power-11-28
https://telegra.ph/Samsung-Sets-Bar-Higher-with-Latest-Galaxy-Fold-Outselling-Competitors-by-30-11-28
https://telegra.ph/new-yorker-launches-fearless-comeback-as-city-nightlife-roars-back-to-life-11-28-3
https://telegra.ph/Marco-Borsatos-Latest-Hit-Breaks-Streaming-Records-Worldwide-11-28
https://telegra.ph/Samsung-ignites-innovation-with-revolutionary-foldable-screen-tech-11-28
https://telegra.ph/Sarah-Paulsen-Dominates-Håndbold-The-Rising-Star-Transforming-the-Game-11-28-2
https://telegra.ph/Simon-Dallows-Bold-Move-The-Surprising-Turn-in-the-Political-Landscape-11-28
https://telegra.ph/Black-Friday-Blitz-Unbelievable-Deals-That-Will-Blow-Your-Mind-11-28-3
https://telegra.ph/Gilmorova-Děvčata-Rok-v-Životě-Nejvíc-Očekávané-Série-Toto-Léto-11-28

#730 By 4240821 (185.100.168.238) at 12/4/2025 6:03:37 AM
https://telegra.ph/Global-travel-chaos-as-storms-push-flights-cancelled-across-Europe-leaving-thousands-stranded-11-26
https://telegra.ph/Pauline-Hanson-Sparks-Nationwide-Debate-with-Bold-New-Policy-Proposal-11-26
https://telegra.ph/Transport-NSW-to-Revolutionize-Public-Transit-with-New-Electric-Bus-Fleet-11-26
https://telegra.ph/rottamazione-quinquies-sparks-auto-market-frenzy-as-fifth-round-of-scrappage-incentives-goes-live-11-26
https://telegra.ph/Sixers---Magic-Philly-Stuns-Orlando-in-OT-Thriller-11-26
https://telegra.ph/euromillions-jackpot-explodes-to-record-high-as-life-changing-wins-flood-in-11-26
https://telegra.ph/ira-sends-shockwaves-through-markets-as-AI-giants-unveil-disruptive-breakthrough-11-26
https://telegra.ph/nico-williams-Nets-Iconic-Late-Goal-as-Bilbao-Seal-Sensational-Derby-Win-11-26-2
https://telegra.ph/neapel--qarabağ-erupts-in-explosive-showdown-as-fans-brace-for-a-historic-night-11-26-2
https://telegra.ph/Kicks-on-Fire-New-Sneaker-Drop-Triggers-Global-Frenzy-11-26

#731 By 4240821 (185.100.168.238) at 12/4/2025 6:39:48 PM
https://telegra.ph/psg-tottenham-Paris-giants-explode-as-Spurs-pull-off-a-stunning-upset-11-26
https://telegra.ph/Shocking-Reveal-ruben-van-gucht-vrouwen-Ignite-Global-Frenzy-in-a-Nightclub-Thriller-11-26-2
https://telegra.ph/hong-kong-ignites-skyline-climbs-to-record-heights-as-a-tech-boom-erupts-11-26-17
https://telegra.ph/Aids-breakthrough-prompts-global-push-for-life-saving-therapies-11-26
https://telegra.ph/Fortnite-Servers-Crash-in-Epic-Battle-Leaving-Millions-in-the-Lurch-During-Prime-Match-Hours-11-26
https://telegra.ph/PSG-vs-Tottenham-Clash-of-Titans-Sparks-European-Firestorm-11-26-2
https://telegra.ph/psg-unleash-blistering-comeback-to-seal-historic-title-charge-11-26-3
https://telegra.ph/Vincent-Kompany-Sparks-Shock-Comeback-Unleashes-Bold-Tactics-to-Fuel-Title-Charge-11-26
https://telegra.ph/Liverpool-vs-PSV-Clash-of-Champions-Set-to-Ignite-the-Pitch-11-26
https://telegra.ph/USA-Prepares-for-a-Historic-Thanksgiving-2025-with-Unity-and-Innovation-11-26

#732 By 4240821 (185.100.168.238) at 12/5/2025 8:22:07 AM
https://sluts.su/activhgh342febb
https://smutty.su/activ4bc4g2h5he
https://smutty.su/active42fbc4bfb
https://lustful.su/activ2dh3h3223e
https://nsfw.su/activdah3312d5c
https://sluts.su/activc342e22b22
https://nsfw.su/activ4d5af1gfd2
https://smutty.su/activa4bcadd51f
https://lustful.su/activf1cc45e4f3
https://sexonly.su/activah5bg5bgec

#733 By 4240821 (185.100.168.238) at 12/5/2025 8:27:38 AM
https://telegra.ph/Newcastle-Braces-for-Unprecedented-Weather-Storm-11-28
https://telegra.ph/qmusic-Unleashes-Explosive-New-Album-Shatters-Streaming-Records-11-28
https://telegra.ph/ruth-codd-steals-the-red-carpet-with-a-daring-look-that-has-the-internet-buzzing-11-28
https://telegra.ph/iPhone-17-Revolutionary-AI-Integration-Changes-Everything-11-28
https://telegra.ph/louise-mcsharry-unleashes-jaw-dropping-podcast-twist-that-fans-wont-forget-11-28
https://telegra.ph/Record-Breaking-Heatwave-Sparks-Citywide-Mayhem-chch-news-Reports-Emergency-11-28
https://telegra.ph/angelo-stiller-Teases-Time-Traveling-Barista-Mystery-Fans-Go-Wild-11-28-2
https://telegra.ph/LEGO-Unveils-Mind-Blowing-New-Set-The-Ultimate-Challenge-for-Adults-11-28
https://telegra.ph/Peder-Kjøs-Rocks-Psychology-World-With-Revolutionary-Research-11-28
https://telegra.ph/frida-karlsson-unleashes-explosive-comeback-that-rewrites-the-record-books-11-28

#734 By 4240821 (185.100.168.238) at 12/5/2025 9:03:11 PM
https://telegra.ph/Pole-drama-as-lando-norris-shocks-grid-with-blistering-lap-11-29
https://telegra.ph/Everton-and-Newcastle-Clash-Sparks-Unforgettable-Football-Showdown-11-29
https://telegra.ph/Jingle-Bell-Heist-Christmas-Chaos-as-Thieves-Strike-11-29
https://telegra.ph/milan-mot-lazio-erupts-in-explosive-Serie-A-showdown-as-title-hopes-ignite-11-29
https://telegra.ph/Everton---Newcastle-High-Octane-Derby-Delivers-Late-Drama-11-29-2
https://telegra.ph/Bojana-Popović-Shatters-Handball-Records-with-Unstoppable-Coaching-Mastery-11-29
https://telegra.ph/man-city-vs-leeds-united-erupts-in-a-fireworks-filled-showdown-as-title-hopes-hang-in-the-balance-11-29-5
https://telegra.ph/Laliga-Firestorm-Last-Second-Goal-Sparks-Explosive-Derby-Victory-and-Reignites-Title-Chase-11-29
https://telegra.ph/Xbox-Takes-Center-Stage-as-Blockbuster-Release-Smashes-Global-Sales-Records-11-29
https://telegra.ph/tom-stoppard-returns-with-a-mind-bending-new-play-that-rewrites-reality-on-stage-11-29

#735 By 4240821 (185.100.168.238) at 12/6/2025 12:41:59 AM
https://telegra.ph/Breaking-News-RS-Uncovers-Hidden-Secrets-That-Will-Change-Everything-11-20
https://telegra.ph/Pierre-Garnier-Unveils-Groundbreaking-Innovation-Set-to-Transform-the-Industry-11-20-2
https://telegra.ph/trump-shocks-world-with-surprise-comeback-as-election-chatter-explodes-11-20-2
https://telegra.ph/City-Grinds-to-a-Halt-as-weer-Weather-Front-Unleashes-Record-Breaking-Storm-11-20-6
https://telegra.ph/NYT-Connections-Answers-Unravel-the-Puzzle-in-Minutes-11-20
https://telegra.ph/Miss-Universe-Jamaica-Shines-Bright-Contestant-Breaks-Barriers-and-Sets-New-International-Standards-11-20
https://telegra.ph/mensik-Drops-Bold-Blazing-Comeback-That-Has-the-Internet-Ablaze-11-20
https://telegra.ph/Wellington-Unveils-Revolutionary-Green-Architecture-Thats-Taking-the-World-by-Storm-11-20-3
https://telegra.ph/ellen-kessler-zwillinge-ignite-a-global-buzz-with-their-dazzling-double-debut-on-the-red-carpet-11-20-3
https://telegra.ph/NVIDIA-Earnings-Soar-Past-Forecasts-as-AI-Demand-Fuels-Record-Revenue-11-20

#736 By 4240821 (185.100.168.238) at 12/6/2025 10:01:02 AM
https://sexonly.su/activfd114chd44
https://smutty.su/activd2bg5b131b
https://sexonly.su/activghb55c4eg1
https://sluts.su/activ34dccbgbcb
https://sexonly.top/activ2a5a43h51b
https://smutty.su/activcb12d4b122
https://smutty.su/activdc2caeg4e3
https://sluts.su/activ1hhgffhbbb
https://smutty.su/activh42ff2dg4e
https://lustful.su/activ53fg3ge2ag

#737 By 4240821 (185.100.168.238) at 12/7/2025 3:49:41 PM
https://sexonly.top/activ441e1g3g2c
https://nsfw.su/activffd3d4c5cc
https://sexonly.su/activee2b33243b
https://lustful.su/activf4dfe53hfb
https://sexonly.top/activgbaa4agc4h
https://lustful.su/activc532ahcgh3
https://sexonly.top/activ34112hb3gd
https://sluts.su/activa1ha1dd1d2
https://smutty.su/activegac4gbgf3
https://nsfw.su/activ3e51e1feee

#738 By 4240821 (185.100.168.238) at 12/9/2025 9:16:03 AM
https://telegra.ph/Tommy-Lee-Jones-The-Last-Gunfighter-Set-for-a-Wild-Ride-in-the-Wild-West-12-04
https://telegra.ph/Canada-Revenue-Agency-Issues-Urgent-Tax-Warning-Dont-Ignore-These-Red-Flags-12-04
https://telegra.ph/The-Weeknds-Latest-Album-A-Sonic-Masterpiece-That-Will-Leave-You-Breathless-12-04
https://telegra.ph/Koni-de-Winters-Bold-New-Look-Steals-the-Met-GalaBut-Is-It-Too-Much-12-04
https://telegra.ph/FLASHSCORE-LIVE-SCORES-AT-THE-SPEED-OF-LIGHT-12-04
https://telegra.ph/Man-United-vs-West-Ham-Old-Trafford-Battle-Ends-in-Dramatic-Comeback-as-Hammers-Snatch-Historic-WinMourinhos-Men-Collapse-in-Fin-12-04
https://telegra.ph/Wan-Bissakas-Late-Goal-Secures-Draw-for-United-12-04
https://telegra.ph/Valmont-Takes-Over-The-New-Era-of-Luxury-Unveiled-12-04
https://telegra.ph/Sandra-Richters-Shocking-Exit-How-a-Decades-Long-Career-in-AI-Ethics-Collapsed-Under-PressureAnd-What-It-Means-for-the-Future-of-12-04
https://telegra.ph/SC-Magdeburg-in-Shock-Historic-3-1-Comeback-Win-Over-RB-Leipzig-Ends-Bundesliga-Title-HopesBut-Is-This-the-Turning-Point-for-Eur-12-04

#739 By 4240821 (185.133.173.206) at 12/10/2025 11:59:28 AM
https://telegra.ph/Record-Breaking-Stunner-UEFA-Europa-League-Night-Ends-in-Dramatic-Last-Gasp-Win-11-28-2
https://telegra.ph/Cowboys-vs-Chiefs-Thunder-on-the-Gridiron-as-Rivalry-Roars-Back-11-28-2
https://telegra.ph/Jens-Dendoncker-Sparks-Breakthrough-Performance-to-Transform-Midfield-Dynamics-11-28
https://telegra.ph/Ravens-vs-Bengals-Explosive-Showdown-Set-to-Rewrite-the-AFC-North-11-28-3
https://telegra.ph/Kimberly-Guilfoyle-Shatters-Stereotypes-with-Bold-New-Vision-in-Political-Arena-11-28
https://telegra.ph/Mortgage-rates-plummet-to-historic-lows-fueling-unprecedented-homebuyer-enthusiasm-11-28
https://telegra.ph/Millie-Bobby-Brown-Sparks-Fashion-Revolution-with-Bold-New-Look-11-28-3
https://telegra.ph/Sarah-Paulsen-Dominates-Håndbold-The-Rising-Star-Transforming-the-Game-11-28-3
https://telegra.ph/Mercadona-Unleashes-Mega-Sale-Prices-Plunge-as-Shoppers-Rush-Aisles-11-28
https://telegra.ph/Lego-Revolution-Building-Dreams-Brick-by-Brick-11-28-2

#740 By 4240821 (185.133.173.206) at 12/11/2025 1:45:29 AM
https://telegra.ph/Tottenhams-Miracle-Escape-Brentfords-Late-Drama-Secures-Draw-12-06
https://telegra.ph/Mini-Crossword-Answers-Your-Daily-Puzzle-Hack-Revealed-12-06
https://telegra.ph/RTS-Sport-Unprecedented-Victory-Shatters-Championship-Records-12-06
https://telegra.ph/Luna-Al-Shibl-Breaks-the-Internet-with-Stunning-New-Look-12-06
https://telegra.ph/Kalen-DeBoers-Bold-Move-Revolutionizing-the-Industry-12-06
https://telegra.ph/Clash-of-Grit-and-Glory-Man-City-Faces-Off-Against-Sunderland-in-a-High-Stakes-Showdown-12-06-2
https://telegra.ph/Max-Verstappen-Unstoppable-Force-on-the-Track-12-06
https://telegra.ph/Katy-Perrys-Shocking-Stage-Transformation-Leaves-Fans-Breathless-12-06
https://telegra.ph/Bournemouth-Mot-Chelsea-Clash-Sparks-Fan-Frenzy-in-Premier-League-Showdown-12-06
https://telegra.ph/Alavés---Real-Sociedad-Basque-Derby-Showdown-12-06

#741 By 4240821 (185.133.173.206) at 12/11/2025 2:33:13 PM
https://telegra.ph/Nimes-The-Hidden-Gem-of-the-South-Thats-Finally-Getting-Its-Due-12-02
https://telegra.ph/Miguel-Angel-Ramirez-Breaks-Silence-on-Championship-Glory-and-Future-Plans-12-02
https://telegra.ph/Bad-Sachsa-The-Dark-Side-of-a-Once-Promising-Town-12-02
https://telegra.ph/Grace-Hayden-The-Unseen-Grace-in-the-Shadows-of-History-12-02
https://telegra.ph/DPD-Launches-Revolutionary-Same-Day-Delivery-Guarantee-Nationwide-12-02
https://telegra.ph/JAVI-POVES-THE-SENSATION-ROCKING-THE-SPORTS-WORLD-12-02
https://telegra.ph/Brandstiftung-Shocking-Arson-Attack-Rocks-Historic-Town-12-02
https://telegra.ph/Ajax-Fireworks-Light-Up-Sky-in-Explosive-Finale-12-02
https://telegra.ph/Vincenzo-Grifo-Unstoppable-Force-Ignites-Borussia-Monchengladbach-Surge-12-02
https://telegra.ph/Tampa-Weather-Sparks-Sunshine-Surge-Prepare-for-Record-Breaking-Temperatures-This-Week-12-02

Write Comment
Return to News
  Displaying 726 through 741 of 741
Prev | First
  The time now is 12:21:11 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *