If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > sp_helpdb in sybase

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-01-10, 02:58
maxyogesh2002 maxyogesh2002 is offline
Registered User
 
Join Date: Jun 2009
Posts: 4
sp_helpdb in sybase

Dear Friends
when i run sp_helpdb dbname query in sybase it return only following columns

name,db_size,owner,dbid,created,status

& not returning the following Columns

device_fragments,size,usage,created,free kbytes

Why this happend plz help me

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 11-01-10, 04:00
Martijnvs Martijnvs is offline
Registered User
 
Join Date: Jan 2004
Location: The Hague/Utrecht, NL
Posts: 415
Because those columns aren't selected in the stored procedure sp_helpdb, obviously. If you want the values of the other columns, do a select on a few systemtables, or try some other stored procs.
__________________
I'm not crazy, I'm an aeroplane!
Reply With Quote
Reply

Tags
sybase, sybase ase

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On