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 826 through 838 of 838
Prev | First
  The time now is 8:51:57 PM ET.
Any comment problems? E-mail us
#826 By 4240821 (178.173.249.36) at 3/14/2026 8:58:54 AM
https://telegra.ph/Cheltenham-Races-Today-RecordBreaking-Times-and-Surprise-Winner-Shake-Up-the-Stakes-03-13
https://telegra.ph/Chinese-Taipei-Shocks-the-World-with-Unprecedented-Olympic-Success-03-13
https://telegra.ph/Eric-Swalwells-Secret-Move-Shocks-Capitol-and-Reshapes-Power-Dynamics-03-13
https://telegra.ph/Mjölnarens-Skandal-Hela-Partiet-Kallas-Tillbaka--Vem-är-den-egentlige-Mjölk-Kungen-03-13
https://telegra.ph/ARIANNE-HARTONO-STEALS-THE-SHOW-BOOMING-DEBUT-ALBUM-SHATTERS-BILLBOARD-CHARTS-03-13
https://telegra.ph/Venoge-Festival-Sizzles-with-RecordBreaking-Attendance-and-Electrifying-Performances-03-13
https://telegra.ph/Pakistan-vs-Bangladesh-Cricketing-Showdown-Ignites-Global-Fervor-03-13
https://telegra.ph/Norbert-Himmler-Sparks-Global-Controversy-with-Secret-Alliance-Deal-that-Could-Reshape-International-Power-Dynamics-03-13
https://telegra.ph/KC-135-Revolution-NASA-Unveils-Solar-Powered-Aerial-Tanker-for-Space-Missions-03-13
https://telegra.ph/Erbils-Unexpected-Oil-Strike-Fuels-Global-Energy-Bargains-03-13

#827 By 4240821 (178.173.249.36) at 3/16/2026 6:04:52 PM
https://telegra.ph/Arsenals-Dramatic-Comeback-Stuns-Chelsea-in-Thrilling-Premier-League-Showdown-03-01
https://telegra.ph/Zlín-to-Plzeň-The-Unexpected-Route-Thats-Revolutionizing-Czech-Travel-03-01
https://telegra.ph/Arsenal-vs-Chelsea-Last-Minute-Drama-as-Blues-Edge-Past-Gunners-in-Thrilling-Premier-League-Clash-03-01
https://telegra.ph/Tilak-Varmas-Shocking-Revelation-The-Truth-Behind-the-Viral-Conspiracy-That-Could-Change-Everything-03-01
https://telegra.ph/Declan-Rices-Late-Game-Magic-Leaves-Arsenal-Fans-Breathless-in-Shocking-3-2-Comeback-03-01
https://telegra.ph/Aaron-Jones-Epic-Play-Shocks-NFLWatch-the-Unstoppable-Moment-That-Left-Fans-in-Awe-03-01
https://telegra.ph/Man-Us-Miracle-Comeback-Red-Devils-Stun-City-Giants-in-Dramatic-Twist-03-01
https://telegra.ph/Arsenals-Dramatic-Comeback-Stuns-Chelsea-in-Thrilling-Premier-League-Clash-03-01-2
https://telegra.ph/Ahmadinejads-Bold-Move-Irans-President-Defies-West-in-Historic-Speech-03-01
https://telegra.ph/Betis-vs-Siviglia-A-Clash-of-Titans-in-the-Spanish-La-Liga-03-01

