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 > Needed help in sybase

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-29-10, 04:36
maxyogesh2002 maxyogesh2002 is offline
Registered User
 
Join Date: Jun 2009
Posts: 4
Needed help in sybase

Dear Friend, I need to retrive the following Details using Sybase SQL Query.

1).Database Data File Path

2).Database Transaction Log File Path

3).Path where SybaseSoftware Installed

4).Patch Installed on Sybase

Thanks.
Reply With Quote
  #2 (permalink)  
Old 10-29-10, 05:24
Martijnvs Martijnvs is offline
Registered User
 
Join Date: Jan 2004
Location: The Hague/Utrecht, NL
Posts: 415
Try the systemtables in the masterdatabase and/or sp_configure. The documentation should give some information about this stuff too.
__________________
I'm not crazy, I'm an aeroplane!
Reply With Quote
  #3 (permalink)  
Old 11-02-10, 17:51
farhy farhy is offline
Registered User
 
Join Date: Aug 2010
Posts: 19
For your first 2 questions:

select t1.name,t1.phyname,t1.status,t2.lstart,t2.size,t2. unreservedpgs
from master..sysdevices t1
inner join master..sysusages t2 on t1.vdevno = t2.vdevno
where dbid =db_id()
order by 1,2,4

from this site:
Sybase Blog sybdoc.com
Reply With Quote
  #4 (permalink)  
Old 11-03-10, 03:09
pdreyer pdreyer is offline
Registered User
 
Join Date: May 2005
Location: South Africa
Posts: 1,268
For version and ebf number
select @@version
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