- Original Message -
From: "Mark van 't Zet" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 20, 2004 6:59 AM
Subject: Select * except certain columns
> Hello,
>
> I was wondering if it's possible to select all fields
Hello,
I was wondering if it's possible to select all fields from a table except
certain columns, e.g.:
select * except text_name from text
I have found several discussions on and outside the MySQL mailing lists that
suggest it's not possible in (My)SQL. Why is this? It is a fe
cally.
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message -
From: "Jed Hunsaker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, 14 June, 2003 22:03
Subject: SELECT... EXCEPT FOR
If there's not a way to do this I would suggest
If there's not a way to do this I would suggest it be added to the next version of
MySQL, but has anyone ever heard of an "EXCEPT FOR" clause that can be used in MySQL's
SELECT statements? For instance... "SELECT * FROM products EXCEPT FOR colors WHERE
sizes LIKE '%small%'"
Thanks...
Jed Huns
On Sun, 19 May 2002, Jule wrote:
> Hey guys and gals,
>
> is there a query that selects all comuns from a table, except the one's i
> have defined?
>
> Jule
No, there isn't. It is safter if you name the columns you want.
If you use a select * in your code instead of naming the particular
column
Hey guys and gals,
is there a query that selects all comuns from a table, except the one's i
have defined?
Jule
--
|\/\__/\/|
| Jule Slootbeek |
| [EMAIL PROTECTED]|
| http://blindtheory.cjb.net |
| __ |
|/\/
Jack Dempsey wrote:
>
> Hi all,
>
> I'm wondering if it's possible to do something like that select line in
> the subject...often i want to select * but not one or two fields...i
> found something about this in the to do list for mysql4.0, but i'm
> guessing that's not exactly what i'm thinking.
Hi all,
I'm wondering if it's possible to do something like that select line in
the subject...often i want to select * but not one or two fields...i
found something about this in the to do list for mysql4.0, but i'm
guessing that's not exactly what i'm thinking...is there an easy way to
do this?