If I take a large datatype. Will it affect performance in sql server

Posted by Shantanu Gupta on Stack Overflow See other posts from Stack Overflow or by Shantanu Gupta
Published on 2010-06-08T13:14:14Z Indexed on 2010/06/08 13:22 UTC
Read the original article Hit count: 207

If i takes larger datatype where i know i should have taken datatype that was sufficient for possible values that i will insert into a table will affect any performance in sql server in terms of speed or any other way.

eg.

IsActive (0,1,2,3) not more than 3 in any case.

I know i must take tinyint but due to some reasons consider it as compulsion, i am taking every numeric field as bigint and every character field as nVarchar(Max)

Please give statistics if possible, to let me try to overcoming that compulsion.

I need some solid analysis that can really make someone rethink before taking any datatype.

© Stack Overflow or respective owner

Related posts about sql

Related posts about database