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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding blank columns in a quey

Status
Not open for further replies.

n2nuk

IS-IT--Management
Dec 24, 2002
190
GB
Hi there,
I need to produce a dataset in CSV format that contains fields that are not in my table. These fields will be blank but some will populated with a value that will be required for all columns.
Is this possible to do 'on the fly' within the query itself or do I have to create dummy fields in my table? I would prefer the query option as otherwise everytime I generate the dataset I will have to add the dummy columns.

many thanks

Naz
 
select "" AS virtualFldNme, realField... FROM ...


--------------------
Procrastinate Now!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top