Sugerir traducción
 
Otros han sugerido:

progress indicator
No hay más sugerencias.
Evaluar y enviar comentarios
Contraer todo/Expandir todo Contraer todo
Ver contenido:  en paraleloVer contenido: en paralelo
.NET Framework Class Library
SqlDbType Enumeration

Specifies SQL Server-specific data type of a field, property, for use in a SqlParameter.

Namespace:  System.Data
Assembly:  System.Data (in System.Data.dll)
Visual Basic
Public Enumeration SqlDbType
C#
public enum SqlDbType
Visual C++
public enum class SqlDbType
F#
type SqlDbType
Member nameDescription
Supported by the XNA FrameworkBigInt Int64. A 64-bit signed integer.
Supported by the XNA FrameworkBinary Array of type Byte. A fixed-length stream of binary data ranging between 1 and 8,000 bytes.
Supported by the XNA FrameworkBit Boolean. An unsigned numeric value that can be 0, 1, or nullNothingnullptra null reference (Nothing in Visual Basic).
Supported by the XNA FrameworkChar String. A fixed-length stream of non-Unicode characters ranging between 1 and 8,000 characters.
Supported by the XNA FrameworkDateTime DateTime. Date and time data ranging in value from January 1, 1753 to December 31, 9999 to an accuracy of 3.33 milliseconds.
Supported by the XNA FrameworkDecimal Decimal. A fixed precision and scale numeric value between -10 38 -1 and 10 38 -1.
Supported by the XNA FrameworkFloat Double. A floating point number within the range of -1.79E +308 through 1.79E +308.
Supported by the XNA FrameworkImage Array of type Byte. A variable-length stream of binary data ranging from 0 to 2 31 -1 (or 2,147,483,647) bytes.
Supported by the XNA FrameworkInt Int32. A 32-bit signed integer.
Supported by the XNA FrameworkMoney Decimal. A currency value ranging from -2 63 (or -9,223,372,036,854,775,808) to 2 63 -1 (or +9,223,372,036,854,775,807) with an accuracy to a ten-thousandth of a currency unit.
Supported by the XNA FrameworkNChar String. A fixed-length stream of Unicode characters ranging between 1 and 4,000 characters.
Supported by the XNA FrameworkNText String. A variable-length stream of Unicode data with a maximum length of 2 30 - 1 (or 1,073,741,823) characters.
Supported by the XNA FrameworkNVarChar String. A variable-length stream of Unicode characters ranging between 1 and 4,000 characters. Implicit conversion fails if the string is greater than 4,000 characters. Explicitly set the object when working with strings longer than 4,000 characters. Use NVarChar when the database column is nvarchar(max).
Supported by the XNA FrameworkReal Single. A floating point number within the range of -3.40E +38 through 3.40E +38.
Supported by the XNA FrameworkUniqueIdentifier Guid. A globally unique identifier (or GUID).
Supported by the XNA FrameworkSmallDateTime DateTime. Date and time data ranging in value from January 1, 1900 to June 6, 2079 to an accuracy of one minute.
Supported by the XNA FrameworkSmallInt Int16. A 16-bit signed integer.
Supported by the XNA FrameworkSmallMoney Decimal. A currency value ranging from -214,748.3648 to +214,748.3647 with an accuracy to a ten-thousandth of a currency unit.
Supported by the XNA FrameworkText String. A variable-length stream of non-Unicode data with a maximum length of 2 31 -1 (or 2,147,483,647) characters.
Supported by the XNA FrameworkTimestamp Array of type Byte. Automatically generated binary numbers, which are guaranteed to be unique within a database. timestamp is used typically as a mechanism for version-stamping table rows. The storage size is 8 bytes.
Supported by the XNA FrameworkTinyInt Byte. An 8-bit unsigned integer.
Supported by the XNA FrameworkVarBinary Array of type Byte. A variable-length stream of binary data ranging between 1 and 8,000 bytes. Implicit conversion fails if the byte array is greater than 8,000 bytes. Explicitly set the object when working with byte arrays larger than 8,000 bytes.
Supported by the XNA FrameworkVarChar String. A variable-length stream of non-Unicode characters ranging between 1 and 8,000 characters. Use VarChar when the database column is varchar(max).
Supported by the XNA FrameworkVariant Object. A special data type that can contain numeric, string, binary, or date data as well as the SQL Server values Empty and Null, which is assumed if no other type is declared.
Supported by the XNA FrameworkXmlAn XML value. Obtain the XML as a string using the GetValue method or Value property, or as an XmlReader by calling the CreateReader method.
Supported by the XNA FrameworkUdtA SQL Server 2005 user-defined type (UDT).
Supported by the XNA FrameworkStructuredA special data type for specifying structured data contained in table-valued parameters.
Supported by the XNA FrameworkDateDate data ranging in value from January 1,1 AD through December 31, 9999 AD.
Supported by the XNA FrameworkTimeTime data based on a 24-hour clock. Time value range is 00:00:00 through 23:59:59.9999999 with an accuracy of 100 nanoseconds. Corresponds to a SQL Server time value.
Supported by the XNA FrameworkDateTime2Date and time data. Date value range is from January 1,1 AD through December 31, 9999 AD. Time value range is 00:00:00 through 23:59:59.9999999 with an accuracy of 100 nanoseconds.
Supported by the XNA FrameworkDateTimeOffsetDate and time data with time zone awareness. Date value range is from January 1,1 AD through December 31, 9999 AD. Time value range is 00:00:00 through 23:59:59.9999999 with an accuracy of 100 nanoseconds. Time zone value range is -14:00 through +14:00.

