anyone knows why this is?# DotNet - 窗口里的风景
G*O
1 楼
in query analyzer, extra space in constant string doesn't matter much.
like id = 'AMSTERDAM' returns exactly the same as id = 'AMSTERDAM ' (a few
spaces added)
but when you pass these two sql string from C#, they aren't returning same
result.
like id = 'AMSTERDAM' returns exactly the same as id = 'AMSTERDAM ' (a few
spaces added)
but when you pass these two sql string from C#, they aren't returning same
result.