varchar
Popularity
500+ learners.
- Examples
No hay diferencia de comportamiento entre varchar y text. | There is no behavior difference between varchar and text. |
¿Cuál es la diferencia entre text y varchar? | What is the difference between text and varchar? |
Observe que la columna doc de la tabla books contiene datos XML, aunque se definió como varchar(150). | Note that the doc column of the books table contains XML data, although it was defined as varchar(150). |
Por ejemplo, cambiar un nchar o nvarchar columna char o varchar puede suponer la conversión de caracteres extendidos. | For example, changing an nchar or nvarchar column to char or varchar may cause the conversion of extended characters. |
El ejemplo siguiente aumenta el tamaño de una varchar columna y la precisión y escala de un decimal columna. | The following example increases the size of a varchar column and the precision and scale of a decimal column. |
Por ejemplo, la columna email es un varchar en el esquema, pero necesitamos que esta columna sea validada como un email. | For example, the email column is a varchar in the schema, but we need this column to be validated as an email. |
Incluso si la tabla usa una columna índice, esto significa que una columna varchar para una entrada XML podría tener más de 64K bytes. | Even if your table uses an index column, this means a varchar column for one XML entry could be over 64k bytes. |
En el ejemplo anterior el tipo de parámetro se establece de forma explícita como varchar y su tamaño (size) se define como max. | In the code listing above, the parameter type is explicitly set as varchar and its size is set to max. |
La cláusula COLLATE se puede utilizar para cambiar las intercalaciones solo de las columnas de la char, varchar, nchar, y nvarchar tipos de datos. | The COLLATE clause can be used to change the collations only of columns of the char, varchar, nchar, and nvarchar data types. |
Solo se aplica a la varchar, nvarchar, y varbinary tipos de datos para almacenar 2 ^ 31-1 bytes de caracteres, datos binarios y de los datos Unicode. | Applies only to the varchar, nvarchar, and varbinary data types for storing 2^31-1 bytes of character, binary data, and of Unicode data. |
Varios nuevos tipos de datos están ahora con el apoyo de la recuperación para SQL: FILESTREAM de SQL Server 2008, varchar (max) de SQL Server 2005 y 2008. | Several new data types are now supported by Recovery for SQL: filestream for SQL Server 2008, varchar(max) for SQL Server 2005 and 2008. |
Una de las primeras cosas que se aprende cuando se empieza con T-SQL es a usar la cláusula LIKE para hacer comparaciones en campos de tipo texto (char, varchar o text). | One of the first things you learn when begin with T-SQL is to use the LIKE clause to make comparisons in text fields (char, nchar, varchar, nvarchar or text). |
NOTA Como es el cliente el que pide los varchar recortados al servidor, el cliente 1.5 (fbclient.dll o libfbclient.so) lo hará aunque se conecte a una versión anterior. | Note As it is the client that requests the server to trim varchars, the Firebird 1.5 client (fbclient.dll or libfbclient.so) will trim, even if connected to a pre-1.5 server version. |
Incluso si el type de la columna es también un varchar en el esquema, queremos que su valor este restringido a una lista de opciones: full time, part time, o freelance. | Even if the type column is also a varchar in the schema, we want its value to be restricted to a list of choices: full time, part time, or freelance. |
Los parámetros se tratan por defecto como de tipo text o varchar, lo cual provoca errores cuando se realizan consultas con parámetros con ciertos controladores de base de datos (p. ej. con conexiones ADO.NET o JDBC con SQL Server). | By default, parameters are treated as type text or varchar, which makes parameterized queries fail with certain database drivers (for example, with ADO.NET or JDBC connections to SQL Server). |
Además, la columna no se puede definir en un índice, a menos que la columna es una varchar, nvarchar, o varbinary tipo de datos y el índice no es el resultado de una restricción PRIMARY KEY. | Also, the column cannot be defined in an index, unless the column is a varchar, nvarchar, or varbinary data type and the index is not the result of a PRIMARY KEY constraint. |
No se puede cambiar el tipo de datos de las columnas incluidas en un índice, a menos que la columna es una varchar, nvarchar, o varbinary tipo de datos, y el nuevo tamaño sea igual o mayor que el tamaño anterior. | The data type of columns included in an index cannot be changed unless the column is a varchar, nvarchar, or varbinary data type, and the new size is equal to or larger than the old size. |
Tenga en cuenta que Firebird generará un error si su expresión intenta concatenar dos o más columnas de tipo char o varchar si la longitud combinada puede exceder el límite máximo de longitud para el tipo char o varchar (32 KB). | Be aware that Firebird will raise an error if your expression attempts to concatenate two or more char or varchar columns whose potential combined lengths would exceed the maximum length limit for a char or a varchar (32 Kb). |
Base usa VARCHAR como formato para campos de texto. | Base uses VCHAR as the field format for text fields. |
Define el tipo de controles de edición a usar para los campos CHAR y VARCHAR. | Defines which type of editing controls should be used for CHAR and VARCHAR columns. |
Random Word
Roll the dice and learn a new word now!
Want to Learn Spanish?
Spanish learning for everyone. For free.
