Jul 19, 2004 #1 mbowles Programmer Joined Aug 27, 2001 Messages 41 Location US I have a udf called Split. It was create like so: CREATE FUNCTION dbo.Split It returns a table of values from a comma separated nvarchar sent to it. No matter how I call it, I get Invalid object name 'dbo.Split' Any thoughts?
I have a udf called Split. It was create like so: CREATE FUNCTION dbo.Split It returns a table of values from a comma separated nvarchar sent to it. No matter how I call it, I get Invalid object name 'dbo.Split' Any thoughts?
Jul 19, 2004 #2 SQLSister Programmer Joined Jun 18, 2002 Messages 7,292 Location US You don't need the dbo when you have table result. Try it without the dbo prefix. Questions about posting. See faq183-874 Upvote 0 Downvote
You don't need the dbo when you have table result. Try it without the dbo prefix. Questions about posting. See faq183-874
Jul 19, 2004 Thread starter #3 mbowles Programmer Joined Aug 27, 2001 Messages 41 Location US tried that as well. Trying somehting like this: select * from myTable where id in (Split(1,51,100',',')) I cant even exec it from query analyzer, same error. Upvote 0 Downvote
tried that as well. Trying somehting like this: select * from myTable where id in (Split(1,51,100',',')) I cant even exec it from query analyzer, same error.
Jul 19, 2004 Thread starter #4 mbowles Programmer Joined Aug 27, 2001 Messages 41 Location US it seems that I was not calling it like so: select * from Split('1,54',',') to get the results of the table..thanks! Upvote 0 Downvote
it seems that I was not calling it like so: select * from Split('1,54',',') to get the results of the table..thanks!