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 751 through 763 of 763
Prev | First
  The time now is 2:25:19 PM ET.
Any comment problems? E-mail us
#751 By 4240821 (82.115.4.100) at 12/25/2025 12:30:45 PM
https://pinduck.com/pin/688899/honeyflower-jamie-hendrix-jaxx-and-bunny/
https://pinduck.com/pin/688898/adriana-deluxe-ainsley-adams-slut-savannah/
https://pinduck.com/pin/688897/jones-vanna-timida-dulce-rosa-lee/
https://pinduck.com/pin/688895/daddysgirrrllll-justforfunhomie-lesl3y/
https://pinduck.com/pin/688894/carmina-kai-lilijamss-miss-kanako/
https://pinduck.com/pin/688893/darlingbuttercups-ruby-rae-white-mare/
https://pinduck.com/pin/688892/lunaaguilar-pookiee-glo-softestwolfy/
https://pinduck.com/pin/688890/theaminaalba-j-knocks-glitt3rbabi3/
https://pinduck.com/pin/688889/xobunbaby-rylieeraee-hunnybunnybabyyy/
https://pinduck.com/pin/688888/herejewo-isexybbw-aussieprincess/

#752 By 4240821 (82.115.4.100) at 12/26/2025 7:46:15 PM
https://pinduck.com/pin/696011/venus42069-dakota-marr-emu-lolit-a/
https://pinduck.com/pin/696010/couplestoybox-2020-jenna-jxx-playaprilday/
https://pinduck.com/pin/696009/ella-silver-tanya-foxxx-missmadison-kay/
https://pinduck.com/pin/696007/deva-nobili-osmosis1210-mia-pearl/
https://pinduck.com/pin/696006/mommymilfforever-myriam-gold-kelsey-jones/
https://pinduck.com/pin/696004/sexkitteh-1-gia-gvhi-themsskedbandit1818/
https://pinduck.com/pin/696002/mikayla-shore-carol-linda-princess-des95/
https://pinduck.com/pin/696001/presley-xo-kaylabenett-tegan-james/
https://pinduck.com/pin/695999/aneko5-bella-winters-themeanqueen/
https://pinduck.com/pin/695998/pequeydemonio-welovebaiii-palomathree/

#753 By 4240821 (82.115.4.100) at 12/26/2025 9:17:57 PM
https://pinduck.com/pin/679872/wetchocolatebar-aqueenandherknight-acoupleoffreaks/
https://pinduck.com/pin/679871/sophiatheminx-simply-serenity-heavydose/
https://pinduck.com/pin/679870/crystal-rush-amber-prossly-gimmiebay1/
https://pinduck.com/pin/679865/only19now-daisyplays-bellabackshots/
https://pinduck.com/pin/679864/ale-belle-aliciarouge-sexy-girl97/
https://pinduck.com/pin/679862/gessica-massaro-bunny-bleu-nicole-le/
https://pinduck.com/pin/679861/dirtyandcurvy-lilkittycat-esper-raven/
https://pinduck.com/pin/679860/kristinafox-jessica-monroe-elaine22/
https://pinduck.com/pin/679859/krystaljthickass-lucyalexandra1-hunnybunncums/
https://pinduck.com/pin/679858/sassterisk-aaliyah-yasin-annette-haven/

#754 By 4240821 (82.115.4.100) at 12/27/2025 10:52:54 AM
https://pinduck.com/pin/682156/natasha-lanz-taurus-1-redhairblueeyes/
https://pinduck.com/pin/682155/penny-stalks-srgiomraz28-kristara-barrington/
https://pinduck.com/pin/682154/naughtygirlj-ana-lya-exoticpussy77/
https://pinduck.com/pin/682150/kittybabbyy-orpio2229-piumilankan/
https://pinduck.com/pin/682147/kirasecretnympho-daddyandrosie-baily-banks/
https://pinduck.com/pin/682142/thiskittyisdfw-binkiesux-lucy420/
https://pinduck.com/pin/682141/haleylove31-sunnguevara99-nicol-hotwife/
https://pinduck.com/pin/682140/janice-campbell-raregemsent-danja-vieille/
https://pinduck.com/pin/682139/bussssittt-eurydicesbitch-keya-bella/
https://pinduck.com/pin/682138/leegummy-ashton-marie-avaadore0/

#755 By 4240821 (82.115.4.100) at 12/28/2025 1:45:18 AM
https://pinduck.com/pin/696944/ladyvice-summerrsurreal-ckeasland/
https://pinduck.com/pin/696942/miss-pandora-felicitylovelace-charisma321/
https://pinduck.com/pin/696933/kittykiana-vanilliacouple-cjchonk/
https://pinduck.com/pin/696928/bubblezjuicy-bisilvermist-rica-mami/
https://pinduck.com/pin/696925/sarita-pinkprettynready-sandzillis/
https://pinduck.com/pin/696923/jhussnaee-lovej18-nenahagen/
https://pinduck.com/pin/696921/iamspreadwide-cleo-starr-maryloveiss/
https://pinduck.com/pin/696920/sally-and-paul-kaju27-lialilia/
https://pinduck.com/pin/696918/babysangel-julia-mac-vikadracula/
https://pinduck.com/pin/696917/ava-kelly-mya-minx-waifu-willow/

