SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 ask - input binary
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

semesta
Starting Member

3 Posts

Posted - 05/27/2010 :  05:00:08  Show Profile  Reply with Quote
hi there,

I wanna change value in binary field, how to do that? the message said that I have to use CONVERT function. please help me, since I never use this function and I'm beginner with ms sql. thanks a lot.

webfred
Flowing Fount of Yak Knowledge

Germany
8760 Posts

Posted - 05/27/2010 :  05:04:59  Show Profile  Visit webfred's Homepage  Reply with Quote
Can you show us the statement that brings up the message and the table structure to see the data types?



No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

semesta
Starting Member

3 Posts

Posted - 05/31/2010 :  03:51:08  Show Profile  Reply with Quote
sorry i made mistake. I should not use ' while enter data. thanks.
Go to Top of Page

madhivanan
Premature Yak Congratulator

India
22744 Posts

Posted - 05/31/2010 :  05:13:09  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
Yes. Otherwise they would become varchar values

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

semesta
Starting Member

3 Posts

Posted - 06/02/2010 :  00:32:14  Show Profile  Reply with Quote
then, how to convert from varchar to binary, use update command? thanks before.

if I need to make new post, then please let me know. thanks before.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000