Is CAST function used in SQL-expressions that use UNION?
Such function does exist - CAST ( { expression | NULL } AS data_type [(length)] ). CAST NULL option is especially useful in queries with UNION which require column types match.
SQL Quiz
Start Quiz

or Read more about SQL Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback