PC Review


Reply
Thread Tools Rate Thread

Call stored procedure with table parameter

 
 
Jeremy
Guest
Posts: n/a
 
      6th May 2008
Is it possible to call a stored procedure with a Table parameter?

I see that the System.Data.SqlDbType enumeration contains a value called
Structured, and the description in help says "A special data type for
specifying struyctured data contained in table-valued parameters". But, I
haven't figured out how to use this.


 
Reply With Quote
 
 
 
 
Misbah Arefin
Guest
Posts: n/a
 
      6th May 2008
Table-Value Parameters are new in SQL Server 2008
http://dotnethitman.spaces.live.com/blog/cns!E149A8B1E1C25B14!129.entry


--
Misbah Arefin
https://mcp.support.microsoft.com/profile/MISBAH.AREFIN
http://www.linkedin.com/in/misbaharefin


"Jeremy" wrote:

> Is it possible to call a stored procedure with a Table parameter?
>
> I see that the System.Data.SqlDbType enumeration contains a value called
> Structured, and the description in help says "A special data type for
> specifying struyctured data contained in table-valued parameters". But, I
> haven't figured out how to use this.
>
>
>

 
Reply With Quote
 
Mary Chipman [MSFT]
Guest
Posts: n/a
 
      6th May 2008
Table-valued parameters are being introduced in SQL Server 2008, so if
you're using an earlier version, the Structured enumeration isn't
going to do anything interesting. Bob Beauchemin's blog has a short
explanation
http://www.sqlskills.com/blogs/bobb/...erver2008.aspx
and here's the link to SQL BOL for the documentation:
http://msdn.microsoft.com/en-us/library/bb510489(SQL.100).aspx.

--Mary

On Tue, 6 May 2008 11:34:06 -0700, "Jeremy" <(E-Mail Removed)> wrote:

>Is it possible to call a stored procedure with a Table parameter?
>
>I see that the System.Data.SqlDbType enumeration contains a value called
>Structured, and the description in help says "A special data type for
>specifying struyctured data contained in table-valued parameters". But, I
>haven't figured out how to use this.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OleDb SqlDataSource stored procedure call parameter order mixed up ? User Microsoft ASP .NET 0 30th Sep 2010 06:20 AM
Call SQL stored procedure that inserts parameter value sck10 Microsoft Access VBA Modules 0 13th Nov 2008 06:15 PM
Cant call stored procedure which uses table variables? Sunny Microsoft Access 5 11th Jan 2007 03:10 PM
Cant call stored procedure which uses table variables? Sunny Microsoft Access Getting Started 3 11th Jan 2007 12:09 AM
Call a stored procedure with decimal parameter Mona Microsoft ASP .NET 2 27th Jun 2003 03:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:49 PM.