#1   Report Post  
Posted to microsoft.public.excel.misc
Neily
 
Posts: n/a
Default MS Query

Hi,

Does anyone know how to reference tables in the SQLs for MS Query?

eg. SELECT timestamp AS TimeLogged
FROM ......
WHERE .....

Thus naming the field header as TimeLogged instead of the databases field of
timestamp.

Ta

Neil

  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary Brown
 
Posts: n/a
Default MS Query


When in Query, double click on the field name and enter the name under
heading name, alternatively edit the sql and enter after the filed name
type AS new name


--
Gary Brown
------------------------------------------------------------------------
Gary Brown's Profile: http://www.excelforum.com/member.php...o&userid=17084
View this thread: http://www.excelforum.com/showthread...hreadid=520983

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
AHHH! Again JAA149 Excel Discussion (Misc queries) 0 October 31st 05 11:36 AM
MS Query not installed for New Database Query Malcolm Walker Excel Discussion (Misc queries) 0 August 2nd 05 10:58 PM
Web Query Help... Jambruins Excel Discussion (Misc queries) 1 July 29th 05 06:56 PM
"Query cannot be edited by the Query Wizard" PancakeBatter Excel Discussion (Misc queries) 0 April 25th 05 05:59 PM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 07:54 PM


All times are GMT +1. The time now is 09:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"