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 576 through 600 of 646
Prev | First | Last | Next
  The time now is 7:44:02 PM ET.
Any comment problems? E-mail us
#576 By 4240821 (82.115.4.230) at 7/12/2025 12:04:56 PM
https://nsfw.su/v/xlm903ol7tgr.php
https://nsfw.su/v/e6uirhwgs5or.php
https://sexonly.su/v/lrnxas6pzxg9.php
https://sexonly.top/v/unz4cf8fdxbn.php
https://sluts.su/v/rjobxybrkj5m.php
https://nsfw.su/v/pw3mb8vs4fzl.php
https://sluts.su/v/n2kfr2hmrjkt.php
https://sluts.su/v/lokquj7b4cyy.php
https://sluts.su/v/j1iatg9dtpni.php
https://nsfw.su/v/mllhnrlm1uhi.php

#577 By 4240821 (82.115.4.230) at 7/13/2025 6:26:16 PM
https://sluts.su/v/olvq4yupsxer.php
https://nsfw.su/v/v4xtiqm3hgpr.php
https://sexonly.top/v/07zo4kwyf3c6.php
https://lustful.su/v/0avv7vi8cnkm.php
https://sexonly.top/v/wf3hi81j17iy.php
https://sexonly.top/v/hns18ikmopor.php
https://lustful.su/v/ss4nvbvtr7yo.php
https://nsfw.su/v/morh60czn9k8.php
https://sluts.su/v/fnq7itp3jn6h.php
https://nsfw.su/v/4dnfg45yslev.php

#578 By 4240821 (82.115.4.230) at 7/14/2025 11:38:42 PM
https://sluts.su/v/nibbcsd4o5ya.php
https://sexonly.top/v/h2uewadnzli6.php
https://sexonly.su/v/jd9et2efum9b.php
https://sexonly.su/v/58zvahctn7xg.php
https://sexonly.top/v/ohs7bxdx83z6.php
https://lustful.su/v/xmkm3qa75vaw.php
https://nsfw.su/v/mpmlxlb5xsj2.php
https://sexonly.top/v/me95a4rjzarb.php
https://sluts.su/v/dk6p1kgcofxc.php
https://nsfw.su/v/qdy4n4ye5b4z.php

#579 By 4240821 (82.115.4.230) at 7/16/2025 10:26:40 AM
https://sexonly.top/v/ax4va8hite9n.php
https://sluts.su/v/rawxn0l3tj3p.php
https://sexonly.su/v/62qnwt866jdw.php
https://sexonly.top/v/uj9m1xlmky9g.php
https://lustful.su/v/e1fdav20ohsv.php
https://sluts.su/v/9xohd9e8uelc.php
https://sluts.su/v/28eosnh3cvcj.php
https://nsfw.su/v/3v7e5awkzwqk.php
https://nsfw.su/v/6pga3kq3fg49.php
https://nsfw.su/v/jb9mccls65we.php

#580 By 4240821 (82.115.4.230) at 7/16/2025 3:59:43 PM
https://lustful.su/v/7a2yaapgx2n3.php
https://lustful.su/v/uinpwtgv298q.php
https://lustful.su/v/wjnhh6tao0ep.php
https://sexonly.su/v/cazat72fo2tk.php
https://sexonly.top/v/bilt8jncstqb.php
https://lustful.su/v/sfu4ov4em32u.php
https://sexonly.su/v/w1tbqpdi90ya.php
https://sluts.su/v/ki0n6hpminrp.php
https://sexonly.su/v/xrt6okpg6koy.php
https://lustful.su/v/wsabo8mx1han.php

#581 By 4240821 (82.115.4.230) at 7/19/2025 12:40:09 AM
https://nsfw.su/v/a9x9z0i5g787.php
https://sluts.su/v/s7eoiv32hz5v.php
https://lustful.su/v/x7kf1incjdh7.php
https://nsfw.su/v/tp30v3axun67.php
https://sexonly.top/v/fi0jqcy2chrs.php
https://sexonly.su/v/tzo5q6f35gq7.php
https://sexonly.su/v/yp81khxdn3tu.php
https://sexonly.su/v/3o99ajoxp4j8.php
https://sexonly.top/v/sd8e75avcnye.php
https://sexonly.su/v/ljm2nbud53od.php

#582 By 4240821 (82.115.4.230) at 7/20/2025 12:59:47 AM
https://justpaste.me/abwZ2
https://justpaste.me/ZvAC4
https://justpaste.me/Z1cx1
https://justpaste.me/cuQz3
https://justpaste.me/Zl0R2
https://justpaste.me/YtbW
https://justpaste.me/YsZN3
https://justpaste.me/Z1cx1
https://justpaste.me/ahFj3
https://justpaste.me/ZdYD2

#583 By 4240821 (82.115.4.230) at 7/20/2025 10:29:15 AM
https://justpaste.me/aNRY1
https://justpaste.me/ZoT82
https://justpaste.me/ZV45
https://justpaste.me/bEBd3
https://justpaste.me/dDzT2
https://justpaste.me/ZACb2
https://justpaste.me/ax0Q
https://justpaste.me/dAGd1
https://justpaste.me/bvKG4
https://justpaste.me/c5JZ

#584 By 4240821 (82.115.4.230) at 7/21/2025 2:15:39 PM
https://www.pillowfort.social/posts/6443577
https://www.pillowfort.social/posts/6434628
https://www.pillowfort.social/posts/6461927
https://www.pillowfort.social/posts/6451662
https://www.pillowfort.social/posts/6448606
https://www.pillowfort.social/posts/6465249
https://www.pillowfort.social/posts/6432667
https://www.pillowfort.social/posts/6446663
https://www.pillowfort.social/posts/6446422
https://www.pillowfort.social/posts/6440215

#585 By 4240821 (82.115.4.230) at 7/23/2025 12:15:38 AM
https://moanio.com/video.php?id=1467
https://moanio.com/video.php?id=4673
https://moanio.com/video.php?id=5359
https://moanio.com/video.php?id=1113
https://moanio.com/video.php?id=3156
https://moanio.com/video.php?id=4869
https://moanio.com/video.php?id=5269
https://moanio.com/video.php?id=1060
https://moanio.com/video.php?id=2798
https://moanio.com/video.php?id=2685

#586 By 4240821 (82.115.4.230) at 7/24/2025 6:36:31 PM
https://moanio.com/video.php?id=4984
https://moanio.com/video.php?id=3061
https://moanio.com/video.php?id=123
https://moanio.com/video.php?id=3881
https://moanio.com/video.php?id=2664
https://moanio.com/video.php?id=3263
https://moanio.com/video.php?id=5345
https://moanio.com/video.php?id=4610
https://moanio.com/video.php?id=1704
https://moanio.com/video.php?id=2338

#587 By 4240821 (82.115.4.230) at 7/26/2025 6:19:02 PM
https://moanio.com/video.php?id=4502
https://moanio.com/video.php?id=576
https://moanio.com/video.php?id=5708
https://moanio.com/video.php?id=3576
https://moanio.com/video.php?id=5653
https://moanio.com/video.php?id=2653
https://moanio.com/video.php?id=755
https://moanio.com/video.php?id=3676
https://moanio.com/video.php?id=1671
https://moanio.com/video.php?id=4882

#588 By 4240821 (82.115.4.230) at 7/27/2025 11:59:25 PM
https://moanio.com/video.php?id=1138
https://moanio.com/video.php?id=4777
https://moanio.com/video.php?id=3531
https://moanio.com/video.php?id=1204
https://moanio.com/video.php?id=5704
https://moanio.com/video.php?id=1094
https://moanio.com/video.php?id=3926
https://moanio.com/video.php?id=2135
https://moanio.com/video.php?id=2788
https://moanio.com/video.php?id=396

#589 By 4240821 (82.115.4.230) at 7/29/2025 8:10:26 AM
https://justpaste.me/cY1D3
https://justpaste.me/crby1
https://justpaste.me/f7ND
https://justpaste.me/fxWq5
https://justpaste.me/fQIF1
https://justpaste.me/ZVS91
https://justpaste.me/eWmT2
https://justpaste.me/bh2H2
https://justpaste.me/cGpn4
https://justpaste.me/f4kh1

#590 By 4240821 (82.115.4.230) at 7/30/2025 8:39:52 AM
https://justpaste.me/ab3P1
https://justpaste.me/e4CX3
https://justpaste.me/dUOE
https://justpaste.me/ar2Q1
https://justpaste.me/blj5
https://justpaste.me/eilk1
https://justpaste.me/eORQ4
https://justpaste.me/bND4
https://justpaste.me/ey2m3
https://justpaste.me/d1Wo1

#591 By 4240821 (82.115.4.230) at 7/31/2025 1:49:02 PM
https://justpaste.me/dSzL5
https://justpaste.me/fcTn6
https://justpaste.me/aiwX1
https://justpaste.me/YpJH3
https://justpaste.me/ZsBW1
https://justpaste.me/f8qf
https://justpaste.me/YxkP2
https://justpaste.me/dCO81
https://justpaste.me/akva
https://justpaste.me/eYIS4

