True or False: To concatenate fields, they must be of same data type

True or False: To concatenate fields, they must be of same data type
A . True
B . False

Answer: A

Explanation:

Yes! To concatenate fields, they must be of same data type. However, there is a workaround which we can use – Type casting. See below:

Here, State and City are Strings, but Postal Code? Nope. It’s an Integer. So we can simply use the STR() function to convert it into a String, and hence the entire equation becomes valid!

Latest TDS-C01 Dumps Valid Version with 151 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments