March 10, 2005 at 4:25 am
I think this is a permission issue. check the user permission
My Blog:
March 10, 2005 at 4:34 am
The problem appears when I want to create the function, I can't create it, and I'm doing it as SA user.
March 10, 2005 at 6:23 am
make sure it's the only command in your batch.
hth
JP
March 10, 2005 at 6:44 am
March 10, 2005 at 8:50 am
It doesn't work. In fact, I tried to create the most simple UDF:
create function calc ( @i int)
returns int
as
RETURN(@i)
end
and it is still not working!
I'm sure I'm doing the things right, so I think the problem must be at my SQL Server version (8.00.878 -> post SP3a)
Anybody can confirm this?
Thanks to all
March 10, 2005 at 8:59 am
So you're logged as SA and you still can't create objects??
That's gonna be behond my knowledge. Good luck.
March 10, 2005 at 9:32 am
Try prepending the owner to the function name example:
Create function dbo.CalcInterest( ...
March 10, 2005 at 9:44 am
Still not working.![]()
Thanks for responding.
March 10, 2005 at 9:55 am
Can you see the User define functions from the Enterprise Manager
My Blog:
March 10, 2005 at 10:05 am
I don't have any UDF, so in Enterprise Manager I can't see any UDF...
March 10, 2005 at 10:33 pm
eventhough u don't have udf u should have that link in EM
My Blog:
March 11, 2005 at 1:31 am
Yes, the link appears, and I can click it, showing an empty list of UDF's.I can also rigth-click it to access the option for creating a new one...
March 11, 2005 at 1:37 am
so u can create a function from there and not from the script
STRANGE!!!! ![]()
My Blog:
March 11, 2005 at 1:44 am
No no, I can open the window for creating a new one, but when I click 'check syntax' or try to save, the same error appears!
March 11, 2005 at 2:10 am
can u do this.
right click the server and click properties
please mention these details
Product
Product Version
My Blog:
Viewing 15 posts - 1 through 15 (of 22 total)
You must be logged in to reply to this topic. Login to reply