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)
 SQL Function

Author  Topic 

benko
Starting Member

24 Posts

Posted - 2004-11-12 : 10:49:08
Hello, I was wondering if a function could accept a #TempTable as a parameter or even a @TableVariable. Cause i need to do a query and populate a tmpTable and then pass it into the function to do some more stuff. Any ideas!? Thanks in advance

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2004-11-12 : 11:27:41
according to BOL on create function
quote:

Parameters can take the place only of constants; they cannot be used in place of table names, column names, or the names of other database objects.



--------------------
keeping it simple...
Go to Top of Page
   

- Advertisement -