close

1. 語句中使用

假如有筆資料

name= 'Joe'

update passports set account = 'Joe1' where  account='joe'

會不區分大小寫改成

name='Joe1'

如果要區分

binary

update passports set account = 'Joe1' where BINARY account='joe'

就改不到Joe這個資料

2.在table中使用

CREATE TABLE `dbname`.`tablename ` ( `columnname` VARCHAR( 10 ) BINARY )
 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 學習程式 的頭像
    學習程式

    程式學習日記,如果我幫助了你請讓我知道

    學習程式 發表在 痞客邦 留言(0) 人氣()