home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ulowell!news.bbn.com!olivea!gossip.pyramid.com!pyramid!infmx!davek
- From: davek@informix.com (David Kosenko)
- Newsgroups: comp.databases.informix
- Subject: Re: table creation timestamp
- Message-ID: <1992Nov13.163029.4123@informix.com>
- Date: 13 Nov 92 16:30:29 GMT
- References: <1du5vcINNafe@emory.mathcs.emory.edu>
- Sender: news@informix.com (Usenet News)
- Organization: Informix Software, Inc.
- Lines: 24
-
- Bob Baskett writes:
- >
- >i there a way that the creation timestamp of a table can be obtained.
- >tbcheck -pt db:tab displays it, but i want to get this info non-
- >interactively and without having to wait for tbcheck to finish. also,
- >does informix stores the last update, last alter timestamp anywhere.
-
- You could get the creation *date* (but not time) by
-
- SELECT created FROM systables WHERE tabname = "<tablename>"; This
- will not reflect any table alterations though. There is nothing that
- tracks the last "update" (we'd be forever modifying it!). There is a verion
- column in systables that get sincremented when an ALTER TABLE is performed,
- but it is not a timestamp.
-
- The timestamp you see in tbcheck is stored in the tblspace tblspace, and is
- not available to users via any method other than tbcheck.
-
- Dave
- --
- Disclaimer: These opinions are not those of Informix Software, Inc.
- **************************************************************************
- "I look back with some satisfaction on what an idiot I was when I was 25,
- but when I do that, I'm assuming I'm no longer an idiot." - Andy Rooney
-