Click here to Skip to main content
13,668,546 members
Rate this:
Please Sign up or sign in to vote.
See more:

how to convert datatype from varchar to binary(16) in db table in sql server 2005?

Posted 13-May-13 21:21pm
Updated 29-May-13 0:54am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Needs to be done with an explicit cast. More info here:[^]

Good luck!
kk2014 29-May-13 6:52am
i want to convert datatype varchar to binary(16) in my db table.
how can i do that?
IpsitaMishra 29-May-13 7:03am
Do you want to change any column's type of the db table from varchar to binary(16)?
kk2014 30-May-13 6:04am
no i have column 'password' which have datatype varchar(50) right now but i want to change datatype to binary(16).
how can i do it?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web05-2016 | 2.8.180820.1 | Last Updated 29 May 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100