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

    Selecting the Best Salesforce Partner: A Guide to Business Growth

    Blog in Salesforce

    One of the greatest strengths of a Salesforce Customer Relationship Management (CRM) system is its ability to be customized to meet the specific needs of…

    AppExchange Development, AppExchange Reviews, Business Optimization, Certified Partner, Expertise Evaluation
    Codleo Jul 29, 2024
    1,004  Views

    Guide to Salesforce Service Cloud Implementation

    Blog in Salesforce Cloud Platform

    In today’s fast-paced digital world, exceptional customer service can be the defining factor that sets businesses apart. Salesforce Service Cloud implementation offers a powerful solution…

    Dean Sep 5, 2025
    877  Views

    Salesforce CPQ Implementation and Consulting in 2024

    Blog in Salesforce

    Salesforce CPQ is a Quote-to-Cash solution that allows your business to automate your CPQ (configure, price, quote) and billing processes directly on the Salesforce platform.…

    Approval Processes, Automation, Business Management, Consulting, CPQ
    Infodriven May 3, 2024
    1,198  Views

    Popular Salesforce Videos

    Salesforce For Beginners | Introduction To Salesforce | Salesforce CRM Development Tutorials

    Salesforce For Beginners | Introduction To Salesforce | Salesforce CRM Development Tutorials

    Video in Salesforce Implementation, Salesforce Training

    In this video, BeginIT provides an introduction to Salesforce, including its difference from legacy CRM systems. And also, BeginIT explains the procedure to create an…

    Salesforce Training, salesforce, CRM, Salesforce CRM, Salesforce Tutorials
    Mayra Aug 23, 2022
    2,288  Views
    Salesforce Customer 360 for B2C Solutions

    Salesforce Customer 360 for B2C Solutions

    Video in Salesforce Stories

    Learn about Slalom's approach to creating integrated customer-focused experiences spanning B2C Commerce, Marketing Cloud, Service Cloud, Experience Cloud, and beyond. Watch this video by Salesforce…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Customer 360
    Prafull Jan 25, 2022
    4,197  Views
    How to Get Jobs or Work Outside India? | Salesforce Developer vs Cloud Professional

    How to Get Jobs or Work Outside India? | Salesforce Developer vs Cloud Professional

    Video in Salesforce Stories

    In this Video Shrey covered answers to the three questions which are: 1. How do you find a job in Salesforce as a fresher or…

    Salesforce Training, Salesforce Tutorial, Salesforce Developer, Salesforce Video, Salesforce Learning
    S2 Feb 1, 2022
    1,967  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.