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

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

akashenk
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

sunitabeck
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

akashenk
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  
 New 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.03 seconds. Powered By: Snitz Forums 2000