Let's say I have an int
field, and I set the default value as (0)
, which works, but I've seen people doing it like this instead ((0))
,why?
((0))
is how it will appear within the catalog views or if you generate a script in SSMS. So I think when you see that it's most likely a generated script and not hand-written that way from scratch.
That said, there is nothing different between (0)
, ((0))
or even (((((((((((((0)))))))))))))
... assuming I counted right, extra parentheses don't change the meaning, just readability.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With