Re: DBSETLCHARSET() vs freetds.conf
"James K. Lowden" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 11 Jan 2012 12:03:58 -0500 Randy Syring <[email protected]> wrote: > Assuming there is a charset value in freetds.conf that applies to the > current connection and and DBSETLCHARSET() is used to set a different > value, which one wins? As far as db-lib is concerned, a call to DBSETLCHARSET() is the last word on the matter. Anything else is a bug. Programatic settings should always win over environmental ones. If the application wants to let the user affect something through environment variables, that's fully within its power to accomplish. HTH. --jkl