#756 By 4240821 (82.115.4.100) at 12/28/2025 1:06:11 PM
https://pinduck.com/pin/682064/vanfuckers-kiomaceleste-sweetlatina1/
https://pinduck.com/pin/682063/1998vibes-emiri-momota-annysexy/
https://pinduck.com/pin/682062/bustybriana-laura-bentley-lynn-pops/
https://pinduck.com/pin/682061/hera-power-queen-kissxoxo-lady-weavile/
https://pinduck.com/pin/682060/banginbridget-spinderellamidwest-laracrystal/
https://pinduck.com/pin/682059/gwenbunnybun-deezyreddfierce-tiffanybabe/
https://pinduck.com/pin/682058/abrill-gerald-shawnahoney-dripzxxx34/
https://pinduck.com/pin/682057/amarrosexxo-themasks69-whitebootyjackie/
https://pinduck.com/pin/682056/karinaisac-sadthiccgirl-candyred8/
https://pinduck.com/pin/682055/lips4-mars15961-josefindarling/

#757 By 4240821 (82.115.4.100) at 12/28/2025 7:33:41 PM
https://telegra.ph/Taylor-Swifts-Eras-Tour-A-Spectacle-Thats-Shattering-Records-and-Expectations-12-13-5
https://telegra.ph/Peter-Greene-The-Man-The-Myth-The-Mystery-Unraveled-12-13-6
https://telegra.ph/Man-vs-Baby-The-Ultimate-Diaper-Derby-12-13
https://telegra.ph/Geminids-Blaze-Get-Ready-for-a-Celestial-Fireworks-Show-12-13
https://telegra.ph/Cosmic-Fireworks-Prepare-for-a-Dazzling-Meteor-Shower-Spectacle-12-13
https://telegra.ph/Lady-Gagas-Latest-Look-A-Masterclass-in-Avant-Garde-Glamour-12-13
https://telegra.ph/Haarlem-Kerstmarkt-Where-Dutch-Charm-Meets-Christmas-Cheer-12-13
https://telegra.ph/Kerala-Election-Result-A-Political-Earthquake-Reshapes-the-State-12-13
https://telegra.ph/Nantes-Angers-Furious-Fans-Clash-Over-Derby-Day-Drama-12-13-3
https://telegra.ph/Danica-McKellars-Bold-New-Chapter-Unlocking-the-Universe-Beyond-the-Screen-12-13

#758 By 4240821 (82.115.4.100) at 12/29/2025 12:45:07 AM
https://telegra.ph/Fulham-vs-Crystal-Palace-West-London-Derby-Sparks-Intense-Title-Tension-12-07
https://telegra.ph/Valencia-Siviglia-The-Clash-of-Spanish-Giants-Ignites-Tonight-12-07
https://telegra.ph/Breaking-News-Global-Leaders-Gather-for-Historic-Climate-Summit-12-07
https://telegra.ph/Miami-Hurricanes-Football-Charges-Toward-Unbeatable-Glory-in-Thrilling-New-Season-12-07
https://telegra.ph/Cagliari-Roma-Express-Speed-Link-Connects-Sardinian-Capital-Eternal-City-12-07
https://telegra.ph/Real-Madrid-Castilla-Shines-in-La-Liga-2-12-07
https://telegra.ph/F1-2026-Revolutionized-Engines-and-Groundbreaking-Tech-Ignite-the-New-Era-12-07
https://telegra.ph/Syria-vs-Palestine-Escalating-Tensions-as-Conflict-Deepens-12-07
https://telegra.ph/Serie-B-Partite-Shocking-Upsets-as-Teams-Struggle-for-Survival-12-07
https://telegra.ph/CFP-Selection-Show-The-Ultimate-Battle-for-the-Championship-12-07

#759 By 4240821 (82.115.4.100) at 12/31/2025 11:28:09 AM
https://telegra.ph/PSGs-Mbappe-The-Ultimate-Game-Changer-or-Future-Flop-12-11-12
https://telegra.ph/USA-EU-Alliance-Charting-a-New-Course-for-Global-Stability-12-11
https://telegra.ph/Trump-Claims-Secret-Recipe-for-McDonalds-Big-Mac-Secretly-Taught-to-Him-by-Colonel-Sanders-12-11-2
https://telegra.ph/LeBron-Drops-50-Spurs-Cant-Keep-Up-Lakers-Dominate-in-Thriller-12-11-3
https://telegra.ph/Dennis-Rodmans-Latest-Antics-Raise-Eyebrows-and-Questions-About-His-Next-Move-12-11
https://telegra.ph/Magdalena-Andersson-Navigates-Swedish-Political-Storm-Whats-Next-for-the-Nation-12-11-2
https://telegra.ph/Lakers-Cruise-Past-Spurs-in-Dominant-Victory-12-11
https://telegra.ph/Champions-League-Standings-Europes-Elite-Battle-for-Supremacy-12-11-2
https://telegra.ph/Western-Australia-Bushfire-Forces-Evacuations-as-Winds-Fuel-Inferno-12-11-2
https://telegra.ph/Heat-Pump-Tumble-Dryer-The-Eco-Friendly-Revolution-Your-Laundry-Room-Needs-12-11-3

#760 By 4240821 (82.115.4.100) at 12/31/2025 10:04:24 PM
https://telegra.ph/Metz-Stun-PSG-in-Shocking-Upset-Title-Race-Blown-Wide-Open-12-13-3
https://telegra.ph/Jan-Thomas-Just-Dropped-a-Bombshell-You-Wont-Believe-What-Happened-Next-12-13
https://telegra.ph/Sporting-vs-AVS-A-Clash-of-Titans-You-Wont-Want-to-Miss-12-13
https://telegra.ph/WPRI-Exclusive-Local-Brewerys-Secret-Ingredient-Revealed-12-13
https://telegra.ph/Chattanooga-vs-Auburn-Clash-of-Titans-or-Underdog-Upset-12-13
https://telegra.ph/Amira-Alys-Audacious-Ascent-Redefining-the-Game-with-Unstoppable-Drive-12-13
https://telegra.ph/Boro-Bash-QPR-Riverside-Roar-Seals-Championship-Dreams-12-13
https://telegra.ph/Arsenal-Edge-Past-Wolves-in-Thrilling-London-Showdown-12-13-3
https://telegra.ph/Kolasinacs-Power-Play-Fans-Roar-as-Defender-Dominates-the-Pitch-12-13
https://telegra.ph/Avs-Sad-Sporting-Loss-Leaves-Fans-Devastated-12-13

#761 By 4240821 (82.115.4.100) at 1/1/2026 3:03:51 AM
https://telegra.ph/Sporza-Live-Thrilling-Finale-as-Underdog-Clinches-Championship-12-22
https://telegra.ph/Mali-vs-Zambia-Clash-of-Eagles-Sets-AFCON-Stage-Ablaze-12-22
https://telegra.ph/Mali-Zambie-Clash-A-Scorching-Showdown-Heats-Up-the-African-Cup-12-22
https://telegra.ph/Sophie-Cunningham-Drops-Bombshell-Her-Next-Move-Will-Redefine-the-Game-12-22
https://telegra.ph/iHeartRadios-Live-Sessions-Your-Ultimate-Soundtrack-to-Summer-12-22
https://telegra.ph/Depay-to-Corinthians-A-Shockwave-Hits-Brazil-12-22
https://telegra.ph/Generation-Zs-Secret-Weapon-How-Theyre-Revolutionizing-the-Job-Market-12-22
https://telegra.ph/UCM-Unlocking-Cosmic-Mysteries-Unveiling-a-Universe-of-Wonder-12-22
https://telegra.ph/Syneo-The-Future-of-Connectivity-Unveiled-12-22
https://telegra.ph/Que-es-la-Pedrea-The-Spanish-Lottery-Secret-Revealed-12-22

#762 By 4240821 (82.115.4.100) at 1/2/2026 12:12:10 AM
https://www.pillowfort.social/posts/6958255
https://www.pillowfort.social/posts/6958090
https://www.pillowfort.social/posts/6957938
https://www.pillowfort.social/posts/6957873
https://www.pillowfort.social/posts/6957801
https://www.pillowfort.social/posts/6957738
https://www.pillowfort.social/posts/6957662
https://www.pillowfort.social/posts/6957600
https://www.pillowfort.social/posts/6957531
https://www.pillowfort.social/posts/6957455

#763 By 4240821 (82.115.4.100) at 1/2/2026 7:54:10 AM
https://www.pillowfort.social/posts/6746867
https://www.pillowfort.social/posts/6746706
https://www.pillowfort.social/posts/6746522
https://www.pillowfort.social/posts/6746307
https://www.pillowfort.social/posts/6746190
https://www.pillowfort.social/posts/6746026
https://www.pillowfort.social/posts/6745599
https://www.pillowfort.social/posts/6745285
https://www.pillowfort.social/posts/6745072
https://www.pillowfort.social/posts/6744888

Write Comment
Return to News
  Displaying 751 through 763 of 763
Prev | First
  The time now is 2:25:19 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *