You develop a Microsoft SQL Server database that contains a table named Employee, defined as follows:

You need to create a view that contains two computed columns representing the month and the year of the [HireDate] of each Employee. Which function should you use?
A. DATENAME( )You work as a database administrator at ABC.com. You are developing a database that will be used by a web site analysis application name ABCWeb1.
The ABCWeb1 application must display the date and time each visitor visits a page on a website as well as the date and time they leave that web page.
This data needs to be displayed in different date and time formats.
How would you accomplish this?
A. You should make use of a scalar user-defined function.You are tasked with implementing a trigger. As part of the trigger's code in specific conditions, you need to roll back the transaction.
However, you need to copy the data from the inserted and deleted tables in the trigger into audit tables to keep track of what was supposed to be changed. How can you achieve this?
A. Roll back the transaction, and then copy the data from the inserted and deleted tables into the audit tables.You administer a Microsoft SQL Server database named Orders.
The database contains a table named Customer that has the following definition:

You add a new data source to the application that inserts records into the Customer table. An example of a query that the application executes is shown below.

Users report that these new records are not displayed correctly. You review data in the table and observe that records from the new data source are displayed as shown below.

You need to change the database schema to support the characters coming in from this new data source. You need to achieve this goal without losing existing customer records. Which Transact-SQL statement should you run?

What metadata tables give you a list of constraints in a database? (Choose all that apply.)
A. sys.key_constraintsYou work as a SQL Server 2012 database developer at ABC.com. ABC.com has a database named SalesDB.
You are developing a stored procedure that takes a parameter named @date that uses the varchar datatype. The @date parameter must be compared to the value in a datetime column named OrderDate.
Which of the following WHERE clauses would be the most efficient WHERE clause to use?
A. WHERE OrderDate = CAST(datetime,@date)You work as a database developer at ABC.com. ABC.com has a SQL Server 2012 database named SalesDB with a table named Invoices.
Application developers are developing several in-house applications that will access the Invoices table. You need to develop a solution that will allow the applications to access the table indirectly while still allowing them to update the Invoice
table.
How would you accomplish this task?
A. You should create a view on the Invoices table.You use a Microsoft Azure SQL DataBase instance. The instance contains a table named Customers that has columns named Id, Name, and IsPriority.
You need to create a view named VwPriorityCustomers that:
returns rows from Customer that have a value of True in the IsPriority column, and does not allow columns to be altered or dropped in the underlying table.
Which Transact-SQL statement shoul you run?
A. CREATE VIEW VwPriorityCustomers AS SELECT Id, Name FROM dbo.Customers WHERE IsPriority=1 WITH CHECK OPTIONWhat is the result of WITH SCHEMABINDING in a view?
A. The view cannot be altered without altering the table.You want to enforce that a valid supplierid be entered for each productid in the Production.Products table. What is the appropriate constraint to use?
A. A unique constraintNowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-461 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.