|
|
|
|
|
|
| Author |
Message |
Detlef *nix forums beginner
Joined: 11 Mar 2005
Posts: 5
|
Posted: Wed Apr 06, 2005 5:52 am Post subject:
Re: SQL-Statement
|
|
|
Hi Sara,
it works fine. Thanks
regards,
Detlef
"DBAGAL" <saradba@hotmail.com> wrote in message news:<1112716765.434455.58660@l41g2000cwc.googlegroups.com>...
| Quote: | Heya Detlef,
Try this:
select object_name(id), rowcnt
from systabstats
where indid in (0,1)
order by rowcnt desc
You want to ensure you are running "update statistics" regularly and
even might want to run "sp_flushstats" prior to running the above
query.
Anyone with a better solution?
Cheers,
Sara ..
Detlef wrote:
Hi all,
I have a question about a Siebel Sybasedatabase.
I want to know which of the tables a user had created has the most
rows of all tables. The SQL-Statement have to spend all the
tablenames
and number of rows.
could anyone please help me?
many thanks for all.
regards,
deha |
|
|
| Back to top |
|
 |
DBAGAL *nix forums beginner
Joined: 31 May 2005
Posts: 39
|
Posted: Tue Apr 05, 2005 1:59 pm Post subject:
Re: SQL-Statement
|
|
|
Heya Detlef,
Try this:
select object_name(id), rowcnt
from systabstats
where indid in (0,1)
order by rowcnt desc
You want to ensure you are running "update statistics" regularly and
even might want to run "sp_flushstats" prior to running the above
query.
Anyone with a better solution?
Cheers,
Sara ..
Detlef wrote:
| Quote: | Hi all,
I have a question about a Siebel Sybasedatabase.
I want to know which of the tables a user had created has the most
rows of all tables. The SQL-Statement have to spend all the
tablenames
and number of rows.
could anyone please help me?
many thanks for all.
regards,
deha |
|
|
| Back to top |
|
 |
Detlef *nix forums beginner
Joined: 11 Mar 2005
Posts: 5
|
Posted: Tue Apr 05, 2005 11:04 am Post subject:
SQL-Statement
|
|
|
Hi all,
I have a question about a Siebel Sybasedatabase.
I want to know which of the tables a user had created has the most
rows of all tables. The SQL-Statement have to spend all the tablenames
and number of rows.
could anyone please help me?
many thanks for all.
regards,
deha |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 5:03 am | All times are GMT
|
|
Bad Credit Loan | Chitika | Debt Consolidation | Advertising | Promotional Web Design
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|