SQL Server Default value for columns -


when use default value column in sql server management studio table designer, ssms change default , stand parenthesis around of (in editions , versions of sql server). example if set 0 default value, default changed (0). don't know why sql server use parenthesis, , there practical reason.

thanks in advance.

there types of objects, such defaults , check constraints sql server doesn't store original, textual form of - in contrast with, say, stored procedures, can (absent encryption) retrieve in exact form gave server - complete white space, formatting, comments, etc.

because sql server doesn't store textual form, has re-generate textual forms show users when ask such objects. when , chooses insert parentheses can bit of mystery (it's not documented) since don't change meaning of expression, shouldn't concern.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -