Which data type should you use for CustomerID?

Correct Answer for the following Question is given below

Which data type should you use for CustomerID?Invoices.xmlAll customer IDs are 11 digits. The first three digits of a customer ID represent the customer’s country. The remaining eight digits are the customer’s account number. int: -2^31 (-2,147,483,648) to 2^31-1 (2,147,483,647) (just 10 digits max) bigint: -2^63 (-9,223,372,036,854,775,808) to 2^63-1 (9,223,372,036,854,775,807) http://msdn.microsoft.com/en-us/library/ms176089.aspxhttp://msdn.microsoft.com/en-us/library/ms187745.aspx

Question:

Which data type should you use for CustomerID?

Options:

varchar(11)

bigint

nvarchar(11)

char(11)

Correct Answer

The Correct Answer for this Question is

char(11)

Explanation

The Question – Which data type should you use for CustomerID? has been answered correctly and answers for the question is char(11)

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

Leave a Comment