× 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.



I was trying to use more descriptive names in a data base created with
SQL. I admit this is a little overboard, but here is an example:

Data Field Buffer Buffer Field Column
Field Type Length Length Position Usage Heading
DUEDAY4 BINARY 4 0 2 414 Both
"dueDayOfMonth4"
Alternative name . . . . . . . . . . . . :
"dueDayOfMonth4"
Default value . . . . . . . . . . . . . . : None
DUEDAY4A CHAR 1 1 416 Both
"dueDay4WeekendActio
n"
Alternative name . . . . . . . . . . . . :
"dueDay4WeekendAction"
Allows the null value
Default value . . . . . . . . . . . . . . :
'0'
Coded Character Set Identifier . . . . . : 37


When I execute a SELECT statement I get a -206 error, here is the message:

[SQL0206] Column DUEDAY4WEEKENDACTION not in specified tables.

Notice that the variable name has been upper cased.

I am guessing that the field - DUEDAY4 is being used, not the alternative
name dueDay4WeekendAction. Does it have to be enclosed in double quotes
in the SQL?

Does that make sense?

If so, how do you tell the SQL engine to use the alternative name when
creating the connection. I looked at the properties to include in the
JDBC URL and didn't see anything.

Thanks
Bill Blalock

------------------
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
------------------

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.