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 701 through 723 of 723
Prev | First
  The time now is 8:24:03 PM ET.
Any comment problems? E-mail us
#701 By 4240821 (45.192.45.37) at 11/17/2025 10:22:15 PM
https://telegra.ph/A-New-Era-in-MMA-Dawns-as-shavkat-rakhmonov-Takes-Center-Stage-11-16
https://telegra.ph/Ecuadors-Unexpected-Surge-How-a-Small-Nation-is-Making-Waves-on-the-Global-Stage-11-16
https://telegra.ph/Tracy-Cortez-Stuns-Fans-with-Unstoppable-Win-at-UFC-Heartstopper-11-16
https://telegra.ph/Emergency-Helicopter-Crash-Shocks-Wellington-Authorities-Scramble-for-Answers-11-16
https://telegra.ph/Revolutionary-Nursery-Designs-Boost-Child-Development-and-Environmental-Sustainability-11-16
https://telegra.ph/Eubank-vs-Benn-2-The-Thrilling-Rematch-11-16-2
https://telegra.ph/Eubank-vs-Benn-2-The-Unstoppable-Force-Meets-the-Immovable-Object-11-16
https://telegra.ph/Stockholm-busunfall-sparks-urgent-safety-overhaul-passengers-left-shaken-11-16
https://telegra.ph/Stranger-Things-Cast-Reunites-for-Final-Season-Mystery-11-16
https://telegra.ph/roman-kopylov-unveils-fictional-breakthrough-that-rocks-the-internet-11-16-3

#702 By 4240821 (82.115.4.230) at 11/17/2025 11:11:02 PM
https://nsfw.su/activfbbg25hf4f
https://lustful.su/activ45badbffca
https://sluts.su/activ1fec4dh5fh
https://nsfw.su/activfb4ad5fa31
https://nsfw.su/activ4e23adahch
https://sluts.su/activag124a34hg
https://nsfw.su/activfh5da3aa3e
https://sexonly.su/activ1f1hcd2gb1
https://sexonly.top/activc534h4fbcd
https://smutty.su/activbhfeddff3c

#703 By 4240821 (82.115.4.230) at 11/19/2025 8:56:01 AM
https://lustful.su/activ155e241bc2
https://smutty.su/activb1c245d4fc
https://sexonly.su/activ1hdb4cdfad
https://nsfw.su/activ2b1414h521
https://sluts.su/activg5b3aa2a34
https://sluts.su/activag2ebb23gg
https://lustful.su/activhda4a5aea5
https://sexonly.su/activeeb311ffb4
https://lustful.su/activgdhcdcfd3h
https://sexonly.su/activc2gdad5d3b

#704 By 4240821 (82.115.4.230) at 11/19/2025 11:11:44 AM
https://smutty.su/activ21bhbddgab
https://sluts.su/activ1aa21c4h4b
https://smutty.su/activgh3bdhcd5e
https://sluts.su/activd2aa2gdc11
https://sluts.su/activgcdcg4h5hg
https://smutty.su/activ5hf2fb35dh
https://sluts.su/activa5h144a55b
https://nsfw.su/activ524c1ed11f
https://sexonly.top/activad1fe1eehh
https://sexonly.su/activ2d4bhghheh

#705 By 4240821 (82.115.4.230) at 11/20/2025 6:27:09 PM
https://lustful.su/activcdbcffceh2
https://lustful.su/activef3af3aga2
https://sexonly.top/activ25ch4ad225
https://sexonly.su/activ331h51e4a4
https://lustful.su/activg3db3b5gg2
https://sexonly.top/activbdcgccbgef
https://sexonly.top/activbf1h4g3ca2
https://lustful.su/activgbfcd51a22
https://lustful.su/activa2da4h1cf3
https://sexonly.top/activh3gh2ac1ce

#706 By 4240821 (82.115.4.230) at 11/21/2025 8:49:34 AM
https://lustful.su/activ24behhe2gb
https://lustful.su/activ1ghgc333cg
https://lustful.su/activa4f245e3d1
https://sexonly.su/activ5dghfbdf51
https://sexonly.su/activ4hea425h35
https://smutty.su/activg3e413gff1
https://smutty.su/activdgf4bf55bb
https://sexonly.su/activge4hhfge3c
https://nsfw.su/activa2aecc414h
https://lustful.su/activ14aeefbg5g

