Reply to Re: SQL Openquery & Oracle

Your name:

Reply:


Posted by ecnaL on 11/15/05 00:35

This reply may be a bit late, but may help others....

The pass through value should not be enclosed in double-quotes; Oracle will think this is a column name (which is why you get the error message "Invalid Column Name").

You are probably using an SQL Statement like:

SELECT *
FROM OPENQUERY(LINKED_DB, 'SELECT *
FROM SCHEMA.TABLE
WHERE VALID_COLUMN = "27387M"')

Try this:

SELECT *
FROM OPENQUERY(LINKED_DB, 'SELECT *
FROM SCHEMA.TABLE
WHERE VALID_COLUMN = '''27387M''') <--- note the use of two single quotes, not double quotes.

Good luck from Melbourne AUstralia.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация