0

q on numeric DATA-TYPES for columns of a table

INT -A normal-sized integer that can be signed or unsigned. signed or unsigned MEANING????!! THANKS!

1st Jul 2016, 1:08 PM
Krishna Limani
Krishna Limani - avatar
4 Respostas
+ 1
means it can store positive integer value as well as negative integer value
1st Jul 2016, 4:43 PM
ashu
+ 1
yeah that's right
2nd Jul 2016, 5:47 PM
ashu
+ 1
no no wait signed means all the no s but unsigned means only positive numbers it is used when we have some values in positive terms only so in order to save memory we use unsigned , range of variable can be doubled by unsigned and writing signed or not will not make such difference
14th Jul 2016, 7:35 PM
manish rawat
manish rawat - avatar
0
oh OK thanks a lot for that! Do u mean that unsigned=0, and signed=either of a +ve or -ve value? So by saying, an integer value that can be signed or unsigned, they're really saying it can be literally ANY integer, whether it's +ve, -ve or even just 0. Is the right interpretation? THANKS :D
1st Jul 2016, 5:08 PM
Krishna Limani
Krishna Limani - avatar