Microsoft
70-433 · Question #474
You administer a Microsoft SQL Server 2008 database for an inventory management system. The application contains a product table that has the following definition: You want to add a new field to the…
The correct answer is B. ALTER TABLE [Production].[Product] ADD [User_Data_1] SMALLINT. See the full explanation below for the reasoning.
Question
You administer a Microsoft SQL Server 2008 database for an inventory management system. The application contains a product table that has the following definition: You want to add a new field to the Product table to meet the following requirements: You need to add a field named User_Data_1 to support integer values ranging from -10 through 10. Which SQL statement should you use?
Exhibit
Options
- AALTER TABLE [Production].[Product] ADD [User_Data_1] TINYINT
- BALTER TABLE [Production].[Product] ADD [User_Data_1] SMALLINT
- CALTER TABLE [Production].[Product] ADD [User_Data_1] INT
- DALTER TABLE [Production].[Product] ADD [User_Data_1] BIGINT
- EALTER TABLE [Production].[Product] ADD [User_Data_1] BIT
- FALTER TABLE [Production].[Product] ADD [User_Data_1] NUMERIC(11,6)
- GALTER TABLE [Production].[Product] ADD [User_Data_1] NUMERIC(6,11)
- HALTER TABLE [Production].[Product] ADD [User_Data_1] NUMERIC(5,6)
- JALTER TABLE [Production].[Product] ADD [User_Data_1] MONEY
How the community answered
(25 responses)- A4% (1)
- B72% (18)
- C4% (1)
- G16% (4)
- J4% (1)
Community Discussion
No community discussion yet for this question.
