Question

Class SQL performs automatically; discuss at least two risks inherent in letting SQL Server to perform...

Class SQL performs automatically; discuss at least two risks inherent in letting SQL Server to perform conversion. In your opinion what is the best approach for insuring that any data type conversion will work all the time as expected? Provide a vivid example to summarize your written detail explanation.

Homework Answers

Answer #1

Sql server supports two types of data type conversion : implicit amd explicit.

Implicit means that the database engine will convert the data type automatically , a process invisible to the user. Explicit means that you must specify how the data type should be converted. If you don't specify how sql sever should convert the datatype to do what you want(explicitly), it will try to guess your intentions (implicitly).

In my opinion explicit is the best approach for any data type conversion.

For example, when we multiply decimal datatype with an integer ,the data undergoes internal transformation and implicitly converts an integer to decimal data type and the result is of decimal datatype.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT