Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • 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
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • 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
    • Marketplace
    • Advertise With Us
    • 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 9 years, 9 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

    application solution

    Popular Salesforce Blogs

    small business

    8 Advantages of Using Salesforce For Small Businesses and Startups

    Blog in Salesforce

    Salesforce is one of the most powerful cloud-based CRM platforms. A robust yet efficient CRM system – one that meets all the field-specific needs of…

    Business Apps, Business Environment, Buying Process, Certified Salesforce Professionals, Client Records
    Melonleaf Aug 11, 2022
    3,036  Views
    Salesforce Jira Integration

    Powering Real-Time Two-Way Synchronization Between Salesforce and Jira

    Blog in Salesforce

    In today’s business environment, efficient data management is crucial for any successful company, and CRM systems have become essential tools among businesses of all sizes.…

    Business, Business Environment, Business Processes, Collaboration Tool, Communication
    Grazitti Mar 29, 2022
    1,670  Views

    Asset Management for Private Equity in Salesforce

    Blog in Salesforce

    The demand for private equity organizations for asset management has increased a lot over the years. There is a massive increase of assets to be…

    Asset Management, Asset Management Platform, Automate Process, Business Models, Business Needs
    360 Degree Dec 15, 2021
    3,380  Views

    Popular Salesforce Videos

    Integrate Salesforce with Amazon S3

    Integrate Salesforce with Amazon S3

    Video in Salesforce Integration

    Dear #Trailblazers, In this video, we are going to learn how to connect #Salesforce with #Amazon S3. We are going to use Named Credentials which…

    Salesforce Training, Salesforce Integration, salesforce, Salesforce Video, Salesforce Learning
    Jogender May 27, 2020
    1,659  Views
    Build Lightning Components with Salesforce DX

    Build Lightning Components with Salesforce DX

    Video in Lightning

    Learn how to get started with building Lightning Components, the Salesforce DX way. We'll leverage Base Components, Lightning Data Service, Salesforce CLI, Scratch Orgs, Salesforce…

    Salesforce Lightning, Salesforce Lightning Experience, Salesforce DX, Lightning App Builder, Building Lightning Components in Salesforce
    Portia May 8, 2018
    2,566  Views
    Top 3 Reasons to Use Salesforce Checkout

    Top 3 Reasons to Use Salesforce Checkout

    Video in Salesforce Products

    Watch this video to understand your Salesforce contract information, make payments, and add additional licenses with Salesforce Checkout. This video discusses about the top 3…

    Salesforce Training, salesforce, Salesforce Video, salesforce product, Salesforce Checkout
    Rupal Kakkar May 6, 2020
    1,454  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®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.