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 › Why generic data type is not used to store data on some specific object in Salesforce?

    Tagged: Account Data Type, Account Object, Generic Data Type, sObject, Specific Object

    • Salesforce® Discussions

      Why generic data type is not used to store data on some specific object in Salesforce?

      Posted by MOHIT on January 20, 2020 at 10:47 AM

      Sobject is a generic data type. But if we insert some value in the account object through apex, by using Sobject as data type in place of account data type, we get an error message. why we cannot use sObject in place of any object name?

      eg.

      sObject add= new Account (name='ram');  //it shows error

      Account add=new Account (name='ram'); // this line  executed.

      • This discussion was modified 6 years, 3 months ago by  Forcetalks.
      MOHIT replied 6 years, 7 months ago 1 Member · 0 Replies
      • Account Data Type
      • Account Object
      • Generic Data Type
      • sObject
      • Specific Object
    • 0 Replies

    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

    What is Salesforce Einstein Analytics, Benefits, and How does it Work?

    Blog in Salesforce Einstein

    Salesforce Einstein Analytics, a revolutionary tool in the Salesforce ecosystem, has transformed the way businesses analyse and interpret data. With a focus on providing actionable insights, Einstein…

    Artificial Intelligence, Benefits of Salesforce Einstein Analytics, Common Misconceptions, Data Analytics, Data Analytics Capabilities
    Infodriven Jan 2, 2024
    1,852  Views

    How to Automate Salesforce Call Logging to Save Time and Increase Productivity

    Blog in Others

    Calls are one of the most significant tasks of sales reps. All the emails that you send and all the social outreach you do is…

    Customer Relationship Management, Macros Feature, Sales Funnel, Salesforce Automation, Salesforce Call Log
    LevelShift (formerly DemandBlue) Oct 4, 2019
    7,975  Views

    ANT Script For Data Migration

    Blog in Others

    ANT Script for Meta Data Migration : It is a command-line script which is based on java and is used to migrate metadata between two…

    Force.com Migration, Force.com Migration Tool, Installing Force.com, Salesforce Data Migration
    Ajit Apr 28, 2016
    6,957  Views

    Popular Salesforce Videos

    Embedding Salesforce Einstein Predictions in Tableau with Tomasz Bacewicz

    Embedding Salesforce Einstein Predictions in Tableau with Tomasz Bacewicz

    Video in Salesforce Einstein

    Get the most out of Salesforce Einstein Discovery and Tableau by embedding Predictions directly in your Dashboards! Learn how from a pro. Watch this video…

    Salesforce Training, Salesforce Einstein, Salesforce Einstein Discovery, Salesforce Video, Tableau
    Abhishek Sep 3, 2020
    2,005  Views
    Dreamforce 2021 FAQs

    Dreamforce 2021 FAQs

    Video in Salesforce Stories

    As the fall continues to approach, questions around Dreamforce 2021 continue to increase and that's why we've gone ahead and answered all the FAQs around…

    dreamforce, Salesforce Video, Salesforce Learning, Pandemic, Dreamforce 2021
    Algoworks Sep 22, 2021
    1,443  Views
    How to Become a Salesforce Developer? No Programming Experience Needed

    How to Become a Salesforce Developer? No Programming Experience Needed

    Video in Salesforce Stories, Salesforce Admin

    Salesforce Developer has once again been named one of the world's best jobs. In a list of 25 job roles, Salesforce was the only company…

    Salesforce Training, Salesforce Tutorial, Salesforce Jobs, Salesforce Developer, salesforce
    Nauman May 27, 2021
    1,679  Views

    Popular Salesforce Infographics

    5 Essential Skills for Salesforce Developers

    Infographic in Salesforce User

    Calling all aspiring Salesforce developers! Conquer the platform with these 5 must-have skills: ✅ Expertise ✅ Coding chops ✅ Problem-solving power ✅ Teamwork & communication…

    Salesforce, Salesforce Developer, salesforce developer skills
    William Jan 30, 2024
    1,970  Views

    Success With Salesforce For Full Cycle Reps

    Infographic in

    I am presenting this infographic to help full cycle sales reps get the most out of salesforce and their Sales Engagement platform.

    Salesforce Sales Cloud, Sales Reps, Sales, Customer Success, Business Success
    Jogender May 5, 2018
    2,857  Views

    Streamlining the Sales Process with Salesforce CPQ

    Infographic in Salesforce Products

    Implementing Salesforce CPQ offers numerous business advantages, such as automating tasks, including sales quotations and price determination. Businesses that use Salesforce CPQ can expect increased…

    Salesforce, Salesforce CPQ
    Fexle Services Jul 8, 2024
    890  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.