public enum CmdParamsDbType extends java.lang.Enum<CmdParamsDbType>
Enum Constant | Description |
---|---|
AnsiString |
An extension of the ASCII character set in that it includes all the ASCII characters with an additional
128 character codes
|
AnsiStringFixedLength |
fixed-length stream of non-Unicode characters.
|
Binary |
A fixed-length stream of binary data ranging
between 1 and 8,000 bytes.
|
Boolean |
2 logical values, true and false
|
Byte |
Allows whole numbers from 0 to 255
|
Currency |
Use for currency.
|
Date |
Date data ranging in value from January 1,1 AD through December 31, 9999 AD.
|
DateTime |
Date and time data ranging in value from January 1, 1753
to December 31, 9999 to an accuracy of 3.33 milliseconds.
|
DateTime2 |
From January 1, 0001 to December 31, 9999 with an accuracy of 100 nanoseconds
|
DateTimeOffset |
Date and time data with time zone awareness.
|
Decimal |
A fixed precision and scale numeric value between -10 to
-1 and 10 to -1.
|
Double |
Double precision floating-point.
|
Guid |
Stores a globally unique identifier.
|
Int16 |
A 16-bit signed integer.
|
Int32 |
A 32-bit signed integer.
|
Int64 |
A 64-bit signed integer.
|
Object |
Can store pictures, audio, video, or other BLOBs (Binary Large OBjects)
|
SByte |
Signed integer
|
Single |
Single precision floating-point.
|
String |
Used for string datatypes
|
StringFixedLength |
A fixed-length string of Unicode characters.
|
Time |
Time data based on a 24-hour clock.
|
UInt16 |
A 32-bit un-signed integer.
|
UInt32 |
A 32-bit un-signed integer.
|
UInt64 |
A 64-bit un-signed integer.
|
VarNumeric |
A variable-length numeric value.
|
Xml |
A SQL Server 2005 user-defined type (UDT).
|
Modifier and Type | Method | Description |
---|---|---|
static CmdParamsDbType |
getCmdParamsDbType(int value) |
retreives the enum constant of the specified value, if exists.
|
static CmdParamsDbType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CmdParamsDbType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmdParamsDbType AnsiString
public static final CmdParamsDbType Binary
public static final CmdParamsDbType Byte
public static final CmdParamsDbType Boolean
public static final CmdParamsDbType Currency
public static final CmdParamsDbType Date
public static final CmdParamsDbType DateTime
public static final CmdParamsDbType Decimal
public static final CmdParamsDbType Double
public static final CmdParamsDbType Guid
public static final CmdParamsDbType Int16
public static final CmdParamsDbType Int32
public static final CmdParamsDbType Int64
public static final CmdParamsDbType Object
public static final CmdParamsDbType SByte
public static final CmdParamsDbType Single
public static final CmdParamsDbType String
public static final CmdParamsDbType Time
public static final CmdParamsDbType UInt16
public static final CmdParamsDbType UInt32
public static final CmdParamsDbType UInt64
public static final CmdParamsDbType VarNumeric
public static final CmdParamsDbType AnsiStringFixedLength
public static final CmdParamsDbType StringFixedLength
public static final CmdParamsDbType Xml
public static final CmdParamsDbType DateTime2
public static final CmdParamsDbType DateTimeOffset
public static CmdParamsDbType[] values()
for (CmdParamsDbType c : CmdParamsDbType.values()) System.out.println(c);
public static CmdParamsDbType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CmdParamsDbType getCmdParamsDbType(int value) throws java.lang.IllegalArgumentException
value
- enum constant indexjava.lang.IllegalArgumentException