B
Bragadiru
Hi all,
I installed a Ms SQL Server 2000 instance with a case-sensitive collation,
but I have databases with case-insensitive collations. When I try to make a
ExecuteQuery through ADO.NET on case-insensitive database tables I need to
set the CommandText in a case-sensitive manner, otherwise I get error
messages : I have a table named MyTable, if CommandText is "SELECT * FROM
myTable" => error message : object 'myTable' does not exist and "SELECT *
FROM MyTable" works fine.
1. This is the correct behaviour ? Any workaround ? It's hell to remember
exactly the column or table names
2. How can I find the sql server collation ? (programatically)
I'm using .NET Frmw 1.0
Thanks
I installed a Ms SQL Server 2000 instance with a case-sensitive collation,
but I have databases with case-insensitive collations. When I try to make a
ExecuteQuery through ADO.NET on case-insensitive database tables I need to
set the CommandText in a case-sensitive manner, otherwise I get error
messages : I have a table named MyTable, if CommandText is "SELECT * FROM
myTable" => error message : object 'myTable' does not exist and "SELECT *
FROM MyTable" works fine.
1. This is the correct behaviour ? Any workaround ? It's hell to remember
exactly the column or table names
2. How can I find the sql server collation ? (programatically)
I'm using .NET Frmw 1.0
Thanks