Sybase data type
2013-03-14 17:12
183 查看
4000
Each value that Sybase CEP Engine manipulates has a data type. When you define a data stream in CCL, you must specify a data type for each of its columns. Note that
Sybase CEP Engine can implicitly convert some data types to the correct type for a column. You can also use conversion functions to generate the correct data type.
The following table summarizes CCL data types (note that all data types can also be Null):
The following table lists the minimum and maximum values for numeric data types:
Data Types
Different data types are assigned to columns in a CCL stream.Each value that Sybase CEP Engine manipulates has a data type. When you define a data stream in CCL, you must specify a data type for each of its columns. Note that
Sybase CEP Engine can implicitly convert some data types to the correct type for a column. You can also use conversion functions to generate the correct data type.
The following table summarizes CCL data types (note that all data types can also be Null):
Data Type | Description |
---|---|
BLOB | Binary Large Object. BLOB columns contain varying amounts of data as a sequence of bytes. Maximum size is platform-dependent, but no less than 65535 bytes. Sybase CEP Engine supports comparison between BLOBs, by comparing the same byte from each BLOB value in sequence. If all bytes are identical, the two values are considered to be equal. If the two BLOBs contain different values, the smaller value is the one with a smaller value in the first byte that differs. |
BOOLEAN | TRUE or FALSE. |
FLOAT | A 64-bit floating point number with binary precision. The maximum number for this type corresponds to IEEE standards. |
INTEGER | A 32-bit integer. |
INTERVAL | Represents an integer number of microseconds between two timestamps, using 64 bits of precision. |
LONG | A 64-bit integer. |
STRING | Variable-length character string, with byte values encoded in UTF-8. Maximum string length is platform-dependent, but no less than 65535 bytes. |
TIMESTAMP | Date and time, with a precision of microseconds |
XML | A sequence of XML element trees (a forest). Maximum size is platform-dependent, but no less than 65535 bytes. |
Data Type | Minimum/Maximum |
---|---|
FLOAT | Approximately 16 significant digits. |
INTEGER | -2147483648 to +2147483647 (-231 to 231-1). Overflow wraps silently. |
INTERVAL | -99999999 days 23:59:59.999999 to +99999999 days 23:59:59.999999. |
LONG | -9223372036854775808 to +9223372036854775807 ( -263 to 263-1). Overflow wraps silently. |
TIMESTAMP | 1970-01-01 00:00:00.000000 to 2099-12-31 23:59:59.999999. Timestamp values between 0001-01-01 00:00:00.000000 and 1969-12-31 23: 59:59.999999 and between 2100-01-01 00:00:00.000000 and 9999-12-31 23: 59:59.999999 are also valid, but may result in errors related to leap years and daylight savings time. Timestamps prior to midnight January 1, 1970 are represented as negative numbers. |
相关文章推荐
- Sybase datatype Issue
- Objective-C determine data network type of the iOS device
- php://input、Content-Type、$_POST及$HTTP_RAW_POST_DATA
- spring mvc源码-》MultipartReques类-》主要是对文件上传进行的处理,在上传文件时,编码格式为enctype="multipart/form-data"格式,以二进制形式提交数据,提交方式为post方式。
- FORM的ENCTYPE="multipart/form-data" 时request.getParameter()值为null问题的解决
- C++不同数据类型的取值范围(Data Type Ranges )
- Ant :DataType
- Python Numpy ValueError: data type must provide an itemsize
- Weka报错"Unknow data type INT. Add entry in weka/experiment/DatabaseUtils.props"
- MFC数据类型(Data Type)
- GCC(ARM) warning: comparison is always true due to limited range of data type
- org.hibernate.id.IdentifierGenerationException: Unknown integral data type for ids : java.lang.String
- 理解jquery ajax中的datatype属性选项值
- andriod打开各种文件(setDataAndType)
- 【转】MetadataType的使用,MVC的Model层数据验证
- form enctype:"multipart/form-data",method:"post" 提交表单,后台获取不到数据
- 化零为整WCF(2) - 契约Contract(ServiceContract、OperationContract、DataContract、ServiceKnownType和DataMember)
- ElasticSearch5.x实践_day05_01_Mapping_Field datatype
- enctype=“multipart/form-data”,Servlet获取参数
- [置顶] 利用form从Jsp到Servlet传值为NULL问题(enctype="multipart/form-data")(fileupload)