Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › Email value is saved without parentheses (label) when using DML

    Tagged: Account, DML Operation, DML Statement, Email, Salesforce Apex, Salesforce SOQL

    • Salesforce® Discussions

      Email value is saved without parentheses (label) when using DML

      Posted by Himanshu on April 30, 2016 at 5:55 PM

      Email value is saved without parentheses (label) when using DML

      Abhinav replied 10 years, 4 months ago 2 Members · 1 Reply
      • Account
      • DML Operation
      • DML Statement
      • Email
      • Salesforce Apex
      • Salesforce SOQL
    • 1 Reply
    • Abhinav

      Member
      June 9, 2016 at 7:38 PM

      Hi Himanshu,

      Account acc = new Account(name = 'Test Email');
      insert acc;

      String email = 'testbill0@billing.com (any label)';
      Contact c = new Contact (lastName = 'Test', accountId = acc.id, email = email);
      insert c;

      Contact cDb = [
      SELECT
      id,
      accountId,
      name,
      email
      FROM Contact
      WHERE id = :c.id
      ][0];

      System.assertEquals(c.email, cDb.email);

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Salesforce Classic vs. Salesforce Lightning - Which Is Better

    Blog in Lightning, Salesforce

    There's really no denying that technology has taken huge leaps in the past decades. With the advent of app development reaching newer and higher levels…

    App Creation, app development, AppExchange Ecosystem, Applications, Better Security
    Apphienz Jun 16, 2021
    3,002  Views

    Case Study: Empowering Global Pharma Customer Support

    Blog in Salesforce

    Transformative impact of the Salesforce Service Cloud Call Center Solution on enhancing customer support across multiple countries within the pharmaceutical industry. The pharmaceutical industry operates…

    Business Process Transformation, Call Center Solution, Call Control Application, Case Management, Case Routing
    Triple Innovations Oct 5, 2023
    1,616  Views

    Why Salesforce Lightning is the Key to Unlocking Your Sales Potential

    Blog in Salesforce

    Salesforce is the world's leading customer relationship management (CRM) platform, enabling businesses to manage their customer interactions, streamline their operations, and increase their revenue. With…

    App Builder, Automation, Bolt Solutions, Business, Challenges
    Infodriven May 17, 2023
    1,447  Views

    Popular Salesforce Videos

    Email-to-Case Advance | Clean Case Comments

    Email-to-Case Advance | Clean Case Comments

    Video in Salesforce Products

    Save your support reps from ‘Click fatigue’ while hastening the resolution of customer cases. Get Email to Case Advance, the much-needed power booster for your…

    salesforce, email to case, support, cleancomments, grazitti
    Shubham Jul 23, 2019
    2,077  Views
    Salesforce QA Interview Guidance Program

    Salesforce QA Interview Guidance Program

    Video in Salesforce Training

    Do you want to learn what it takes to clear a Salesforce QA interview? In this video, Bava Dharani Ganesan gives a detailed explanation of…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Learning
    Tulika Wadhwani Oct 26, 2022
    1,673  Views
    Why Are Some of The World’s Biggest Brands Transitioning Towards Headless? | Salesforce

    Why Are Some of The World’s Biggest Brands Transitioning Towards Headless? | Salesforce

    Video in

    With the advancement of headless architecture, consumers can now enjoy an omnichannel shopping experience. But that's not all that headless commerce has to offer. Leading…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Webinar, Salesforce Learning
    Cyntexa Aug 31, 2022
    1,472  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.