From: Martin Gainty Date: September 23 2012 11:27pm Subject: RE: How to block SELECT * FROM table; but not SELECT * FROMT table WHERE...; List-Archive: http://lists.mysql.com/mysql/228240 Message-Id: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="_2078e049-85c6-4cfa-9ab5-473dc180ee9c_" --_2078e049-85c6-4cfa-9ab5-473dc180ee9c_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Possibly run your constructed query thru a regex expression e.g. String mydata =3D "SELECT * from table WHERE a Date: Sun=2C 23 Sep 2012 18:38:58 -0400 > Subject: Re: How to block SELECT * FROM table=3B but not SELECT * FROMT t= able WHERE...=3B > From: fuller.artful@stripped > To: pownalltim@stripped > CC: mysql@stripped >=20 > Tim=2C >=20 > I think you misunderstood the question. Daniel wants to block Select > queries that ask for all rwows=2C and permit only queries that ask for so= me > rows=2C as restricted by the Where clause. >=20 > Unfortunately=2C I don't think that can be done. But I'm not certain of t= hat=3B > there might be a trick. >=20 > Arthur > www.artfulsoftware.com >=20 > On Sun=2C Sep 23=2C 2012 at 3:50 PM=2C Tim Pownall = wrote: >=20 > > select * from table where column=3Dvalue means it will return only row= s that > > match. as long as you have proper indexing there should not be any iss= ues. > > > > On Sun=2C Sep 23=2C 2012 at 1:23 PM=2C Luis Daniel Lucio Quiroz < > > luis.daniel.lucio@stripped> wrote: > > > > = --_2078e049-85c6-4cfa-9ab5-473dc180ee9c_--