I need to add default value column in SqlServer Compact....i am new to this SQL server compact so Plz anyone tell me the Solution of this....
Thanks In Advance
You use the DEFAULT constraint when declaring the column.
See this MSDN article.
myCol INT NOT NULL DEFAULT (20)
In the example above, the values for column myCol will default to 20.
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