Home >> FAQs/Tutorials >> SQL Server FAQ
SQL Server FAQs - Transact-SQL Managing Character Strings and Binary Strings
A collection of 14 FAQs on Transact-SQL language character string and binary string operations. Clear answers are provided with tutorial exercises on concatenating character/binary strings; converting Unicode character strings; converting binary strings; inserting new line characters; locating and taking substrings; bitwise operations.
Topics included in this FAQ are:
- How To Concatenate Two Character Strings Together?
- What Happens When Unicode Strings Concatenate with Non-Unicode Strings?
- How To Convert a Unicode Strings to Non-Unicode Strings?
- What Are the Character String Functions Supported by SQL Server 2005?
- How To Insert New Line Characters into Strings?
- How To Locate and Take Substrings with CHARINDEX() and SUBSTRING() Functions?
- How To Concatenate Two Binary Strings Together?
- Can Binary Strings Be Used in Arithmetical Operations?
- How To Convert Binary Strings into Integers?
- Can Binary Strings Be Converted into NUMERIC or FLOAT Data Types?
- Can Binary Strings Be Converted into Character Strings?
- Can Binary Strings Be Converted into Unicode Character Strings?
- How To Convert Binary Strings into Hexadecimal Character Strings
- What Are Bitwise Operations?
Please note that all answers and tutorials are based on MS SQL Server 2005.
To follow tutorials in this collection, you should connect to SQL server
as a regular user who has enough permissions to run simple Transact-SQL statements.
For questions on Transact-SQL language, see the other FAQ collections.
(Continued on next topic...)