#707 By 4240821 (45.192.45.37) at 11/21/2025 11:38:45 AM
https://telegra.ph/Explosive-Breakthrough-Shocks-Markets-as-Unseen-Tech-Emerges--vandaag-Goes-Viral-11-18
https://telegra.ph/Giannis-Goes-Supernova-as-Bucks-Stun-Rivals-in-Electric-Showdown-11-18
https://telegra.ph/assan-ouédraogo-stuns-the-world-with-a-secret-project-that-rewrites-the-rules-11-18
https://telegra.ph/lise-klaveness-sparks-global-spotlight-reshaping-footballs-future-11-18
https://telegra.ph/Dama-til-Takes-the-Spotlight-A-Saucy-Night-Out-That-Sparks-the-City-11-18
https://telegra.ph/Budget-Cuts-Spark-Nationwide-Protests-Government-Faces-Backlash-Over-Spending-Reductions-11-18
https://telegra.ph/Cavaliers-Rally-to-Defeat-Bucks-in-Thriller-Shocking-Playoff-Expectations-11-18
https://telegra.ph/Germany-vs-Slovakia-White-Knuckle-Showdown-Sparks-Last-Second-Thriller-11-18-3
https://telegra.ph/Loiodice-Secrets-Unveiled-The-Shocking-Truth-Everyones-Talking-About-11-18
https://telegra.ph/Thunder-Rolls-at-MetLife-Stadium-as-Fans-Ignite-a-Record-Breaking-Night-11-18

#708 By 4240821 (81.19.141.45) at 11/23/2025 4:08:30 AM
https://lustful.su/activhfgcac5cge
https://smutty.su/activ335db1g5hg
https://sluts.su/activ12dhdebccf
https://nsfw.su/activ34e1b4ag23
https://smutty.su/activf2bg5gbgdd
https://nsfw.su/activb3agc4c542
https://smutty.su/activa3aah4gdbc
https://lustful.su/activ15d3b5h313
https://smutty.su/activd144e543gc
https://sexonly.su/activ2ah52h1b4a

#709 By 4240821 (45.192.45.37) at 11/23/2025 3:49:46 PM
https://telegra.ph/Global-Celebrations-Ignite-with-Unprecedented-Spirit-on-International-Mens-Day-11-19
https://telegra.ph/Malis-Hidden-Gems-Spark-Global-Cultural-Renaissance-11-19
https://telegra.ph/Weather-Warning-Extreme-Heatwave-Sweeps-Across-the-Nation-11-19
https://telegra.ph/Magne-Myrmo-Unveils-Groundbreaking-Innovation-Set-to-Transform-the-Industry-Overnight-11-19
https://telegra.ph/Epstein-Exposé-Inside-the-Hidden-Billionaires-Club-That-Changed-Everything-11-19-2
https://telegra.ph/Davis-Cup-Unstoppable-Spain-Sweeps-into-Final-11-19
https://telegra.ph/Mitch-Marsh-AFL-Set-to-Dominate-the-Season-with-Unstoppable-Power-11-19
https://telegra.ph/Dwayne-Johnson-Breaks-Box-Office-Records-with-His-New-Blockbuster-Hit-11-19
https://telegra.ph/btc-usd-Sparks-Breakout-Rally-as-Bitcoin-Hits-All-Time-High-11-19-2
https://telegra.ph/Election-Shock-personlige-stemmer-2025-Redefines-the-Race-11-19

#710 By 4240821 (178.217.45.42) at 11/23/2025 5:52:33 PM
https://smutty.su/activfhbc12bd1c
https://smutty.su/activ3c3132gc5g
https://smutty.su/activddcbhdafeb
https://lustful.su/activefb3f2cbce
https://sluts.su/activ543cdb5dba
https://sexonly.top/activ2db1hbeahf
https://smutty.su/activ224g3fb5ca
https://sexonly.top/activge51hega4g
https://lustful.su/active2eefbefde
https://nsfw.su/activech21dade4

