What is the syntax of SQL CAST Function?

4. What is the syntax of SQL CAST Function?

  1. CAST (expression AS [data type])
  2. CAST (expression IN [data type])
  3. CAST (expression TO [data type])
  4. CAST (expression FOR [data type])

Answer: A) CAST (expression AS [data type])

Explanation:

CAST (expression AS [data type]) is the syntax of the SQL CAST function.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.