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 > in-memory table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-19-08, 01:30
sujankumar.v sujankumar.v is offline
Registered User
 
Join Date: Apr 2008
Posts: 1
Question in-memory table

what is this table and where its resides ?
one thing is it stores the information related to dboptions.
Reply With Quote
  #2 (permalink)  
Old 04-21-08, 04:15
pdreyer pdreyer is offline
Registered User
 
Join Date: May 2005
Location: South Africa
Posts: 1,268
dboptions is in the status bits of master.dbo.sysdatabases
Code:
select db_name(dbid) dbname, bitdesc = m.description
from 
(select type, min(number) number, min(msgnum) msgnum 
 from master.dbo.spt_values
 where type like "D%"
   and number>0
 group by type,number
) v,
     master.dbo.sysdatabases d,
     master.dbo.sysmessages m
where 
  (case v.type
  when 'D' then status
  when 'D2' then status2
  when 'D3' then status3
  when 'D4' then status4
  end)  & v.number = v.number
--  and d.dbid = db_id('tempdb')
  and v.msgnum = m.error
order by d.dbid,v.msgnum
Reply With Quote
Reply

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