#592 By 4240821 (82.115.4.230) at 7/31/2025 7:24:45 PM
https://justpaste.me/bfBS
https://justpaste.me/Ywuv2
https://justpaste.me/ci3X1
https://justpaste.me/aJgF
https://justpaste.me/fScs7
https://justpaste.me/aySg
https://justpaste.me/aypj3
https://justpaste.me/eR92
https://justpaste.me/eUjv3
https://justpaste.me/YncI2

#593 By 4240821 (82.115.4.230) at 8/2/2025 8:30:22 AM
https://justpaste.me/f6uP1
https://justpaste.me/e5Jo4
https://justpaste.me/fUiL7
https://justpaste.me/a91z2
https://justpaste.me/g1JB1
https://justpaste.me/dwvV3
https://justpaste.me/ePdv4
https://justpaste.me/ZtIt3
https://justpaste.me/fQIF1
https://justpaste.me/dDzT2

#594 By 4240821 (82.115.4.230) at 8/2/2025 2:22:34 PM
https://justpaste.me/dMqb6
https://justpaste.me/eoCd6
https://justpaste.me/bYHJ2
https://justpaste.me/dTQP5
https://justpaste.me/ailc2
https://justpaste.me/f0WT1
https://justpaste.me/ahxx1
https://justpaste.me/boTl1
https://justpaste.me/a1bw
https://justpaste.me/bQXQ

#595 By 4240821 (82.115.4.230) at 8/3/2025 1:05:59 PM
https://justpaste.me/du7l
https://justpaste.me/e2MU2
https://justpaste.me/fGuK2
https://justpaste.me/eE4g2
https://justpaste.me/eZd8
https://justpaste.me/ajKB1
https://justpaste.me/cbJR1
https://justpaste.me/cPvM1
https://justpaste.me/dwcJ1
https://justpaste.me/cE561

#596 By 4240821 (82.115.4.230) at 8/3/2025 7:58:30 PM
https://justpaste.me/c5sM
https://justpaste.me/fyAN2
https://justpaste.me/czBS1
https://justpaste.me/agRU1
https://justpaste.me/euLI8
https://justpaste.me/dcPN
https://justpaste.me/bdQj4
https://justpaste.me/dXVJ1
https://justpaste.me/fZeF5
https://justpaste.me/bpzT4

#597 By 4240821 (82.115.4.230) at 8/4/2025 10:41:08 AM
https://moanio.com/video.php?id=5909
https://moanio.com/video.php?id=6740
https://moanio.com/video.php?id=4801
https://moanio.com/video.php?id=6093
https://moanio.com/video.php?id=3297
https://moanio.com/video.php?id=3505
https://moanio.com/video.php?id=1758
https://moanio.com/video.php?id=6290
https://moanio.com/video.php?id=5050
https://moanio.com/video.php?id=1572

#598 By 4240821 (82.115.4.230) at 8/5/2025 4:04:21 AM
https://moanio.com/video.php?id=4630
https://moanio.com/video.php?id=5373
https://moanio.com/video.php?id=2031
https://moanio.com/video.php?id=6136
https://moanio.com/video.php?id=1328
https://moanio.com/video.php?id=398
https://moanio.com/video.php?id=4836
https://moanio.com/video.php?id=1530
https://moanio.com/video.php?id=4044
https://moanio.com/video.php?id=6949

#599 By 4240821 (82.115.4.230) at 8/5/2025 11:04:38 PM
https://moanio.com/video.php?id=1845
https://moanio.com/video.php?id=6829
https://moanio.com/video.php?id=1548
https://moanio.com/video.php?id=574
https://moanio.com/video.php?id=5107
https://moanio.com/video.php?id=3512
https://moanio.com/video.php?id=6856
https://moanio.com/video.php?id=6472
https://moanio.com/video.php?id=6589
https://moanio.com/video.php?id=4010

#600 By 4240821 (82.115.4.230) at 8/6/2025 4:55:06 PM
https://moanio.com/video.php?id=5871
https://moanio.com/video.php?id=1798
https://moanio.com/video.php?id=5637
https://moanio.com/video.php?id=2084
https://moanio.com/video.php?id=2878
https://moanio.com/video.php?id=3647
https://moanio.com/video.php?id=5192
https://moanio.com/video.php?id=1373
https://moanio.com/video.php?id=2503
https://moanio.com/video.php?id=651

Write Comment
Return to News
  Displaying 576 through 600 of 646
Prev | First | Last | Next
  The time now is 7:44:02 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *