Re: How to find the maximum possible value of a given datatype
- From: Roy Harvey <roy_harvey@xxxxxxxx>
- Date: Tue, 26 Jun 2007 22:14:43 -0400
One alternative is to write your own function that encapsulates the
hardcode. Pass the table and column names, query the system tables
for the type and related information such as max length of a varchar,
and then return it. Clumsy, no doubt.
My apologies, it is nowhere near as simple as I described as, at a
minimum, one function for each datatype group (dates, character
strings, etc) would be required.
Roy Harvey
Beacon Falls, CT
.
- References:
- How to find the maximum possible value of a given datatype
- From: jshunter@xxxxxxxxxxxxx
- Re: How to find the maximum possible value of a given datatype
- From: Roy Harvey
- Re: How to find the maximum possible value of a given datatype
- From: jshunter@xxxxxxxxxxxxx
- Re: How to find the maximum possible value of a given datatype
- From: Roy Harvey
- How to find the maximum possible value of a given datatype
- Prev by Date: Re: How to find the maximum possible value of a given datatype
- Next by Date: Re: sum columns into column in same table
- Previous by thread: Re: How to find the maximum possible value of a given datatype
- Next by thread: Re: How to find the maximum possible value of a given datatype
- Index(es):
Relevant Pages
|