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

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Table variable

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-07-18 : 11:54:02
Vivienne writes "Can we used table variable as a parameter data_type for a stored procedure? If yes, how can I go about doing it?
Thanks"

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-07-18 : 12:09:26
No, you can't pass a parameter of type table. You can however pass data as comma-separated values, and import them into a table or table variable used within your stored procedure.

Check out:

http://www.sqlteam.com/SearchResults.asp?SearchTerms=csv
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=17877

Go to Top of Page
   

- Advertisement -