exam questions

Exam 70-762 All Questions

View all questions & answers for the 70-762 exam

Exam 70-762 topic 1 question 4 discussion

Actual exam question from Microsoft's 70-762
Question #: 4
Topic #: 1
[All 70-762 Questions]

HOTSPOT -
Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question in this series.
You have a database named Sales that contains the following database tables: Customer, Order, and Products. The Products table and the Order table are shown in the following diagram.

The customer table includes a column that stores the data for the last order that the customer placed.
You plan to create a table named Leads. The Leads table is expected to contain approximately 20,000 records. Storage requirements for the Leads table must be minimized.
The Leads table must include the columns described in the following table.

The data types chosen must consume the least amount of storage possible.
You need to select the appropriate data types for the Leads table.
In the table below, identify the data type that must be used for each table column.
NOTE: Make only one selection in each column.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Bit is aTransact-SQL integer data type that can take a value of 1, 0, or NULL.
Smallint is a Transact-SQL integer data type that can take a value in the range from -32,768 to 32,767. int, bigint, smallint, and tinyint (Transact-SQL)
Exact-number data types that use integer data.

References:
https://msdn.microsoft.com/en-us/library/ms187745.aspx
https://msdn.microsoft.com/en-us/library/ms177603.aspx

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
NickMane
Highly Voted 5 years, 2 months ago
This seems ok, smallint +-32.768, bit 0/1, fits requirements
upvoted 14 times
...
Nelly100
Highly Voted 5 years, 1 month ago
Yes @NickMane, smallInt fits the requirement too. This is 100% correct
upvoted 6 times
...
TheDUdeu
Most Recent 4 years, 5 months ago
Answer is correct. You can always increase the size of the smallint.
upvoted 5 times
...
strikersree
4 years, 10 months ago
SMALLINT - LeadID, BIT - IsCustomer
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago