Home > Ask the Oracle Database / Applications Experts > Questions & Answers > Error accessing all SQL Server fields in Oracle environment
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Error accessing all SQL Server fields in Oracle environment

Brian Peasland EXPERT RESPONSE FROM: Brian Peasland

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site
>
QUESTION POSED ON: 07 June 2004
I just established a connection from Oracle to SQL Server using generic connectivity and I'm able to perform a select * from tablename@dblink command. However, I noticed that not all fields in the SQL Server table are available in the Oracle environment. I keep getting ORA-00904: invalid column name whenever I tried to select the columns that I thought were in the table. Any possible explanations and solutions to this problem?

>
When you specify the column name in your statement, make sure that you enclose the column name in double quotes and that the name is case sensitive. For example:

SELECT "column_A","Column_B" FROM "TableXYz"

Oracle tends to convert these to all upper case and SQL Server is more case sensitive. That is the most likely culprit here.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts