Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2007

Tip: Looking for answers? Try searching our database.

Query problem on table named 'resource'

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
phoenix_me - 26 Sep 2007 12:45 GMT
I can't execute query which is 100% right. It is accepted in different
programs but not in excel (Microsoft Query)
The Query is:

select * from PUB.Resource

I think that the problem is because table name is Resource, and this
is reserved word either in SQL '92 or Progress Database. Any hint how
to get data from this table? Any special signs as [ ], ( ), " ", ' ', ?
phoenix_me - 26 Sep 2007 16:04 GMT
> I can't execute query which is 100% right. It is accepted in different
> programs but not in excel (Microsoft Query)
[quoted text clipped - 5 lines]
> is reserved word either in SQL '92 or Progress Database. Any hint how
> to get data from this table? Any special signs as [ ], ( ), " ", ' ', ?

I found answer myself. It's need to use aliases together with "".
So query should look like:

select * from PUB."Resource" as my_alias
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.