DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
SqlTypeCode.cs
Go to the documentation of this file.
1 //
2 // Copyright 2010-2015 Deveel
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16 
17 using System;
18 
19 namespace Deveel.Data.Types {
23  public enum SqlTypeCode {
27  Unknown = 0,
28 
32  Null = 1,
33 
38  Boolean = 9,
39 
44  Bit = 10,
45 
49  TinyInt = 11,
50 
54  SmallInt = 12,
55 
59  Integer = 13,
60 
64  BigInt = 14,
65 
69  Float = 15,
70 
73  Real = 16,
74 
78  Double = 17,
79 
84  Numeric = 18,
85 
89  Decimal = 19,
90 
94  Char = 20,
95 
100  VarChar = 21,
101 
104  LongVarChar = 22,
105 
110  Clob = 23,
111 
115  String = 24,
116 
119  Date = 30,
120 
123  Time = 31,
124 
127  TimeStamp = 32,
128 
129  DateTime = 35,
130 
131  YearToMonth = 40,
132 
133  DayToSecond = 41,
134 
137  Binary = 50,
138 
141  VarBinary = 51,
142 
145  LongVarBinary = 52,
146 
150  Blob = 53,
151 
155  Object = 70,
156 
157  Type = 75,
158 
161  Array = 80,
162 
165  QueryPlan = 100,
166 
167  RowType = 111,
168  ColumnType = 112,
169  }
170 }
A long string in the system.
A 8-bytes long integer type.
An integer value that can span from 0 to 255.
A generic numeric type. This is the main type used by the system to represent numbers.
An integer number of 2 bytes.
A single byte that can have only 1 and 0 as values.
SqlTypeCode
Enumerates the codes of all SQL types handled by the system.
Definition: SqlTypeCode.cs:23