SQL: What is better a Bit or a char(1)

后端 未结 5 534
谎友^
谎友^ 2020-12-17 18:06

Is there any performance difference on retrieving a bit or a char(1) ?

Just for curiosity =]

UPDATE: Suposing i\'m using SQL Server 2008!

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-17 18:28

    It's implementation dependent. One DBMS might have the same performance, while another might have differences.

提交回复
热议问题