is there a max int constant?

is there a predefined "constant" for the maximum integer value? I'd like to do something like: update myTable set myIntCol = #maxIntVal
LVL 1
jmarkfoleyAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
no.
0
 
chapmandewCommented:
Nope, there isn't.  But, you can create yourself a table and pull the value(s) you need from that....shoudl be easy enough to do.
0
 
Aneesh RetnakaranDatabase AdministratorCommented:
or update with   '2147483647' which is the maximum an integer variable can store
0
 
chapmandewCommented:
Im sure the user knows the value, but doesn't want to have to remember it.....pulling from a table seems like an easy solution.
0
 
jmarkfoleyAuthor Commented:
Bummer :(  Thanks.
0
All Courses

From novice to tech pro — start learning today.