Apr 23, 2001 #1 CALYAN Programmer Apr 23, 2001 39 US I WANT TO FIND THE NO. OF RECORDS IN A DATABASE. HOW TO FIND IT?(NOTE DATABASE NOT IN A PARTICULAR TABLE BY USING SELECT COUNT(*) FROM TABLE NAME)
I WANT TO FIND THE NO. OF RECORDS IN A DATABASE. HOW TO FIND IT?(NOTE DATABASE NOT IN A PARTICULAR TABLE BY USING SELECT COUNT(*) FROM TABLE NAME)
Aug 16, 2001 #2 GRP MIS Aug 5, 2001 26 IN Hi, You can find the number of recrods in your database from the following sql: select sum(nrows) from "informix".systables G.R.P. Upvote 0 Downvote
Hi, You can find the number of recrods in your database from the following sql: select sum(nrows) from "informix".systables G.R.P.
Aug 20, 2001 #3 jbcamel Programmer Mar 26, 2001 37 US You need to add "where tabid > 100" to the above query or you will include the rows in the system catalog tables. Jane Upvote 0 Downvote
You need to add "where tabid > 100" to the above query or you will include the rows in the system catalog tables. Jane
Aug 22, 2001 #4 GRP MIS Aug 5, 2001 26 IN This can also be done by using where clause. where owner != "informix". Since he wanted to know all the records in database, I did not include where condition. G.R.P. Upvote 0 Downvote
This can also be done by using where clause. where owner != "informix". Since he wanted to know all the records in database, I did not include where condition. G.R.P.