#828 By 4240821 (178.173.249.36) at 3/17/2026 1:57:03 AM
https://telegra.ph/Australian-Snowboarder-Suffers-Devastating-Neck-Injury-in-High-Speed-Crash-02-11
https://telegra.ph/Ice-Hockey-Dominates-Olympic-Games-Schedule-Full-Results-02-11
https://telegra.ph/Alessandro-Hämmerles-Revolutionary-Investment-Strategy-Shakes-Financial-Markets-02-11
https://telegra.ph/Carl-Zeiss-Jena-Stuns-FC-Bayern-in-Dramatic-Upset-02-11
https://telegra.ph/Department-Store-Goes-Viral-After-Mysterious-Ghost-Caught-on-Security-Footage-02-11
https://telegra.ph/Brain-Training-Breakthrough-Scientists-Unlock-Secrets-to-a-Sharper-Faster-Mind-02-11
https://telegra.ph/Slafkovsky-Breaks-Record-Takes-International-Spotlight-with-ShowStopping-Skill-02-11
https://telegra.ph/fk-arkadag--al-nassr-fc-storm-the-field-with-lastminute-heroics-redefining-the-derby-for-the-ages-02-11
https://telegra.ph/Olympique-2026-Hockey-Rebels-Cities-Battle-for-the-Ice-Throne-in-Historic-Olympic-Showdown-02-11
https://telegra.ph/Germanys-Renewable-Revolution-alleMagnes-Green-Deal-Sparks-Global-Surge-02-11

#829 By 4240821 (178.173.249.36) at 3/17/2026 4:43:25 PM
https://telegra.ph/PSGs-Shocking-Move-Star-Player-Joins-Rival-Club-in-Mid-Season-U-Turn-03-17
https://telegra.ph/Prime-Video-Unveils-Exclusive-Series-A-Bold-Move-to-Rival-Netflix-and-Disney-03-17
https://telegra.ph/Man-City-vs-Real-Madrid-The-Ultimate-Clash-of-ChampionsWho-Will-Reign-Supreme-03-17
https://telegra.ph/Morten-Messerschmidts-Shocking-Comeback-How-the-Underdog-Defied-All-Odds-to-Win-the-Championship-03-17
https://telegra.ph/Chelseas-Star-Player-Makes-Shocking-Transfer-to-Rivals-03-17
https://telegra.ph/City-Lights-How-Urban-Innovation-is-Reshaping-the-Future-03-17
https://telegra.ph/Sporting-Lisbons-Historic-Victory-Shocks-Football-World-03-17
https://telegra.ph/Fussball-Heute-Shocking-Upset-as-Underdog-Stuns-Champions-in-Thrilling-Final-03-17
https://telegra.ph/Chelsea-vs-PSG-The-Clash-That-Will-Go-Down-in-History-03-17
https://telegra.ph/Bayern-Munich-vs-Bayer-Leverkusen-A-Clash-of-Titans-in-the-Bundesliga-03-17

#830 By 4240821 (178.173.249.36) at 3/19/2026 2:50:40 AM
https://telegra.ph/Alaves--Real-Sociedad-A-Thrilling-Derby-That-Could-Redefine-La-Liga-Standings-in-One-Night-02-05
https://telegra.ph/Channing-Tatum-Reveals-Surprising-New-Career-as-Global-Climate-Champion-Promises-Greener-Hollywood-02-05
https://telegra.ph/UDRs-Shocking-Unveiling-of-AI-Driven-Mind-Reading-Tech-Stuns-Global-Scientists-02-05
https://telegra.ph/Alaves--Real-Sociedad-LastMinute-Goal-Leaves-Real-Bewildered-02-05
https://telegra.ph/Sonnet-5-Makes-History-as-First-AIPenned-Shakespearean-Poem-Wins-Pulitzer-02-05
https://telegra.ph/Jonathan-Toews-Sparks-NHL-Chaos-Announces-Unexpected-Retirement-Before-Stanley-Cup-Finals-02-05
https://telegra.ph/Knicks-vs-Nuggets-NBAs-Irresistible-Showdown-Sparks-Nationwide-Frenzy-02-05
https://telegra.ph/Samsung-S26-Unveiled-NextGen-Foldable-Boasts-200Hz-OLED-UltraFast-5G-and-AIPowered-Camera-System-02-05
https://telegra.ph/BREAKING-الطقس-غدا-Forecast-to-Drop-80F-Overnight-Amid-RecordHeat-Wave-02-05
https://telegra.ph/Google-Doodle-Celebrates-20-Years-with-Interactive-Tribute-to-Innovation-02-05

