selects with wildcards for field/column names

2004-07-30 Thread Jason Joines
Is it possible to use a wildcard for field names in a select? For instance if I have a table with a hundred columns and I want to retrieve all rows who have a certain value in any column but don't want to type in a hundred column names in my query, how do I do it? I've tried: select * from

Re: selects with wildcards for field/column names

2004-07-30 Thread gerald_clark
Jason Joines wrote: Is it possible to use a wildcard for field names in a select? No. For instance if I have a table with a hundred columns and I want to retrieve all rows who have a certain value in any column but don't want to type in a hundred column names in my query, how do I do it?

Re: selects with wildcards for field/column names

2004-07-30 Thread Harald Fuchs
In article [EMAIL PROTECTED], Jason Joines [EMAIL PROTECTED] writes: Is it possible to use a wildcard for field names in a select? Nope. For instance if I have a table with a hundred columns... ... then you have probably a broken DB design. What are you trying to do? -- MySQL

wildcards the field

2004-01-27 Thread Bob Ramsey
Hi, I'd like to use a mysql database as a lookup to authorize people to edit a webpage. The idea is that people would go to a main login page for authentication and then when they visit a page they are authorized to edit, they see an edit this page link. What I'm envisioning is a really

RE: wildcards the field

2004-01-27 Thread HuMPie
will crash :) -Original Message- From: Bob Ramsey [mailto:[EMAIL PROTECTED] Sent: maandag 12 januari 2004 19:26 To: [EMAIL PROTECTED] Subject: wildcards the field Hi, I'd like to use a mysql database as a lookup to authorize people to edit a webpage. The idea is that people would go

wildcards the field

2004-01-12 Thread Bob Ramsey
Hi, I'd like to use a mysql database as a lookup to authorize people to edit a webpage. The idea is that people would go to a main login page for authentication and then when they visit a page they are authorized to edit, they see an edit this page link. What I'm envisioning is a really