SystemDatatype Object

后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

The SystemDatatype object exposes the attributes of a Microsoft SQL Server base data type.

显示当前对象的 SQL-DMO 对象模型

Properties

AllowIdentity Property

IsVariableLength Property

AllowLength Property

MaximumChar Property

AllowNulls Property

MaximumLength Property

IsNumeric Property

Name Property

备注

SQL Server defines base data types, such as varchar or smallint. The types constrain data in SQL Server columns to certain fundamental properties, such as numeric precision or value representation. SQL Server base data types have an established precedence for mixed-data type arithmetic performed on an instance of SQL Server.

A SystemDatatype object exists for each base data type defined by SQL Server.

The Name property of a SystemDatatype cannot be set by the user.

ms136895.note(zh-cn,SQL.90).gif注意:
The SystemDatatype object is compatible with instances of SQL Server versions 7.0 and later. However, the SystemDatatype2 object extends the functionality of the SystemDatatype object for use with features that were introduced in SQL Server 2000.

请参阅

参考

SystemDataType2 Object

帮助和信息

获取 SQL Server 2005 帮助