Converting hexadecimal data  Converting between binary and numeric or decimal types

Chapter 15: Using the Built-In Functions in Queries

Converting image data to binary or varbinary

Use the convert function to convert an image column to binary or varbinary. You are limited to the maximum length of the binary datatypes, which is the page size of the server. If you do not specify the length, the converted value has a default length of 30 characters.





Copyright © 2005. Sybase Inc. All rights reserved. Converting between binary and numeric or decimal types

View this book as PDF