none
Only positive number in SQL Server CE 3.5

    Question

  • How can I do, that my column in database SQL Server CE can be only positive number?

    I can do this check in my app, but i think it could be done in database.

    Sorry for my English.

    Saturday, June 22, 2013 8:31 AM

Answers

  • You should indeed make that verification in your app. Anyway the only numeric datatype that only allows positive numbers that I remember is byte, which allows from 0 to 255.

    Alberto Silva Microsoft MVP - Device Application Development - http://msmvps.com/AlbertoSilva moving2u - R&D Manager - http://www.moving2u.pt

    Saturday, June 22, 2013 12:46 PM

All replies