![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
i have got a problem about nlssort statement. i use oracle 10g r2 (32 bit on amd64) with windows 2003 server r2 (32 bit) we have special characters in turkish (i dont know you can see correctly.they are;öÖçÇiIsSüÜgG) i create a database with windows 1254 character set(8 bit) which supports these special character. But, when i use select with ordey by keyword then the words which start with turkish character show up at the bottom of the results. After that i invent the nlssort :P(i guess it is a function).it works when use it like below select * from GECOUST order by NLSSORT(ad,'NLS_SORT=XTURKISH') it seem ok.But,i also see a usage at documents of oracle.it says 'u can use NLSSORT with create index statement' and i use it. CREATE INDEX nls_index ON my_table (NLSSORT(name, 'NLS_SORT = XTURKISH')); but it doesnt work. can anybody help me.i wanna use it with create index statement so i dont have to use NLSSORT statement with ORDER BY everytime. |
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Thank you for well explained answer. i use ALTER SESSION statement and it works very well. do i have to anything at oracle if i set the NLS_SORT=XTURKISH environment variable? how does oracle understand the environment variable? |
#6
| |||
| |||
|
|
Thank you for well explained answer. i use ALTER SESSION statement and it works very well. do i have to anything at oracle if i set the NLS_SORT=XTURKISH environment variable? how does oracle understand the environment variable? |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
thanks i set the environment variable and it is working fine. know i have another problem about the turkish characters my database's character set is 'windows 1254'. When i use the INSERT INTO with oracle raptor all the special characters seem well. But, when i use the oracle oledb drivers with ASP (via ADO) , special characters seem like question mark. is there any way to determine character set to OLEDB.I could not find the connection string parameter. (i wanna use this character set because we have an ERP software and this ASP site is going to work integrated with it. they will communicate via XML files.And our ERP database use 8 bit character set.) Thank you regards Usually not a problem of the drivers, or tools, but the |
#9
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |