LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Changing Field Name

I am populating an Excel data table from an Oracle db over an ODBC
connection. I would like to change the field names via the SQL in Microsoft
Query. All of the following return errors:
SELECT AP_INV_JE_LINE_DETAILS."ACCT$COMPANY" AS COMPANY

SELECT AP_INV_JE_LINE_DETAILS."ACCT$COMPANY" AS "COMPANY"

SELECT AP_INV_JE_LINE_DETAILS."ACCT$COMPANY" AS 'COMPANY'

ERROR: ORA-00923: FROM Keyword not found where expected
Any suggestions??? Thanks in advance!!!
 
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
Changing a text field to a date field juliet New Users to Excel 4 February 21st 06 09:52 PM
How to keep leading zero without changing field to text field? Deni Excel Discussion (Misc queries) 1 October 24th 05 10:48 PM
Changing Pivot Table Field Name Carmen Excel Programming 1 October 1st 05 12:42 AM
Auto changing field trouble McManCSU[_11_] Excel Programming 1 July 18th 05 05:37 PM
Problem changing pivot field King[_3_] Excel Programming 2 October 10th 03 05:45 PM


All times are GMT +1. The time now is 01:42 PM.

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"