Sql Server Büyük Küçük Harf Problemi

MS SQL Server veritabanı ve SQL komutlarıyla ilgli sorularınızı sorabilirsiniz. Delphi tarafındaki sorularınızı lütfen Programlama forumunda sorunuz.
Cevapla
Ali Erdoğan
Kıdemli Üye
Mesajlar: 1026
Kayıt: 11 Şub 2005 02:12
Konum: İstanbul

Sql Server Büyük Küçük Harf Problemi

Mesaj gönderen Ali Erdoğan »

İyi günler,
Gecenin bu saatinde bitmiş olması gereken iş yine yarına kaldı ve yine mahcubiyet diz boyu arkadaşlar.

Sql server da hazırlanmış olan bir veri tabanını başka bir sunucuya upload ettim fakat şimdi nesneleri çağırırken büyük küçük harf problemi yaşıyorum.

Örneğin 'DelphiForum' olarak isimlendirilmiş bir table veya sp yi 'delphiforum' olarak çağıramıyorum.Bunun sebebi ne olabilir arkadaşlar.Ben yarım saattir internette araştırıyorum,buna benzer bir durum bulamadım. :duvar:
Hakan Can
Üye
Mesajlar: 634
Kayıt: 04 Mar 2005 04:27
Konum: Ankara

Mesaj gönderen Hakan Can »

MS SQL'de eğer dil örneğin Türkçe ise Türkçe küçük karakterler Türkçe büyük karakterlere dönüştürülüyor. Örneğin: Bir tabloda OCAK, SUBAT, .., EKIM, KASIM, ARALIK alanları olsun.
Select OCAK veya Select OcAk hatasız çalışırken;
Select ARALIK doğru, Select aRalik yanlış çalışıyor. Yani aRalik; ARALİK olarak algılanıyor. Veritabanı dilini ona göre ayarlamanız gerekiyor başlangıçta.

Bilmiyorum probleminiz başka olabilir.

Ayrıca:
SQL Servers Books Online helpinde, "case-sensitive instance of SQL Server" anahtar sözcüğünde şöyle bir konu çıkıyor. Belki işinizi görür:

"How to create a case-sensitive instance of SQL Server 2000 (Setup)
To create a case-sensitive instance of SQL Server 2000

Run SQL Server Setup to install SQL Server 2000 Components, select Install Database Server, and then click Next at the Welcome screen of the SQL Server Installation Wizard.


In Computer Name dialog box, Local Computer is the default option and the local computer name appears in the edit box. Click Next.


In the Installation Selection dialog box, click click Create a new instance of SQL Server, or install Client Tools, and then click Next.


Follow the directions on the User Information and related screens.


In the Installation Definition dialog box, click Server and Client Tools, and then click Next.


In the Instance Name dialog box:
To create a case-sensitive default instance, accept the Default check box and click Next.


To create a case-sensitive named instance, clear the Default check box and type an instance name.
In the Setup Type dialog box, click Custom, and click Next.


In the Select Components, Services Accounts, and Authentication Mode dialog boxes, change or accept the default settings, and then click Next.


In the Collation Settings dialog box, you have two options:
To make a Windows Locale collation case-sensitive, select Collation designator and then select the correct collation designator from the list. Clear the Binary check box, and then select the Case-sensitive check box.


To make a SQL collation case-sensitive, select SQL Collations, and then select the correct collation name.
For more information about collation options, click Help. When you finish setting the options, click Next.

In subsequent dialog boxes, change or accept the default settings, and then click Next.


When you are finished specifying options, click Next in the Start Copying Files dialog box.


In the Choose Licensing Mode dialog box, make selections according to your license agreement, and click Continue to begin the installation.


Click Help for information about licensing, or see your system administrator."

İyi çalışmalar.
Ali Erdoğan
Kıdemli Üye
Mesajlar: 1026
Kayıt: 11 Şub 2005 02:12
Konum: İstanbul

Mesaj gönderen Ali Erdoğan »

ben i harfini her zaman I olarak kullanırım bu bağlamda bir sorun yok ancak yardımda şöyle bişey buldum:
CaseSensitive Property
The CaseSensitive property indicates the comparison method for multibyte character data on an instance of Microsoft® SQL Server™.

Applies ToRegistry Object


Syntax
object.CaseSensitive

Part
object

Expression that evaluates to an object in the Applies To list

Data Type
Boolean

Modifiable
Read-only

Prototype (C/C++)
HRESULT GetCaseSensitive(LPBOOL pRetVal);

Remarks
If TRUE, a character comparison for equality and order is case-sensitive for multibyte character data on an instance of SQL Server. For example, A is less than a.

If FALSE, character comparison for equality and order is not case-sensitive. For example, A is equal to a.
burada Modifiable kısmında read-only olarak gözüküyor.Sunucunun yeniden kurulması gerekebilir sanırım ancak sunucuda halen onlarca veri tabanı çalışıyor.Böyle bi durumda gerçekten çok zor.
Ali Erdoğan
Kıdemli Üye
Mesajlar: 1026
Kayıt: 11 Şub 2005 02:12
Konum: İstanbul

Mesaj gönderen Ali Erdoğan »

Veri tabanının yeniden create edilmesi ile sorun çözüldü arkadaşlar.
Cevapla