Using Microsoft SQL I want the default value to be 0 for the column.
Should the Default Value or Binding for an INT be (0) or ((0))?
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.
Really is no different. Both sets of parentheses are ignored internally. You may use
(0)when creating the constraint but, depending on the tool you use to create and the tool you’re using to show it, you may see extra parens added “for you.” I bet you come across this less if you use DDL to add constraints rather than specifying them in the visual designers. 🙂