dbTalk Databases Forums  

Re: Table Error?

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Re: Table Error? in the comp.databases.oracle.misc forum.



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

Default Re: Table Error? - 06-05-2009 , 04:08 PM






<art (AT) unsu (DOT) com> wrote

Quote:
This is really weird. We do a count on a table and get 5,954,235
records. However, when we select the ata, there is only 1 record in
the table????

Suggestions anyone?
Offhand you are either accidently mixing table names and asking for fields
that don't exist, or have a bad 'where' porton (such as other person said
'where field = null' doesnt work. where field = 'null' might if you have
any where null is actually entered in there as the text!)




Reply With Quote
  #2  
Old   
Frank van Bortel
 
Posts: n/a

Default Re: Table Error? - 06-07-2009 , 10:28 AM






art (AT) unsu (DOT) com wrote:
Quote:
This is really weird. We do a count on a table and get 5,954,235
records. However, when we select the ata, there is only 1 record in
the table????

Suggestions anyone?

select * from table where rownum=1;

--

Regards,
Frank van Bortel

Reply With Quote
  #3  
Old   
sybrandb@hccnet.nl
 
Posts: n/a

Default Re: Table Error? - 06-07-2009 , 03:44 PM



On Thu, 4 Jun 2009 17:46:05 -0700 (PDT), art (AT) unsu (DOT) com wrote:

Quote:

This is really weird. We do a count on a table and get 5,954,235
records. However, when we select the ata, there is only 1 record in
the table????

Suggestions anyone?
We do not speak Hindi.

--
Sybrand Bakker
Senior Oracle DBA

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.