× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



What programming language and what database server are you using.

Is the table called VENNAM or [VENNAM].

You might want to try

Select * from "[VENNAM]"

Or Select * from "VENNAM"

Or try then both but issue the following first.

Set QUOTED_IDENTIFIER OFF;

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of DeLong, Eric
Sent: 26 June 2009 22:39
To: Midrange Systems Technical Discussion
Subject: RE: ODBC Client Access Question

Not that I'm aware of.... What are the square brackets supposed to do?
A quick scan seems to indicate this is MS SQL Server's way to handle
table or column names that contain embedded blanks. It does not seem to
have any purpose in the statement you posted, so perhaps you should just
try this statement without the brackets....

-Eric DeLong

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of ibm
Sent: Friday, June 26, 2009 3:08 PM
To: MIDRANGE-L@xxxxxxxxxxxx
Subject: ODBC Client Access Question

Is it allowed to enclose a table name in square brackets inside a select
statement?



e.g. SELECT * from [VENNAM]



Can I modify my ODBC DSN to accept these qualifiers?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.