+ 2

is there any way to cast data types?

for example if i create a table of varchar and i want to turn a column into a binary

24th Sep 2016, 3:01 PM
Ezequiel Velez
Ezequiel Velez - avatar
2 Answers
+ 3
ALTER TABLE Table1 ALTER COLUMN Column1 <datatype>
25th Sep 2016, 1:15 AM
Sandeep
0
Alter table xyz Alter column yxyz binary;
9th Dec 2016, 10:19 AM
Sohel