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?
Let’s say I have an int field, and I set the default value as
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
((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.