dbTalk Databases Forums  

MySQL Database not retrieving the full database

comp.databases.mysql comp.databases.mysql


Discuss MySQL Database not retrieving the full database in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default MySQL Database not retrieving the full database - 07-20-2006 , 04:35 AM






Hi,

I am using MySQL and PHP for my repository. It has 500+ records. till
now it was displayiing all records in the database, but since from one
week its not displaying all 500+, its showing only 400 records..

even in command mode its retrieving only 400 records. please help me to
solve this problem. what may be the problem i am not able to traceout.
and if i give the following command it will show records in command
line. "select soft_id, soft_title, file_name from maintable where
soft_id='530';"

Waiting for reply
Geetha


Reply With Quote
  #2  
Old   
Jerry Stuckle
 
Posts: n/a

Default Re: MySQL Database not retrieving the full database - 07-20-2006 , 07:21 AM






geetha.veeraiah (AT) gmail (DOT) com wrote:
Quote:
Hi,

I am using MySQL and PHP for my repository. It has 500+ records. till
now it was displayiing all records in the database, but since from one
week its not displaying all 500+, its showing only 400 records..

even in command mode its retrieving only 400 records. please help me to
solve this problem. what may be the problem i am not able to traceout.
and if i give the following command it will show records in command
line. "select soft_id, soft_title, file_name from maintable where
soft_id='530';"

Waiting for reply
Geetha

How do you know you have over 500 rows in the table? It sounds to me
like you've only got 400 rows.

And your SELECT statement will only show row(s) which have soft_id equal
to '530', not all rows.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex (AT) attglobal (DOT) net
==================


Reply With Quote
  #3  
Old   
AT
 
Posts: n/a

Default Re: MySQL Database not retrieving the full database - 07-21-2006 , 01:11 AM



Hi,

There are 539 records, i can see them if i give the query like

select soft_id, soft_title from maintable where soft_id='499';
this query will show the soft_id and corresponding soft title which we
have uploaded. I can see up to 539 software one by one by using this
query, but if i give

select * from maintable;
this query retrieves only 400 software details

that means records are there, but not displaying them.

Please help me in this regard

Regards
Geetha

Jerry Stuckle wrote:
Quote:
geetha.veeraiah (AT) gmail (DOT) com wrote:
Hi,

I am using MySQL and PHP for my repository. It has 500+ records. till
now it was displayiing all records in the database, but since from one
week its not displaying all 500+, its showing only 400 records..

even in command mode its retrieving only 400 records. please help me to
solve this problem. what may be the problem i am not able to traceout.
and if i give the following command it will show records in command
line. "select soft_id, soft_title, file_name from maintable where
soft_id='530';"

Waiting for reply
Geetha


How do you know you have over 500 rows in the table? It sounds to me
like you've only got 400 rows.

And your SELECT statement will only show row(s) which have soft_id equal
to '530', not all rows.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex (AT) attglobal (DOT) net
==================


Reply With Quote
  #4  
Old   
Dikkie Dik
 
Posts: n/a

Default Re: MySQL Database not retrieving the full database - 07-21-2006 , 04:34 PM



If you can see a record with id 499, that does not mean that all records
with lower id values still exist (or have even existed altogether). The
query:

SELECT COUNT(0) FROM maintable

should tell you how many records there are.

Best regards

geetha.veeraiah (AT) gmail (DOT) com wrote:
Quote:
Hi,

There are 539 records, i can see them if i give the query like

select soft_id, soft_title from maintable where soft_id='499';
this query will show the soft_id and corresponding soft title which we
have uploaded. I can see up to 539 software one by one by using this
query, but if i give

select * from maintable;
this query retrieves only 400 software details

that means records are there, but not displaying them.

Please help me in this regard

Regards
Geetha

Jerry Stuckle wrote:
geetha.veeraiah (AT) gmail (DOT) com wrote:
Hi,

I am using MySQL and PHP for my repository. It has 500+ records. till
now it was displayiing all records in the database, but since from one
week its not displaying all 500+, its showing only 400 records..

even in command mode its retrieving only 400 records. please help me to
solve this problem. what may be the problem i am not able to traceout.
and if i give the following command it will show records in command
line. "select soft_id, soft_title, file_name from maintable where
soft_id='530';"

Waiting for reply
Geetha

How do you know you have over 500 rows in the table? It sounds to me
like you've only got 400 rows.

And your SELECT statement will only show row(s) which have soft_id equal
to '530', not all rows.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex (AT) attglobal (DOT) net
==================


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.