In Sql
, if I want to fetch all columns from a table then I would write select * from <table name>
. However let say there is a column called XYZ
and type is numeric
. However I want to fetch all columns but change that XYZ
column to sting
, then how should one proceed?
Any help will be highly appreciated.