Skip to Content
0

i dont want negative values in my table

Aug 01, 2017 at 04:43 AM

31

avatar image

hi friends,

i have one doubt. in my table i dont want negative values in my table to achieve this what can i do..????

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Aug 03, 2017 at 08:15 AM
0

firstly, the question is not explicitly clear.. where and which kind of table?

as a generic way, you might add an if() condition

if(xyz<0,0,xyz)

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Kiran,

i just want to create table with single column id. it that id column no one should insert negative values

0