LittleHavoc
IS-IT--Management
I want to build a query that pulls back all the fields within the table , EXCEPT a particular one that will cause problems in speed and memory.
I don't want to generate a long list of field names just omit one from all of them.
ALL DATA - BUT GETS BINARY DATA OF LARGE IMAGES
Select * from images
ALL RELEVANT DATA - BUT TOO LONG
Select id, image_size, image_width ........... from images
oh! I think I will add an extra field, now I have to change all my queries.
want something like :-
select * -image_data from images
I can now add/remove fields and I only need to amend areas that use them.
I don't want to generate a long list of field names just omit one from all of them.
ALL DATA - BUT GETS BINARY DATA OF LARGE IMAGES
Select * from images
ALL RELEVANT DATA - BUT TOO LONG
Select id, image_size, image_width ........... from images
oh! I think I will add an extra field, now I have to change all my queries.
want something like :-
select * -image_data from images
I can now add/remove fields and I only need to amend areas that use them.