Received: from herald.colloquium.co.uk (herald.colloquium.co.uk [192.153.153.244]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5DHL3E14277 for ; Wed, 13 Jun 2001 13:21:03 -0400 (EDT) (envelope-from spare1@cqm.co.uk) Received: from yellow (yellow.colloquium.co.uk [192.153.153.101]) by herald.colloquium.co.uk (8.9.3/8.9.3) with SMTP id RAA09488 for ; Wed, 13 Jun 2001 17:33:37 GMT Message-ID: <000d01c0f42e$0d23d920$659999c0@colloquium.co.uk> From: "james" To: Subject: Broken Tables? Date: Wed, 13 Jun 2001 18:26:56 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01C0F436.6D90EE80" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200106/81 X-Sequence-Number: 1636 This is a multi-part message in MIME format. ------=_NextPart_000_000A_01C0F436.6D90EE80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I'm working on a disaster recovery....... When I do a psql> SELECT * from tablename; I get the full table back, but when I do a psql> SELECT * from tablename WHERE column_name =3D'variable'; it returns empty rows even though I know for a fact and have checked using = the select * query that rows should exist and have the variable in the corr= ect column!!! I could do a select *, grab all the data then drop the table then create th= e same table again and feed in the data, but I wonder if there is a better = way??? Cheers... James ------=_NextPart_000_000A_01C0F436.6D90EE80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi, I'm working on a disaster=20 recovery.......
 
 
 
When I do a
psql> SELECT * from tablename;
 
I get the full table back, but when I do= =20 a
 
psql> SELECT * from tablename WHERE col= umn_name=20 =3D'variable';
 
it returns empty rows even though I know f= or a fact=20 and have checked using the select * query that rows should exist and have t= he=20 variable in the correct column!!!
 
I could do a select *, grab all the data t= hen drop=20 the table then create the same table again and feed in the data, but I wond= er if=20 there is a better way???
 
Cheers...
 
James
------=_NextPart_000_000A_01C0F436.6D90EE80--