SQL Server 2005預設區分大小寫

lawzjf發表於2008-01-20

1> select * from test
2> go
a b
----------- ---
1 law
2 Law

(2 行受影響)
1> select * from test where b='law'
2> go
a b
----------- ---
1 law

(1 行受影響)
1> select * from test where b='Law'
2> go
a b
----------- ---
2 Law

(1 行受影響)

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/37724/viewspace-997825/,如需轉載,請註明出處,否則將追究法律責任。

相關文章