About 1,940,000 results
Open links in new tab
  1. String and Binary Types - SQL Server | Microsoft Learn

    Nov 22, 2024 · Learn about the string and binary types in the Database Engine, including binary, varbinary, char, nchar, varchar, and nvarchar.

  2. binary and varbinary (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 22, 2024 · Convert binary and varbinary data. When converting data from a string data type to a binary or varbinary data type of unequal length, SQL Server pads or truncates the data on the right. These string data types are: char; varchar; nchar; …

  3. SQL Data Types for MySQL, SQL Server, and MS Access - W3Schools

    The data type of a column defines what value the column can hold: integer, character, money, date and time, binary, and so on. SQL Data Types Each column in a database table is required to have a name and a data type.

  4. sql server - SQL Search for a Binary value - Stack Overflow

    Mar 26, 2014 · I've seen similar queries where a string or character value is used to search an entire database. Those queries do not return results that lie in a BINARY (8) field. I've tried to modify those queries to no avail. Is there a way to search the entire database for specific binary values, such as 0x0000000000000017? Thanks guys.

  5. text, ntext, binary, varbinary and varbinary(max) in MS SQL

    Sep 4, 2023 · BINARY. Binary is fixed-length data type that stores pictures, files, and other media. Storage size depends on the length specified. It can store up to 8000 bytes. For example, the following statement creates a column called image with a length of 2000 bytes so the query is shown given below.

  6. 12.10.8 The Binary Character Set - MySQL

    The binary character set is the character set for binary strings, which are sequences of bytes. The binary character set has one collation, also named binary. Comparison and sorting are based on numeric byte values, rather than on numeric character code values (which for multibyte characters differ from numeric byte values).

  7. MySQL "binary" vs "char character set binary" - Stack Overflow

    The use of CHARACTER SET binary in the definition of a CHAR, VARCHAR, or TEXT column causes the column to be treated as a binary data type. For example, the following pairs of definitions are equivalent: CHAR(10) CHARACTER SET binary BINARY(10) VARCHAR(10) CHARACTER SET binary VARBINARY(10) TEXT CHARACTER SET binary BLOB

  8. sql - Returning binary value from select query - Stack Overflow

    Jan 6, 2016 · I want to receive the result as a binary string (like 11001011). Meaning, to recieve the selected "char" as binary. What is the correct way of doing this?

  9. Practical uses of binary types – sqlsunday.com

    Jan 9, 2017 · Like the name implies, a binary value in SQL Server is a series of bytes (known as a byte array in some programming languages). Just like char/varchar, there are fixed-length types, binary(1-8000), and variable-length ones, varbinary(1-8000) and varbinary(max).

  10. Binary and VarBinary Data Types in SQL Server

    Aug 27, 2021 · Binary, Varbinary & Varbinary(max) are the binary string data types in SQL Server. These data types are used to store raw binary data up to a length of (32K – 1) bytes. The contents of image files (BMP, TIFF, GIF, or JPEG format files), word files, text files, etc. are examples of binary data.

  11. Some results have been removed