September 24, 2007 at 2:28 am
Comments posted to this topic are about the item Global System UDF to return ISO Date string
March 23, 2013 at 5:03 pm
The following code doesn't work.
EXEC sp_changeobjectowner 'fn_DateTimeToISODate', 'system_function_schema'
It produces the following error in SQL Server 2008.
Msg 15411, Level 11, State 1, Procedure sp_changeobjectowner, Line 111
Database principal or schema 'system_function_schema' does not exist in this database.
Has this database principle gone away in 2008? I've not checked but did it exist in 2005 or what? What version of SQL Server were you using when this worked for you?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2013 at 6:03 pm
I'm thinking this would work on SQL Server 2000 when you could update system tables.
March 23, 2013 at 6:41 pm
Lynn Pettis (3/23/2013)
I'm thinking this would work on SQL Server 2000 when you could update system tables.
I'm thinking the same thing but wanted to make sure because it sure would be handy. I wish MS would build a "MasterUser" database that had the "everywhere" capabilities of the Master database and that you could easily add any global proc, view, function, or table that you needed to be globally available. Who knows... maybe by the year 2020 (the year of "a clear vision" :-P).
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply