Strange SQL Server type conversion issue
问题 I've experienced today strange issue. One of my projects is running .NET + SQL Server 2005 Express. There is one query I use for some filtering. SELECT * FROM [myTable] where UI = 2011040773395012950010370 GO SELECT * FROM [myTable] where UI = '2011040773395012950010370' GO UI column is nvarchar(256) and UI value passed to filter is always 25 digits. On my DEV environment - both queries return same row and no errors. However at my customers, after few months of running fine, first version