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, 6 months ago by  Forcetalks.
      MOHIT replied 6 years, 9 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

    Using Salesforce Commerce Cloud for an Online Retail Business

    Blog in Salesforce Cloud Platform

    The e-commerce platform has completely transformed the way of shopping for people. What could be better than being able to scroll through the varieties and…

    Artificial Intelligence, Business Workflows, Certified Experts Salesforce Product, Commerce, Commerce Cloud
    360 Degree Mar 14, 2022
    2,798  Views
    Salesforce and HIPAA Compliance

    Introduction on Salesforce and HIPAA Compliance

    Blog in Salesforce

    HIPAA stands for ‘The Health Insurance Portability and Accountability. As per HIPAA, it was established in the year 1996 that all the data related to…

    API, Application, Business Associate, Cloud Data, Cloud Solutions
    SP Feb 21, 2022
    3,709  Views
    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,291  Views

    Popular Salesforce Videos

    When Salesforce is Down/Offline - Keep on Going With Zoho

    When Salesforce is Down/Offline - Keep on Going With Zoho

    Video in Salesforce Training

    Wtahc this video and learn how to keep your organization moving when Salesforce is DOWN or OFFLINE. Do let us know if you have any…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Learning, Organization
    Rupal Kakkar Aug 25, 2021
    3,669  Views
    LWC Interview Questions -1 ( Freshers)

    LWC Interview Questions -1 ( Freshers)

    Video in Salesforce Training

    In this video, Kumar Salesforce provides a list of LWC Interview Questions that may be helpful for those who are just starting out. Watch this…

    Salesforce Lightning, Salesforce Lightning Components, Salesforce Interview Questions, Store Lightning Web Components
    Rahul kapoor Oct 6, 2022
    3,300  Views
    Introduction to Creating and Using Salesforce Reports

    Introduction to Creating and Using Salesforce Reports

    Video in

    Every Salesforce user can benefit from working with Salesforce Reports. We often say that one of the best Salesforce features is that "...even mere mortals…

    Salesforce Training, Salesforce Reports, salesforce, Salesforce Video, Salesforce Features
    Pooja Mar 15, 2022
    3,313  Views

    Popular Salesforce Infographics

    What You’ll Get with the Salesforce MVP Infographic

    Infographic in Others

    We scanned the profiles of Salesforce MVPs, both past and present, searched high, low, near and far to provide insights into what it specifically takes…

    Salesforce Infographics, Infographics, Salesforce MVPs
    lavish Dec 2, 2019
    2,945  Views

    SaleForce Managed Services Benefits

    Infographic in Salesforce Consultant
    TechForce Nov 25, 2025
    286  Views
    salesforce pardot

    The Basics of Lead Nurturing [INFOGRAPHIC]

    Infographic in Sales, Pardot

    Qualifying leads no longer has to be a tedious task for your team. Lead nurturing campaigns automate the entire process for you. This means your…

    Salesforce Pardot, Sales, Salesforce, Pardot, Lead Nurturing
    Jogender Apr 22, 2020
    5,832  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.