Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Microsoft Developing AI-Enabled Database Solutions DP-800 Question # 7 Topic 1 Discussion

Microsoft Developing AI-Enabled Database Solutions DP-800 Question # 7 Topic 1 Discussion

DP-800 Exam Topic 1 Question 7 Discussion:
Question #: 7
Topic #: 1

You have a SQL database in Microsoft Fabric that contains a column named Payload. pay load stores customer data in JSON documents that have the following format.

DP-800 Question 7

Data analysis shows that some customers have subaddressing in their email address, for example, user1+promo@contoso.com.

You need to return a normalized email value that removes the subaddressing, for example, user! + promo@contoso.com must be normalized to userl@contoso.com.

Which Transact SQL expression should you use?


A.

REGEXP_REPLACE(JSON_VALUE(Payload, ' $.customer_email ' ), ' \+.*$ ' , ' ' )


B.

REGEXP_SUBSTR(JSON_VALUE(Payload, ' $.customer_email ' ), ' ^[^+]+@.*$ ' )


C.

REGEXP_REPLACE(JSON_VALUE(Payload, ' $.customer_email ' ), ' \+.*@ ' , ' @ ' )


D.

REGEXP_REPLACE(JSON_VALUE(Payload, ' $.customer_email ' ), ' \+.* ' , ' ' )


Get Premium DP-800 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.