nerdexam
Microsoft

70-432 · Question #57

You work in a Organization which is named Wiikigo Corp. The Organization uses SQL Server 2008. You are the administrator of the Organization database. Now you are in charge of a SQL Server 2008…

The correct answer is C. ON i.OrganizationName = s.OrganizationName COLLATE. See the full explanation below for the reasoning.

Question

You work in a Organization which is named Wiikigo Corp. The Organization uses SQL Server 2008. You are the administrator of the Organization database. Now you are in charge of a SQL Server 2008 instance. Look at the following query:

SELECT s., i. FROM SensitiveTbl AS s INNER JOIN InsensitiveTbl AS i ON i.OrganizationName = s.OrganizationName You use the above query to join two tables on a column named OrganizationName. The following error is returned when you execute the query. "Msg 468, Level 16, State 9, Line 17 Cannot resolve the collation conflict between 'SQL_Latin1_General_CP1_CS_AS' and 'SQL_Latin1_General_CP1_CI_AS' in the equal to operation." The ON clause of the query has to be modified so that it can perform a case-sensitive joinsuccessfully. What should you do?

Options

  • AON LOWER(i.OrganizationName) = LOWER(s.OrganizationName)
  • BON UPPER(i.OrganizationName) = UPPER(s.OrganizationName)
  • CON i.OrganizationName = s.OrganizationName COLLATE
  • DON i.OrganizationName = s.OrganizationName COLLATE

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    83% (19)
  • D
    9% (2)

Community Discussion

No community discussion yet for this question.

Full 70-432 Practice