When setting command parameters, the SqlDbType and DbType are linked. Therefore, setting the DbType changes the SqlDbType to a supporting SqlDbType.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Biblioteca de clases de .NET Framework
SqlDbType (Enumeración)

Especifica el tipo de datos específico de SQL Server de un campo o una propiedad para su uso en SqlParameter.

Espacio de nombres:  System.Data
Ensamblado:  System.Data (en System.Data.dll)
Visual Basic
Public Enumeration SqlDbType
C#
public enum SqlDbType
Visual C++
public enum class SqlDbType
F#
type SqlDbType
Nombre de miembroDescripción
Compatible con XNA FrameworkBigInt Int64. Entero de 64 bits con signo.
Compatible con XNA FrameworkBinary Array de tipo Byte. Secuencia de longitud fija de datos binarios comprendida entre 1 y 8.000 bytes.
Compatible con XNA FrameworkBit Boolean. Valor numérico sin signo que puede ser 0, 1 o nullNothingnullptrreferencia null (Nothing en Visual Basic).
Compatible con XNA FrameworkChar String. Secuencia de longitud fija de caracteres no Unicode comprendida entre 1 y 8.000 caracteres.
Compatible con XNA FrameworkDateTime DateTime. Datos de fecha y hora cuyo valor está comprendido entre el 1 de enero de 1753 y el 31 de diciembre de 9999, con una precisión de 3,33 milisegundos.
Compatible con XNA FrameworkDecimal Decimal. Valor numérico de precisión y escala fijas comprendido entre -10 38 -1 y 10 38 -1.
Compatible con XNA FrameworkFloat Double. Número de punto flotante comprendido entre -1,79E +308 y 1,79E +308.
Compatible con XNA FrameworkImage Array de tipo Byte. Secuencia de longitud variable de datos binarios comprendida entre 0 y 2 31 -1 (o 2.147.483.647) bytes.
Compatible con XNA FrameworkInt Int32. Entero de 32 bits con signo.
Compatible con XNA FrameworkMoney Decimal. Valor de moneda comprendido entre -2 63 (o -922,337,203,685,477.5808) y 2 63 -1 (o +922,337,203,685,477.5807), con una precisión de una diezmilésima de unidad de moneda.
Compatible con XNA FrameworkNChar String. Secuencia de longitud fija de caracteres Unicode comprendida entre 1 y 4.000 caracteres.
Compatible con XNA FrameworkNText String. Secuencia de longitud variable de datos Unicode con una longitud máxima de 2 30 - 1 (o 1.073.741.823) caracteres.
Compatible con XNA FrameworkNVarChar String. Secuencia de longitud variable de caracteres Unicode comprendida entre 1 y 4.000 caracteres. Se produce un error en las conversiones implícitas si la cadena tiene más de 4.000 caracteres. Establezca explícitamente el objeto cuando trabaje con cadenas de más de 4.000 caracteres. Utilice NVarChar cuando la columna de base de datos sea nvarchar(max).
Compatible con XNA FrameworkReal Single. Número de punto flotante comprendido entre -3,40E +38 y 3,40E +38.
Compatible con XNA FrameworkUniqueIdentifier Guid. Identificador único global (GUID).
Compatible con XNA FrameworkSmallDateTime DateTime. Datos de fecha y hora cuyo valor está comprendido entre el 1 de enero de 1900 y el 6 de junio de 2079, con una precisión de un minuto.
Compatible con XNA FrameworkSmallInt Int16. Entero de 16 bits con signo.
Compatible con XNA FrameworkSmallMoney Decimal. Valor de divisa comprendido entre -214.748,3648 y +214.748,3647, con una precisión de una diezmilésima de unidad de divisa.
Compatible con XNA FrameworkText String. Secuencia de longitud variable de datos no Unicode con una longitud máxima de 2 31 -1 (o 2.147.483.647) caracteres.
Compatible con XNA FrameworkTimestamp Array de tipo Byte. Números binarios generados automáticamente de los que se garantiza que son únicos en una base de datos. timestamp se usa normalmente como un mecanismo para agregar marcas de versión a las filas de tabla. El tamaño de almacenamiento es de 8 bytes.
Compatible con XNA FrameworkTinyInt Byte. Entero de 8 bits sin signo.
Compatible con XNA FrameworkVarBinary Array de tipo Byte. Secuencia de longitud variable de datos binarios comprendida entre 1 y 8.000 bytes. Se produce un error en las conversiones implícitas si la matriz de bytes tiene más de 8.000 caracteres. Establezca explícitamente el objeto cuando trabaje con matrices de bytes de más de 8.000 bytes.
Compatible con XNA FrameworkVarChar String. Secuencia de longitud variable de caracteres no Unicode comprendida entre 1 y 8.000 caracteres. Utilice VarChar cuando la columna de base de datos sea varchar(max).
Compatible con XNA FrameworkVariant Object. Tipo especial de datos que puede contener datos numéricos, de cadena, binarios o de fecha, así como los valores Empty y Null de SQL Server, que se supone si no se declara otro tipo.
Compatible con XNA FrameworkXmlValor XML. Obtenga el XML como una cadena utilizando el método GetValue o la propiedad Value o como un XmlReader llamando al método CreateReader.
Compatible con XNA FrameworkUdtTipo definido por el usuario (UDT) de SQL Server 2005.
Compatible con XNA FrameworkStructuredUn tipo de datos especial para especificar datos estructurados contenidos en parámetros con valores de tabla.
Compatible con XNA FrameworkDateDatos de fechas que van desde el 1 de enero del año 1 d.C. hasta el 31 de diciembre de 9999 d.C.
Compatible con XNA FrameworkTimeDatos horarios basados en un reloj de 24 horas. El intervalo de valor horario está comprendido entre 00:00:00 y 23:59:59,9999999 con una precisión de 100 nanosegundos. Corresponde a un valor time de SQL Server.
Compatible con XNA FrameworkDateTime2Datos de fecha y hora. El intervalo de valores de fecha comprende desde el 1 de enero de 1 d.C. hasta el 31 de diciembre de 9999 d.C. El intervalo de valor horario está comprendido entre 00:00:00 y 23:59:59,9999999 con una precisión de 100 nanosegundos.
Compatible con XNA FrameworkDateTimeOffsetDatos de fecha y hora con conocimiento de la zona horaria. El intervalo de valores de fecha comprende desde el 1 de enero de 1 d.C. hasta el 31 de diciembre de 9999 d.C. El intervalo de valor horario está comprendido entre 00:00:00 y 23:59:59,9999999 con una precisión de 100 nanosegundos. El intervalo horario es -14: 00 hasta +14:00.

Al establecer parámetros de comando, se vinculan SqlDbType y DbType. Por tanto, al establecer el valor de DbType, SqlDbType cambia a una propiedad SqlDbType compatible.

.NET Framework

Compatible con: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Compatible con: 4, 3.5 SP1

Windows 7, Windows Vista SP1 o posterior, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (no se admite Server Core), Windows Server 2008 R2 (se admite Server Core con SP1 o posterior), Windows Server 2003 SP2

.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.
Contenido de la comunidad   ¿Qué es Community Content?
Agregar contenido nuevo RSS  Anotaciones
Processing
© 2012 Microsoft. Reservados todos los derechos. Términos de uso | Marcas Registradas | Privacidad
Page view tracker