Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 table valued parameters in IDE
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

111 Posts

Posted - 12/06/2012 :  09:35:31  Show Profile  Reply with Quote
Is there any way to specify a table valued parameter using the built-in SQL Management Studio IDE for executing a stored procedure? When the screen comes up, the table-valued parameter is listed with appropriate user-defined TableType... however, I'm not quite sure how to specify the data I wish to pass in the "Value" column. Passing null causes an "Operand type clash: void type is incompatible with CustomTypeName" error

Flowing Fount of Yak Knowledge

5155 Posts

Posted - 12/06/2012 :  10:01:07  Show Profile  Reply with Quote
As far as I know, you cannot do this. There is no literal representation for a whole table - which is what is required for each non-nullable parameter in that menu.

If there is a clever way to make it happen, I don't know what it is.
Go to Top of Page

Posting Yak Master

111 Posts

Posted - 12/06/2012 :  11:31:24  Show Profile  Reply with Quote
ok... thanks.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000