#831 By 4240821 (178.173.249.36) at 3/19/2026 2:11:21 PM
https://telegra.ph/Champions-Rise-Unstoppable-Victory-in-the-Ultimate-Showdown-03-10
https://telegra.ph/Paul-de-Grande-Unveils-Shocking-New-Theory-That-Could-Change-Everything-03-10
https://telegra.ph/Amazon-Prime-Unveils-Shocking-New-Feature-Is-This-the-Future-of-Streaming-03-10
https://telegra.ph/Talia-Gibson-arrested-on-new-charges-The-shocking-revelation-that-rocked-the-nation-03-10
https://telegra.ph/Jesper-Bruun-Rasmussens-Bold-Move-Shakes-the-MarketHeres-What-It-Means-for-Investors-03-10
https://telegra.ph/Nicolas-Jacksons-Shocking-Comeback-How-the-Underdog-Defied-All-Odds-to-Win-the-Championship-03-10
https://telegra.ph/Barcelonas-Shocking-Secret-The-City-That-Never-SleepsAnd-Why-Its-Terrifying-03-10
https://telegra.ph/AVAV-Stock-Surges-Investors-Scramble-as-Tech-Giant-Unveils-Game-Changing-Innovation-03-10
https://telegra.ph/Tottenhams-Miracle-4-3-Comeback-Shocks-Premier-League-03-10
https://telegra.ph/Barcas-Star-Player-Threatens-to-Quit-Amid-Contract-Dispute-03-10

#832 By 4240821 (178.173.249.36) at 3/20/2026 1:13:18 PM
https://telegra.ph/Irene-Monteros-Shocking-Confession-The-Truth-Behind-the-Scandal-That-Rocked-the-Nation-03-03
https://telegra.ph/Barcelonas-Miracle-Messi-Scores-5-in-a-Row-as-the-Club-Crushes-Rival-in-Epic-Comeback-03-03
https://telegra.ph/Panamas-Secret-Gold-Rush-How-a-Hidden-Treasure-Could-Reshape-the-Countrys-Economy-03-03
https://telegra.ph/Trabzonspor-Stuns-Champions-Unstoppable-Attack-Shocks-Europe-03-03
https://telegra.ph/Trey-Hendricksons-Shocking-Comeback-How-He-Overcame-Adversity-to-Dominate-the-Competition-03-03
https://telegra.ph/Barcelona-vs-Atletico-Madrid-A-Clash-of-Titans-in-the-Spanish-La-Liga-03-03
https://telegra.ph/Macrons-Bold-Move-France-Faces-Backlash-as-Controversial-Policy-Sparks-Nationwide-Protests-03-03
https://telegra.ph/Karbonkel-The-Hidden-Threat-to-Our-PlanetWhat-You-Need-to-Know-Now-03-03
https://telegra.ph/Barcelonas-Shocking-Move-Star-Player-Joins-Rival-Club-in-Mid-Season-Transfer-Drama-03-03
https://telegra.ph/Wolves-Dramatic-Comeback-Stuns-Liverpool-in-Thrilling-Premier-League-Showdown-03-03

#833 By 4240821 (178.173.249.36) at 3/21/2026 7:29:12 PM
https://telegra.ph/Ingrid-Alexandra-Royal-Reign-in-the-Making-02-02
https://telegra.ph/Lec-Unveils-Revolutionary-Technology-Set-to-Transform-Daily-Living-02-02-6
https://telegra.ph/Marius-Borg-Høiby-Sparks-New-Wave-of-Youth-Leadership-with-Innovative-Vision-02-02-2
https://telegra.ph/Trevor-Noah-Breaks-Silence-on-New-Global-Comedy-Tour-That-Is-Taking-the-World-by-Storm-02-02-7
https://telegra.ph/Trevor-Noah-Breaks-Silence-on-New-Global-Comedy-Tour-That-Is-Taking-the-World-by-Storm-02-02-6
https://telegra.ph/Olivia-Dean-Redefines-Soulful-Soundscapes-with-Chart-Topping-Debut-Album-02-02-4
https://telegra.ph/Bad-Bunny-Breaks-Record-The-Music-Icon-Redefines-Global-Pop-Culture-02-02-16
https://telegra.ph/Grammy-Winners-2026-The-Unforgettable-Night-of-Breakthrough-Performances-and-Historic-Wins-02-02-5
https://telegra.ph/Addison-Rae-Sets-New-Record-with-Breakout-Music-Debut-Turning-TikTok-Fame-into-Hollywood-Stardom-02-02-2
https://telegra.ph/Bad-Bunny-Breaks-Record-The-Music-Icon-Redefines-Global-Pop-Culture-02-02-15

#834 By 4240821 (178.173.249.36) at 3/22/2026 6:52:36 PM
https://telegra.ph/Leeds-United-vs-Arsenal-Premier-League-Showdown-Heats-Up-01-31
https://telegra.ph/Ukraines-Yaremchuk-Russias-War-is-a-Crime-Against-Humanity-01-31
https://telegra.ph/Hoffenheim-vs-Union-Berlin-A-Battle-of-Titans-Awaits-01-31
https://telegra.ph/Where-Is-Melania-Trump-From-The-Enigma-Unveiled-01-31
https://telegra.ph/Anchorages-Wildfires-Heats-Up-as-Record-Breaking-Temperatures-Strain-City-Infrastructure-01-31
https://telegra.ph/Empoli-vs-Modena-Derby-of-the-Emilia-Romagna-01-31
https://telegra.ph/Ishan-Kishans-Explosive-Ton-Sets-Record-Books-Ablaze-01-31
https://telegra.ph/Hoffenheim--Union-Berlin-Shock-Victory-Sends-Bundesliga-Fans-into-Frenzy-01-31
https://telegra.ph/Osasuna-vs-Villarreal-Underdogs-Ignite-Triumph-Sending-Champions-League-Dream-into-the-Shadows-01-31
https://telegra.ph/Maza-The-Secret-Ingredient-Thats-Taking-the-World-by-Storm-01-31

#835 By 4240821 (178.173.249.36) at 3/23/2026 12:50:33 PM
https://telegra.ph/Nationale-Loterij-Wins-Big-10-Million-Jackpot-Drawn-in-Shocking-Surprise-03-11
https://telegra.ph/Abdul-Samads-Shocking-Comeback-How-He-Defied-All-Odds-to-Win-the-Championship-03-11
https://telegra.ph/LAFC-vs-LD-Alajuelense-Costa-Rican-Clash-Heats-Up-MLS-03-11
https://telegra.ph/Brampton-Weather-Shock-Record-Heatwave-Sweeps-Through-with-Unprecedented-Temperatures-03-11
https://telegra.ph/Iginlas-Epic-Comeback-How-the-NHL-Legend-Rewrote-His-Story-at-40-03-11
https://telegra.ph/Atalantas-Mot-Bayern-Stuns-Bayern-in-Epic-UCL-Showdown-03-11
https://telegra.ph/Dresdens-Hidden-Gems-10-Overlooked-Spots-That-Locals-Love-03-11
https://telegra.ph/Raymond-Wittmanns-Shocking-Revelation-The-Truth-Behind-the-Mystery-That-Rocked-the-World-03-11
https://telegra.ph/Bam-Adebayos-Epic-Dunk-Shocks-NBAIs-This-the-Play-of-the-Decade-03-11-5
https://telegra.ph/WhatsApp-Faces-Backlash-Users-Revolt-Over-New-Privacy-Policy-Changes-03-11

#836 By 4240821 (178.173.249.36) at 3/24/2026 1:18:16 PM
https://telegra.ph/Ol-Ice-Hockey-The-Legendary-Game-That-Still-Burns-Bright-02-19
https://telegra.ph/Very-Close-Call-Man-Survives-Heart-Stopping-Near-Miss-in-Traffic-Chaos-02-19
https://telegra.ph/Incidente-Stradale-a-Roma-Tragico-Raccordo-Oggi-Due-Morti-e-Numerosi-Feriti-02-19
https://telegra.ph/Premier-League-Table-Shock-Top-Four-in-Chaos-as-Title-Race-Heats-Up-02-19
https://telegra.ph/Wolves-vs-Arsenal-Drama-Drama-DramaWho-Will-Survive-the-Premier-League-Clash-02-19
https://telegra.ph/Bodøglimt--Inter-Shocking-Upset-as-Norwegian-Team-Stuns-Serie-A-Giants-in-Thrilling-Clash-02-19
https://telegra.ph/2026-Winter-Olympics-Female-Skater-Dominates-in-Historic-Single-Skating-Victory-02-19
https://telegra.ph/Zprávy-Shocking-Discovery-in-the-Heart-of-EuropeWhat-the-World-Didnt-See-Coming-02-19
https://telegra.ph/Eileen-Gus-Shocking-Comeback-How-She-Dominated-the-Competition-02-19
https://telegra.ph/Lydia-Ko-Dominates-LPGA-Tour-with-Historic-Win-02-19

#837 By 4240821 (178.173.249.36) at 3/24/2026 1:42:48 PM
https://telegra.ph/Amazon-Prime-Video-Unveils-Shocking-New-Series-Is-This-the-Next-Game-Changer-in-Streaming-03-18
https://telegra.ph/Binance-Faces-Scrutiny-as-Regulators-Crack-Down-on-Crypto-Custody-Practices-03-18
https://telegra.ph/Prime-Video-Unveils-Exclusive-Series-A-Bold-Move-to-Rival-Netflix-03-18
https://telegra.ph/Ukraine-Krieg-New-Front-in-Eastern-Ukraine-as-Russian-Forces-Push-for-Strategic-Gains-03-18
https://telegra.ph/Sporting-Mod-BodøGlimt-A-Clash-of-Style-and-Skill-in-Norways-Premier-League-03-18-2
https://telegra.ph/AFCON-Final-Underdog-Team-Stuns-Favorites-in-Dramatic-Finish-03-18
https://telegra.ph/Manchester-City-Dominates-Premier-League-as-Pep-Guardiola-Unleashes-Next-Gen-Superstars-03-18
https://telegra.ph/Linkin-Parks-Shocking-Reunion-Announcement-Fans-in-Chaos-as-Legendary-Band-Prepares-to-Smash-Records-Again-03-18
https://telegra.ph/Iditarod-2026-Legendary-Race-Returns-with-Record-Breaking-Crowds-and-Unstoppable-Musher-Talent-03-18
https://telegra.ph/Nidaros-Hockey-Stars-Shine-in-Epic-Comeback-Victory-03-18-2

#838 By 4240821 (178.173.249.36) at 3/24/2026 8:50:07 PM
https://telegra.ph/NHL-Stars-Shocked-as-Legendary-Goalie-Makes-Dramatic-Comeback-After-Retirement-03-04
https://telegra.ph/Portos-Sporting-Triumph-A-Masterclass-in-Dominance-03-04
https://telegra.ph/The-Idea-That-Could-Change-Everything-A-Bold-New-Approach-to-Success-03-04
https://telegra.ph/Tech-Titans-Clash-Who-Will-Dominate-the-Future-03-04
https://telegra.ph/Olga-Ravns-Shocking-Revelation-The-Truth-Behind-the-Viral-Scandal-That-Rocked-the-World-03-04
https://telegra.ph/Facebook-Faces-Backlash-as-Users-Demand-Privacy-Overhaul-After-Latest-Data-Scandal-03-04
https://telegra.ph/Goldpreis-Shocking-Plunge-as-Investors-Panic-Over-Economic-Uncertainty-03-04
https://telegra.ph/Nikkei-225-Surges-as-Tech-Giants-Drive-Record-HighsMarket-in-Bullish-Mood-03-04
https://telegra.ph/Meteor-Explosion-Lights-Up-Night-Sky-Over-Major-CityScientists-Shocked-by-Rare-Event-03-04
https://telegra.ph/NHL-Ergebnisse-Sensationeller-Comeback-Sieg-der-Maple-Leafs-gegen-die-Stars--Werdegang-des-Spiels-03-04

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

 

  *  
  *   *