Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to insert a blank "dummy" column into a Table? 1

Status
Not open for further replies.

dannydanny

IS-IT--Management
Oct 9, 2002
109
DK
Hi,

I have run an SQL query in Access97. I want to add another blank column into the query results so that I can do a UNION query using this table and another table which has an extra column.

Is this possible with a SQL query statement?

Thanks for any info.
Danny
 
Hi

You mean a 'ghost' column, just to balance up with the Union?

Yes - do it so

SELECT MyCol1, MyCol2, " " As MyDummyCol FROM MyTable

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Hi,

Thanks for the reply Ken, it was exactly was I was after!

Cheers,
Danny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top