|
|
Choosing A Webhost: |
Re: dbmorecmds works: msg#00039db.tds.freetds
On Wed, 2003-07-30 at 07:47, James K. Lowden wrote: > On 29 Jul 2003 10:25:28 +0200, Michael Peppler <mpeppler@xxxxxxxxxx> > wrote: > > > > The sp_xxx stored procs should normally not be executed with the > > database specifier. They are automatically found by the SQL parser on > > the server. For Sybase 4.x (and MS-SQL, apparently) the sp_xxx procs are > > in master, for Sybase > 10.x the procs live in sybsystemprocs. In any > > case you should just run > > exec sp_help > > > > That being said - running "master..sp_help" *should* also work - > > certainly it works here via sqsh and OpenClient. > > Right. I was running "execute master..sp_help sp_help". The idea was to > get help on something, and help on help seemed to require the fewest > assumptions. > > I couldn't say "execute sp_help sp_help" because the default database > probably wouldn't have an sp_help to get sp_help about. If you see what I > mean. ;-) You *could* just do sp_help all by itself - or "sp_help sysusers", as the sysusers table is guaranteed to exist in all the databases and all the versions of Sybase and MS-SQL. Michael
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Applying Steve Murphee patch (2), Frediano Ziglio |
|---|---|
| Next by Date: | Re: dbmorecmds works, James K. Lowden |
| Previous by Thread: | Re: dbmorecmds works, James K. Lowden |
| Next by Thread: | Re: dbmorecmds works, James K. Lowden |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |