System administrators can create new system procedures in the sybsystemprocs database.
System procedure names must begin with the characters “sp_”. You can execute these procedures from any database by specifying the procedure name; you need not qualify it with the sybsystemprocs database name. For more information about creating system procedures, see the System Administration Guide.
use pubs2 sp_foo
------------------------------ pubs2
use sybsystemprocs sp_foo
------------------------------ sybsystemprocs