2026 New 70-761 Exam Dumps with PDF and VCE Free: https://www.2passeasy.com/dumps/70-761/

Cause all that matters here is passing exam with . Cause all that you need is a high score of . The only one thing you need to do is downloading free now. We will not let you down with our money-back guarantee.

Free demo questions for Microsoft 70-761 Exam Dumps Below:

NEW QUESTION 1
You have the following Transact-SQL query:
70-761 dumps exhibit
What type of functions are used in the query? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
70-761 dumps exhibit

    Answer:

    Explanation: Box 1: Scalar
    The return value of a function can either be a scalar (single) value or a table. Box 2: Table-Valued
    The APPLY operator allows you to invoke a table-valued function for each row returned by an outer table expression of a query. The table-valued function acts as the right input and the outer table expression acts as the left input. The right input is evaluated for each row from the left input and the rows produced are combined for the final output. The list of columns produced by the APPLY operator is the set of columns in the left input followed by the list of columns returned by the right input.
    References:
    https://msdn.microsoft.com/en-us/library/ms186755.aspx https://technet.microsoft.com/en-us/library/ms175156(v=sql.105).aspx

    NEW QUESTION 2
    You need to create a table named Sales that meets the following requirements:
    70-761 dumps exhibit
    Which Transact-SQL statement should you run?
    70-761 dumps exhibit

    • A. Option A
    • B. Option B
    • C. Option C
    • D. Option D

    Answer: B

    Explanation: References:
    https://docs.microsoft.com/en-us/sql/t-sql/data-types/decimal-and-numeric-transact-sql?view=sql-server-2021 https://docs.microsoft.com/en-us/sql/t-sql/data-types/float-and-real-transact-sql?view=sql-server-2021

    NEW QUESTION 3
    You have a database named DB1 that contains two tables named Sales.Customers and Sales.CustomerTransaction. Sales.CustomerTransactions has a foreign key relationship to column named CustomerID in Sales.Customers.
    You need to recommend a query that returns the number of customers who never completed a transaction. Which query should you recommend?
    70-761 dumps exhibit
    70-761 dumps exhibit

    • A. Option A
    • B. Option B
    • C. Option C
    • D. Option D

    Answer: A

    NEW QUESTION 4
    You have a database that contains the following tables.
    70-761 dumps exhibit
    You need to create a query that lists all complaints from the Complaints table, and the name of the person handling the complaints if a person is assigned. The ComplaintID must be displayed first, followed by the person name.
    Construct the query using the following guidelines:
    - Use two-part column names.
    - Use one-part table names.
    - Do not use aliases for column names or table names.
    - Do not use Transact-SQL functions.
    - Do not use implicit joins.
    - Do not surround object names with square brackets.
    Part of the correct Transact-SQL has been provided in the answer area below. Enter the code in the answer area that resolves the problem and meets the stated goals or requirements. You can add code within the code that has been provided as well as below it.
    70-761 dumps exhibit
    70-761 dumps exhibit
    70-761 dumps exhibit
    Use the Check Syntax button to verify your work. Any syntax or spelling errors will be reported by line and character position.

      Answer:

      Explanation: SELECT
      Complaints.ComplaintID, Persons.Name FROM
      Complaints LEFT OUTER JOIN Contacts ON Complaints.ComplaintID = Contacts.ComplaintID
      LEFT OUTER JOIN Persons ON Contacts.PersonID = Persons.PersonID

      NEW QUESTION 5
      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 are developing a database to track customer orders. The database contains the following tables: Sales.Customers, Sales.Orders, and Sales.OrderLines. The following table describes the columns in Sales.Customers.
      70-761 dumps exhibit
      The following table describes the columns in Sales.Orders.
      70-761 dumps exhibit
      The following table describes the columns in Sales.OrderLines.
      70-761 dumps exhibit
      You need to create a stored procedure that inserts data into the Customers table. The stored procedure must meet the following requirements:
      - Data changes occur as a single unit of work.
      - Data modifications that are successful are committed and a value of 0 is returned.
      - Data modifications that are unsuccessful are rolled back. The exception severity level is set to 16 and a value of -1 is returned.
      - The stored procedure uses a built-it scalar function to evaluate the current condition of data modifications.
      - The entire unit of work is terminated and rolled back if a run-time error occurs during execution of the stored procedure.
      How should complete the stored procedure definition? To answer, drag the appropriate Transact-SQL segments to the correct targets. Each Transact-SQL segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
      NOTE: Each correct selection is worth one point.
      70-761 dumps exhibit

        Answer:

        Explanation: Box 1: XACT_ABORT
        XACT_ABORT specifies whether SQL Server automatically rolls back the current transaction when a Transact-SQL statement raises a run-time error.
        When SET XACT_ABORT is ON, if a Transact-SQL statement raises a run-time error, the entire transaction is terminated and rolled back.
        Box 2: COMMIT
        Commit the transaction. Box 3: XACT_STATE
        Box 4: ROLLBACK
        Rollback the transaction Box 5: THROW
        THROW raises an exception and the severity is set to 16.
        Requirement: Data modifications that are unsuccessful are rolled back. The exception severity level is set to 16 and a value of -1 is returned.
        References:
        https://msdn.microsoft.com/en-us/library/ms188792.aspx https://msdn.microsoft.com/en-us/library/ee677615.aspx

        NEW QUESTION 6
        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 query a database that includes two tables: Project and Task. The Project table includes the following columns:
        70-761 dumps exhibit
        The Task table includes the following columns:
        70-761 dumps exhibit
        You plan to run the following query to update tasks that are not yet started: UPDATE Task SET StartTime = GETDATE() WHERE StartTime IS NULL
        You need to return the total count of tasks that are impacted by this UPDATE operation, but are not associated with a project.
        What set of Transact-SQL statements should you run?
        70-761 dumps exhibit

        • A. Option A
        • B. Option B
        • C. Option C
        • D. Option D

        Answer: B

        NEW QUESTION 7
        You have a database named DB1 that contains a table named HR.Employees. HR.Employees contains two columns named ManagerID and EmployeeID. ManagerID refers to EmployeeID.
        You need to create a query that returns a list of all employees, the manager of each employee, and the numerical level of each employee in your organization’s hierarchy.
        Which five statements should you add to the query in sequence? To answer, move the appropriate statements from the list of statements to the answer area and arrange them in the correct order.
        70-761 dumps exhibit

          Answer:

          Explanation: References:
          https://blog.sqlauthority.com/2012/04/24/sql-server-introduction-to-hierarchical-query-using-a-recursive-cte-a-p

          NEW QUESTION 8
          Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.
          You have a database that contains tables named Customer_CRMSystem and Customer_HRSystem. Both tables use the following structure:
          70-761 dumps exhibit
          The tables include the following records: Customer_CRMSystem
          70-761 dumps exhibit
          Customer_HRSystem
          70-761 dumps exhibit
          Records that contain null values for CustomerCode can be uniquely identified by CustomerName. You need to display distinct customers that appear in both tables.
          Which Transact-SQL statement should you run?
          70-761 dumps exhibit
          70-761 dumps exhibit

          • A. Option A
          • B. Option B
          • C. Option C
          • D. Option D
          • E. Option E
          • F. Option F
          • G. Option G
          • H. Option H

          Answer: H

          Explanation: To retain the nonmatching information by including nonmatching rows in the results of a join, use a full outer join. SQL Server provides the full outer join operator, FULL OUTER JOIN, which includes all rows from both tables, regardless of whether or not the other table has a matching value.

          NEW QUESTION 9
          You have a table named HumanResources.Employee. You configure the table to use a default history table that contains 10 years of data.
          You need to write a query that retrieves the values of the BusinessEntityID and JobTitle fields. You must retrieve all historical data up to January 1, 2021 where the value of the BusinessEntityID column equals 4.
          Which four Transact-SQL segments should you use to develop the solution? To answer, move the appropriate Transact-SQL segments to the answer area and arrange them in the correct order.
          70-761 dumps exhibit

            Answer:

            Explanation: References:
            https://docs.microsoft.com/en-us/sql/relational-databases/tables/querying-data-in-a-system-versioned-temporal-t

            NEW QUESTION 10
            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 query a database that includes two tables: Project and Task. The Project table includes the following columns:
            70-761 dumps exhibit
            The Task table includes the following columns:
            70-761 dumps exhibit
            Users report performance issues when they run the following query:
            70-761 dumps exhibit
            You need to improve query performance and limit results to projects that specify an end date.
            How should you complete the Transact-SQL statement? To answer, select the appropriate Transact-SQL segments in the answer area.
            70-761 dumps exhibit

              Answer:

              Explanation: 70-761 dumps exhibit
              Wildcard character %: Any string of zero or more characters.
              For example: If the LIKE '5%' symbol is specified, the Database Engine searches for the number 5 followed by any string of zero or more characters.
              References: https://docs.microsoft.com/en-us/sql/t-sql/language-elements/like-transact-sql

              NEW QUESTION 11
              Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
              After you answer a question in this section. you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
              You create a table named Products by running the following Transact-SQL statement:
              70-761 dumps exhibit
              You have the following stored procedure:
              70-761 dumps exhibit
              You need to modify the stored procedure to meet the following new requirements:
              - Insert product records as a single unit of work.
              - Return error number 51000 when a product fails to insert into the database.
              - If a product record insert operation fails, the product information must not be permanently written to the database.
              Solution: You run the following Transact-SQL statement:
              70-761 dumps exhibit
              Does the solution meet the goal?

              • A. Yes
              • B. No

              Answer: A

              Explanation: If the INSERT INTO statement raises an error, the statement will be caught and an error 51000 will be thrown. In this case no records will have been inserted.
              Note:
              You can implement error handling for the INSERT statement by specifying the statement in a TRY…CATCH construct.
              If an INSERT statement violates a constraint or rule, or if it has a value incompatible with the data type of the column, the statement fails and an error message is returned.
              References: https://msdn.microsoft.com/en-us/library/ms174335.aspx

              NEW QUESTION 12
              You create a table by running the following Transact-SQL statement:
              70-761 dumps exhibit
              You need to view all customer data.
              Which Transact-SQL statement should you run?
              70-761 dumps exhibit

              • A. Option A
              • B. Option B
              • C. Option C
              • D. Option D
              • E. Option E
              • F. Option F
              • G. Option G
              • H. Option H

              Answer: B

              Explanation: The FOR SYSTEM_TIME ALL clause returns all the row versions from both the Temporal and History table. References: https://msdn.microsoft.com/en-us/library/dn935015.aspx

              NEW QUESTION 13
              You have a table named Table1 that contains 200 million rows. Table1 contains a column named SaleDate that has a data type of DateTime2(3).
              Users report that the following query runs slowly.
              70-761 dumps exhibit
              You need to reduce the amount of time it takes to run the query. What should you use to replace the WHERE statement?

              • A. WHERE SaleDate >= '2021-01-01' AND SaleDate < '2021-01-01'
              • B. WHERE cast(SaleDate as varchar(10)) BETWEEN '2021-01-01' AND '2021-12-31'
              • C. WHERE cast(SaleDate as date) BETWEEN '2021-01-01' AND '2021-12-31'
              • D. WHERE 2021 = year(SaleDate)

              Answer: C

              Explanation: References: https://docs.microsoft.com/en-us/sql/t-sql/queries/select-transact-sql?view=sql-server-2021

              NEW QUESTION 14
              You have a database containing the following tables: Servers
              70-761 dumps exhibit
              Errors
              70-761 dumps exhibit
              You have a user-defined, scalar function named IPLookup that takes a DNS name as a parameter and returns
              the IP address of the server. You have an additional user-defined, scalar function named DNSLookup, that takes an IP address as a parameter and returns a DNS name.
              You create a view named vwErrors by running the following Transact-SQL statement:
              70-761 dumps exhibit
              You need to insert data by using the view.
              How should you complete the Transact-SQL statement? To answer, drag the appropriate Transact-SQL segments to the correct location. Each Transact-SQL segments may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
              70-761 dumps exhibit

                Answer:

                Explanation: References: https://docs.microsoft.com/en-us/sql/t-sql/queries/output-clause-transact-sql

                NEW QUESTION 15
                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 are developing a database to track customer orders. The database contains the following tables: Sales.Customers, Sales.Orders, and Sales.OrderLines. The following table describes the columns in Sales.Customers.
                70-761 dumps exhibit
                The following table describes the columns in Sales.Orders.
                70-761 dumps exhibit
                The following table describes the columns in Sales.OrderLines.
                70-761 dumps exhibit
                You need to create a function that calculates the highest tax rate charged for an item in a specific order. Which five Transact-SQL segments should you use to develop the solution? To answer, move the appropriate
                Transact-SQL segments from the list of Transact-SQL segments to the answer area and arrange them in the correct order.
                70-761 dumps exhibit

                  Answer:

                  Explanation: Box 1: CREATE FUNCTION…@OrderID
                  Include definition for the …@OrderID parameter. Box 2: RETURNS decimal(18,2)
                  The function is defined to return a scalar value. Box 3: AS BEGIN …
                  Declare the local variables of the function. Box 4: SET @CalculatedTaxRate = (.. Calculate the tax rate.
                  Box 5: RETURN @CalculatedRate END Return a scalar value.
                  References: https://msdn.microsoft.com/en-us/library/ms186755.aspx

                  NEW QUESTION 16
                  Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
                  After you answer a question in this section. You will NOT be able to return to it. As a result, these questions will not appear in the review screen.
                  You create a table named Customer by running the following Transact-SQL statement:
                  70-761 dumps exhibit
                  You must insert the following data into the Customer table:
                  70-761 dumps exhibit
                  You need to ensure that both records are inserted or neither record is inserted. Solution: You run the following Transact-SQL statement:
                  70-761 dumps exhibit
                  Does the solution meet the goal?

                  • A. Yes
                  • B. No

                  Answer: B

                  NEW QUESTION 17
                  Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
                  After you answer a question in this section. You will NOT be able to return to it. As a result, these questions will not appear in the review screen.
                  You have a database that tracks orders and deliveries for customers in North America. The database contains the following tables:
                  Sales.Customers
                  70-761 dumps exhibit
                  Application.Cities
                  70-761 dumps exhibit
                  Sales.CustomerCategories
                  70-761 dumps exhibit
                  Your company is developing a new social application that connects customers to each other based on the distance between their delivery locations.
                  You need to write a query that returns the nearest customer. Solution: You run the following Transact-SQL statement:
                  70-761 dumps exhibit
                  The variable @custID is set to a valid customer.
                  Does the solution meet the goal?

                  • A. Yes
                  • B. No

                  Answer: B

                  100% Valid and Newest Version 70-761 Questions & Answers shared by Surepassexam, Get Full Dumps HERE: https://www.surepassexam.com/70-761-exam-dumps.html (New 191 Q&As)