You need to supply the stored procedure with multiple e…
You develop a database for a travel application. You need to design tables and other database objects. You create a stored procedure. You need to supply the
stored procedure with multiple event names and their dates as parameters. What should you do?
You need to store the departure and arrival dates and t…
You develop a database for a travel application. You need to design tables and other database objects.
You create the Airline_Schedules table.
You need to store the departure and arrival dates and times of flights along with time zone information.
What should you do?
You need to improve the performance of the view by pers…
Which Transact-SQL statement should you use?
You develop a Microsoft SQL Server 2012 server database that supports an application. The application contains a table that has the following definition:
CREATE TABLE Inventory
(ItemID int NOT NULL PRIMARY KEY,
ItemsInStore int NOT NULL,
ItemsInWarehouse int NOT NULL)
You need to create a computed column that returns the sum total of the ItemsInStore and ItemsInWarehouse values for each row.
Which Transact-SQL statement should you use?