#711 By 4240821 (82.115.4.230) at 11/24/2025 8:26:33 PM
https://smutty.su/activ4151g2hcc1
https://sluts.su/activ54bhce25de
https://nsfw.su/activcg1egcg5ag
https://sluts.su/activahbf1cba2a
https://sluts.su/activ5hfdhbd342
https://sexonly.top/activ5h3gafahbd
https://sexonly.su/activd1b2he214a
https://nsfw.su/activc1dcfhbf3f
https://sexonly.top/activ51bdgg2hfd
https://nsfw.su/activbg5f2eg21c

#712 By 4240821 (45.192.45.37) at 11/25/2025 12:26:56 AM
https://telegra.ph/Meta-stock-rockets-on-AI-hype-as-Meta-Platforms-bets-big-on-the-metaverse-11-19
https://telegra.ph/Live-Nation-Unveils-Epic-New-Concert-Series-Set-to-Redefine-Live-Entertainment-11-19
https://telegra.ph/Breaking-Global-Leaders-Gather-for-Historic-Summit-on-Climate-Change-11-19
https://telegra.ph/Poutine-Revolution-The-Delicious-Cheesy-Tide-Taking-Over-the-Food-World-11-19
https://telegra.ph/Angela-Moody-The-Unseen-Force-Behind-the-Market-Crash-That-Shook-the-World-11-19
https://telegra.ph/Panariellos-Bold-Move-Italian-Chef-Shakes-Up-the-Food-World-11-19
https://telegra.ph/terje-helland-unveils-a-time-bending-masterplan-that-has-the-internet-on-fire-11-19
https://telegra.ph/Im-a-celeb-new-arrivals-turning-heads-and-stealing-hearts-11-19
https://telegra.ph/Dolph-Zigglers-Stunning-Comeback-The-Showstopper-Sets-the-Ring-on-Fire-Again-11-19
https://telegra.ph/Rheinmetall-Stock-Surges-as-European-Defense-Spending-Rises-11-19

#713 By 4240821 (82.115.4.230) at 11/25/2025 2:15:03 PM
https://sluts.su/activ3h5db345ah
https://nsfw.su/activh4h1132ghh
https://smutty.su/activc33g4553ah
https://smutty.su/activdc5hcbca4f
https://sexonly.top/activ3fbe5ha1a4
https://sexonly.su/activbdg3ba3geb
https://sluts.su/activ3a5gef55fg
https://smutty.su/activh11b232fge
https://smutty.su/activ4e3cf51cgc
https://sexonly.top/active223h2g1ah

#714 By 4240821 (208.123.185.42) at 11/26/2025 6:48:29 PM
https://lustful.su/activfbeed5bagh
https://nsfw.su/activ53e454daee
https://sluts.su/activee4bbhchef
https://lustful.su/activadaa1ebfec
https://sexonly.su/activf3be2g33bh
https://sluts.su/active1ge4bcdc1
https://sexonly.su/activ3h1bh13ec1
https://nsfw.su/activ231c4gcgeh
https://lustful.su/activ3ef3be22bh
https://smutty.su/activb4c2e4ba3a

#715 By 4240821 (208.123.185.42) at 11/27/2025 5:10:24 AM
https://smutty.su/activcb21dac4c4
https://lustful.su/activ4e3dh13hc1
https://sexonly.su/activg2ged5e52a
https://lustful.su/activ1dfbe53f4e
https://smutty.su/activfe3de5431h
https://lustful.su/activfbfghg1efe
https://sexonly.su/activ1cbbc1514h
https://sluts.su/activ4f24cb4cae
https://nsfw.su/activagdc1g34h4
https://sexonly.su/activeg5h1dd2a1

#716 By 4240821 (208.123.185.42) at 11/27/2025 10:13:40 AM
https://sluts.su/activhaedabd2ca
https://sexonly.top/activ55aeeda42c
https://nsfw.su/activfh12ah35fd
https://sluts.su/activb43535gh1h
https://nsfw.su/activ11b341df4a
https://sluts.su/activ521dc5f1cg
https://smutty.su/activddd44bcage
https://sluts.su/activ3fdcg3g34e
https://sexonly.top/activeebfeedg33
https://nsfw.su/activh3fcdeec43

#717 By 4240821 (208.123.185.42) at 11/27/2025 1:19:02 PM
https://telegra.ph/Shane-Warne-Set-to-Make-Stunning-Comeback-in-Major-Cricket-Tournament-11-21
https://telegra.ph/Spurs-vs-Hawks-Explosive-Showdown-Delivers-Nail-Biting-Drama-and-Late-Game-Fireworks-11-21-2
https://telegra.ph/Texans-vs-Bills-Set-to-Ignite-Gridiron-Showdown-in-Heart-Stopping-Battle-11-21-3
https://telegra.ph/bus-crash-auckland-chaos-erupts-as-rescue-teams-race-to-the-scene-11-21-2
https://telegra.ph/btc-usd-Sparks-Breakout-Rally-as-Bitcoin-Hits-All-Time-High-11-21
https://telegra.ph/england-vs-australia-Ashes-thriller-erupts-as-rivals-clash-in-late-night-drama-11-21-3
https://telegra.ph/pinnekjøtt-test-2025-ignites-kitchen-fever-see-why-the-Nordic-centerpiece-is-stealing-the-spotlight-11-21-3
https://telegra.ph/nfl-Firestorm-Underdog-Rookie-Nails-Game-Winning-OT-TD-in-Incredible-Comeback-11-21
https://telegra.ph/Esdeekid-Unveiled-The-Secret-Talent-Shaking-Up-the-Industry-11-21
https://telegra.ph/KNMI-Predicts-Record-Heatwave-for-Europe-This-Summer-11-21

#718 By 4240821 (208.123.185.42) at 11/28/2025 9:31:14 AM
https://telegra.ph/Fortnite-Servers-Crash-in-Epic-Battle-Leaving-Millions-in-the-Lurch-During-Prime-Match-Hours-11-26-2
https://telegra.ph/Goleadores-Champions-Top-Scorers-Fire-Up-the-Season-with-Record-Busting-Finishes-11-26-2
https://telegra.ph/BBC-Sport-Ignites-the-Stadium-Unprecedented-Action-Sets-New-Standard-11-26
https://telegra.ph/PSG-vs-Tottenham-Clash-of-Titans-Sparks-European-Firestorm-11-26-3
https://telegra.ph/Diego-Simeones-Tactical-Masterstroke-Sparks-Unprecedented-Atletico-Comeback-11-26
https://telegra.ph/Celtics-Edge-Pistons-in-Explosive-Finish-as-celtics---pistons-Rivalry-Heats-Up-11-26
https://telegra.ph/lennart-karl-Unleashes-Bold-Move-That-Sends-Shockwaves-Across-the-Tech-World-11-26-2
https://telegra.ph/sagaen-om-isfolket-a-bone-chilling-red-hot-thriller-that-fans-wont-stop-talking-about-11-26
https://telegra.ph/Olympiakos-Roars-to-Dramatic-Victory-Seals-Title-in-Last-Minute-Thriller-11-26
https://telegra.ph/sylvester-stallone-unleashes-a-lethal-comeback-trailer-that-has-fans-buzzing-for-a-blockbuster-reboot-11-26

#719 By 4240821 (208.123.185.42) at 11/28/2025 10:28:22 AM
https://sexonly.su/activcah5ea3h5f
https://nsfw.su/activb3a5eefd2f
https://lustful.su/activa3g42bghf4
https://lustful.su/activ2debfded15
https://smutty.su/activ12f4ceh42c
https://nsfw.su/activb1ad4fg2dc
https://sluts.su/activhdcb13g4ha
https://smutty.su/activ5b132de11e
https://sluts.su/activh14c2bdada
https://nsfw.su/activ31afffhecf

#720 By 4240821 (208.123.185.42) at 11/28/2025 6:23:18 PM
https://telegra.ph/Fans-Go-Wild-as-today-fm-Drops-Explosive-New-Episode-at-Midnight-11-19-5
https://telegra.ph/Minka-Kelly-Steals-the-Spotlight-in-Stunning-New-Cover-Shoot-11-19-3
https://telegra.ph/catherine-lucey-drops-a-jaw-dropping-exclusive-that-has-the-internet-buzzing-11-19-9
https://telegra.ph/Françoise-Gatel-Sparks-Fire-in-French-Politics-with-Bold-New-Blueprint-11-19
https://telegra.ph/sean-connery-the-original-bond-ignites-a-wildfire-in-modern-cinema-11-19-2
https://telegra.ph/konstantin-wecker-Ignites-a-Firestorm-With-Explosive-New-Album-11-19-2
https://telegra.ph/Polarwirbel-Unleashed-Cities-Brace-for-Record-Freeze-and-Power-Outages-11-19-2
https://telegra.ph/Epic-Showdown-magic-vs-warriors-Sparks-a-New-Era-of-Power-11-19-6
https://telegra.ph/isala-Drops-a-Sizzling-New-Video-Fans-Go-Wild-as-the-Internet-Explodes-11-19
https://telegra.ph/Hannes-Hervieu-Unveils-Groundbreaking-Tech-Sparks-Global-Frenzy-11-19

#721 By 4240821 (208.123.185.42) at 11/29/2025 6:13:41 AM
https://telegra.ph/uefa-shocker-last-gasp-underdogs-topple-giants-in-jaw-dropping-finale-11-25
https://telegra.ph/Fox-Struts-Through-Downtown-Sparks-Citywide-Frenzy-11-25
https://telegra.ph/Spillet-sæson-2-Fans-Erupt-as-The-Game-Delivers-Jaw-Dropping-Twists-11-25-5
https://telegra.ph/Ajax-Stuns-Benfica-in-Thrilling-UCL-Showdown-11-25
https://telegra.ph/Local-Authorities-Rush-to-Renew-CCNL-Contracts-Amid-Economic-Uncertainty-11-25-2
https://telegra.ph/Conor-Clarksons-Bold-Move-Property-Developer-Sets-Sights-on-Londons-Skyline-11-25
https://telegra.ph/Record-Breaking-Heat-as-الطقس-Roars-Across-the-Nation-This-Weekend-Pushing-Power-Grids-to-the-Brink-11-25-6
https://telegra.ph/medianlohn-Boom-Real-Wages-Surge-as-Buying-Power-Rebounds-Across-the-Board-11-25-5
https://telegra.ph/jan-zimmermann-gewitter-erupts-sending-shockwaves-through-social-media-and-turning-forecasts-into-drama-11-25
https://telegra.ph/Chaos-as-polizei-Cracks-Down-on-Protests-Igniting-a-Citywide-Night-of-Clashes-11-25

#722 By 4240821 (208.123.185.42) at 11/29/2025 1:57:27 PM
https://lustful.su/activc2533ba32g
https://smutty.su/activb2he2hh41f
https://smutty.su/activ34hbgh4edb
https://sexonly.top/activ3hdge51gab
https://smutty.su/activc3d2g4531a
https://sexonly.su/activ2544hec4ec
https://sexonly.top/activd2hh1hfa52
https://sexonly.top/activ5a4hc5h3h1
https://smutty.su/activ1a2cf31f5a
https://smutty.su/activ33c34gd2b5

#723 By 4240821 (178.217.45.42) at 11/30/2025 10:31:05 AM
https://lustful.su/activfaga2eagcc
https://sexonly.su/activ5hegh2d53f
https://sexonly.top/activ2edfbcch43
https://nsfw.su/activ3deb31bgg5
https://sexonly.top/activeagebeheg5
https://lustful.su/activ33eb2a3a4h
https://smutty.su/activcf1fe1cc25
https://smutty.su/activh3g3b234e3
https://nsfw.su/activh3b4555cf3
https://lustful.su/activ4bh434eb5f

Write Comment
Return to News
  Displaying 701 through 723 of 723
Prev | First
  The time now is 8:24:03 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *