Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

Upgrade SQL From the SQL Server 2000 to SQL Server 2008

$
0
0

hello:

I am running the following query. This query is based on SQL server 2008. POIShare is a view which is created by the table.
"select PoiShare.AddressCode,REPLACE(PoiShare.NameSpell,' ','') as NameSpell,PoiShareOffset.Offset from PoiShare, PoiShareOffset where POIShare.AddressCode & 0xFF000000 = %COUNTRY_ADCODE% and PoiShare.POIID = PoiShareOffset.POIID order by PoiShare.AddressCode,PoiShare.NameSpell"
I'm getting the following result.
3188785409"папа,мама,я"791241
318878540901кафе0
31887854090075767272
318878540903 4790808
318878540902lounge19
318878540903аптека4791813
318878540903аптека4791805
318878540901сервис1246782

"PoiShare.NameSpell" is not sorted. I try to solve this problem.but It doesn't work.
I tried some ways.
1.Sort all of the field
2.Using "COLLATE Cyrillic_General_CI_AI_KS_WS" to "NameSpell"
3.Create index  for "NameSpell"
4.Using "cast(replace(PoiShare.NameSpell,',','') as bigint)",But SQL returned an error
5.Install SQL SP1

any help is greatly appreciated.


Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>