Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Stefanie Vario — — source: Informix-list mailing list archive (1991-1998)
Ben Van Truong (ben.truong@amd.com) wrote:
: I'm running Informix 7.1. My database consists of more than 200 tables
: spreads out over 20 dbspaces. Given a table, how do I find out what dbspace
: that table resided in?
: Many thanks for the answer.
Try this query on your database:
select
sd.name
from
sysmaster:sysdbspaces sd,
systables st
where
st.tabname = "<given tabname>" and
sd.dbsnum = round(st.partnum/1048576)
--
Stefanie Vario
svario@zenacomp.com
ZenaComp Incorporated
http://www.zenacomp.com/zenacomp
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.