Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Binary value? 1

Status
Not open for further replies.

Newbi1

Programmer
Apr 4, 2005
64
US
Hi, I am trying to write a view for a report and have come acros a field that is displaying <Binary>. This field should be either 01 or 06, but for the life of me I am not sure how to convert it so I can implement the view.
 
Run the same query (SELECT * from myTable) in Query Analyzer. What's inside this column?

Other than that, you can try CONVERT(varchar(2), binaryColumn)


------
heisenbug: A bug that disappears or alters its behavior when one attempts to probe or isolate it
schroedinbug: A bug that doesn't appear until someone reads source code and realizes it never should have worked, at which point the program promptly stops working for everybody until fixed.

[ba
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top