Hi.
I recently installed an ASE 15.0.3 on a Red Hat server. I believe I did it the same way I've done it a million times before on both Solaris and Red Hat. But now I'm getting a strange symptom that I have never seen before.
On every other ASE I can call a system stored procedure with or without the dbo prefix. For example: exec dbo.sp_helpdb
But in this one ASE, when I try that I get "Msg 2812, Level 16, State 5: Stored procedure 'dbo.sp_helpdb' not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output)."
I can run it in any of these ways and it works fine:
exec sp_helpdb
exec sybsystemprocs.dbo.sp_helpdb
exec sybsystemprocs..sp_helpdb
This problem happens when I am inside my user database. When I repeat this test from inside master or sybsystemprocs, it works fine. It doesn't matter whether I'm logged in as sa or a user.
I have checked sysobjects in every database to make sure there is no confusion with the name. Only sybsystemprocs contains an object called sp_helpdb.
Also I have verified that sybsystemprocs is owned by sa.
Also I have re-run installmaster but it made no difference.
The only thing I haven't done is to shutdown and restart. I'm right in the middle of a big "create index" and I don't want to interrupt it.
This glitch actually doesn't cause "much" problem. But, for example if I call sp_help on a table, it will mostly run but it will spit out 2812 errors when it tries to call dbo.sp_helpindex, dbo.sp_helpkey, and dbo.sp_helpartition. Obviously something's wrong.
Thanks.
- John.