Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
|
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 18th, 2006, 03:57 AM
Registered User
 
Join Date: Jan 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default SQL not show a certain column

I was wondering how to not show a certain column with SQL.

I know that to show certain columns you can list them like so:
SELECT column1, column2, column3 FROM tablename1

But what if I have 100 columns in my database and I want to show 99 of them? Do I have to list all 99 of them out? Is there an easier way that might look something like this?

SELECT NOT column100 FROM tablename1



 
Old January 26th, 2006, 08:45 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

not that i know of, i dont think this can be done with a 'NOT'

www.crmpicco.co.uk





Similar Threads
Thread Thread Starter Forum Replies Last Post
Combo Box to Show Multi Column Info After Select Coby Excel VBA 0 August 14th, 2007 05:23 PM
show results of SQL in txtbox Loralee Access 3 January 4th, 2007 11:40 AM
show just the column names from a MySQL command crmpicco MySQL 5 December 7th, 2006 08:34 AM
Why does the SQL show error? gilgalbiblewheel Classic ASP Databases 11 October 18th, 2004 07:17 AM
Add Column to Show Time KennethMungwira ADO.NET 1 December 2nd, 2003 12:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.