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
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Invalid object name <TableName>
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

110 Posts

Posted - 12/21/2004 :  11:48:35  Show Profile  Reply with Quote

I have a sp which calls a UDF function. That works locally very well. But when I deploy it to the server, then I get the errror:
Invalid object name <TableName>

I have already set the ownership of the UDF to dbo. Now when I remove this function from my sp, then the sp works fine. This is reason that I am sure the the UDF is causing this error. Does anybody know what I have to do else to get this working?


The Chadinator

1974 Posts

Posted - 12/21/2004 :  12:28:10  Show Profile  Visit chadmat's Homepage  Reply with Quote
Are you calling dbo.udfName or just UDFName? Try adding dbo. to the beginning if you don't have it there.


Software built for the Common Language Runtime.
Go to Top of Page

Bustaz Kool
Flowing Fount of Yak Knowledge

1834 Posts

Posted - 12/21/2004 :  12:34:32  Show Profile  Reply with Quote
Can we see the script that actually generates this error? Otherwise we're just shotting blind.



The best things in life are nearest: Breath in your nostrils, light in your eyes, flowers at your feet, duties at your hand, the path of right just before you. -Robert Louis Stevenson, novelist, essayist, and poet
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