She asks: Is there a command or function that converts data in a SQL table from one datatype to another? You respond: Yes, it’s the CAST function.

Correct
The CAST function is used to convert data in a SQL table from one datatype to another.