hi,

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

thanks

hi pritaeas,

i had done it earlier, and i got below error

Implicit conversion from data type varchar to binary is not allowed. Use the CONVERT function to run this query.

thanks

Add a new column, then copy/convert the data to it, then remove the old column and rename the new one.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.