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, 7 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

    FileMaker, Salesforce Integration - Get the Best of Both the Worlds

    Blog in Salesforce integration

    First things first, why do we need the integration at all? Direct integration between FileMaker and Salesforce allows developers to use the best capabilities of…

    API Name, App, AppleScript, Authenticate Salesforce, Businesses
    aQb Solutions Aug 24, 2021
    4,165  Views

    How to Get the Sales Team to Use Salesforce

    Blog in Sales, Salesforce

    Salesforce is a strategic tool for the growth and evolution of companies, but if it is not used to its maximum capability, it may lose…

    Business, Business Cards, Calendar Management, Centralization, Closing Sales
    SkyPlanner Apr 21, 2022
    2,679  Views
    Modernize your Business with Salesforce Applications

    Modernize your Business with Salesforce hasten Applications

    Blog in Salesforce Cloud Platform, Salesforce Consultant

    Salesforce is the world’s largest customer relationship management(CRM) tool provider which allows companies to connect with their customers in a completely new way. The CRM…

    Commerce Cloud Solution Partner, Features of Salesforce Commerce Cloud, Marketing Cloud Consultant, Sales Cloud Consultant, Salesforce Commerce Cloud
    Danish Apr 24, 2018
    3,181  Views

    Popular Salesforce Videos

    Salesforce Spring 22 Treasure Hunt for Flow | Migrate your Workflow Rules to Flows

    Salesforce Spring 22 Treasure Hunt for Flow | Migrate your Workflow Rules to Flows

    Video in Salesforce Stories

    Salesforce Spring 22 Treasure Hunt for Flow 0:00 Register for pre-release org 0:27 Flow Trigger Explorer 2:07 Auto-Layout and Freeform option as Picklist 3:00 Set…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Learning
    Jogender Dec 30, 2021
    1,895  Views
    Mocking Apex Tests: Salesforce Tutorial

    Mocking Apex Tests: Salesforce Tutorial

    Video in Salesforce Apex

    In this Video Leonardo Berardino talks about the following: Mocking Apex Tests and Apex Mock Examples Unit Tests x Integration Tests How to create unit…

    salesforce, Apex, Salesforce Tutorials, Learning, Apex Triggers
    GyanSys Apr 17, 2023
    1,403  Views
    Salesforce Integration Cloud - Connect Devices, Data and Customers

    Salesforce Integration Cloud - Connect Devices, Data and Customers

    Video in Salesforce Integration

    Salesforce Integration Cloud incorporates an arrangement of services and tools that make it simple for clients to surface their information paying little attention to where…

    Salesforce Integration, URL Mapping, Salesforce Data, Salesforce Commerce Cloud, User Experience
    Abhay Apr 19, 2018
    2,456  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.