I am using the ODAC driver with RemObjects/DataAbstract framework, and want to peform an ALTER SESSION SET NLS_COMP='LINGUISTIC'; ALTER SESSION SET NLS_SORT='BINARY_CI'. This of course is to perform a case insensitive query. From what I can glean, I want to use the TOraSession component to facilitate such a task.
Please advise as to which property, method, or event to use, and how to use it to accomplish this task.
Regards,
Monte Carver[/quote]
Setting NLS_COMP in TOraSession
-
Challenger
- Devart Team
- Posts: 925
- Joined: Thu 17 Nov 2005 10:53
For this purpose you can use the ExecSQL method of the TOraSession component. For example:
Code: Select all
OraSession.ExecSQL('ALTER SESSION SET NLS_COMP=''LINGUISTIC''', [])