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

    Salesforce Duplicate Management | The key to cut down the roots of duplicity

    Blog in Salesforce Tools

    Duplicity is the bane of any database.  On average, 40- 50% of a company’s data has duplicate copies spread all across the organization. These copies…

    Budget Saver Tool, Data Accuracy, Salesforce Classic, Salesforce Duplicate Management Tool, Salesforce Features
    LevelShift (formerly DemandBlue) Feb 6, 2020
    4,473  Views

    Read this before you perform your Salesforce Data Migration

    Blog in Salesforce Implementation

    Salesforce Data Migration — Imagine if you were traveling to an exotic new destination for the holidays. You want to make sure that everything is…

    Data Import Wizard, Data Migration, Salesforce Admin, Salesforce Data, Salesforce Data Backup
    LevelShift (formerly DemandBlue) Dec 10, 2018
    3,308  Views
    Salesforce Developer

    Steps to Become a Salesforce Developer

    Blog in Salesforce, Salesforce Training

    Salesforce development is a rapidly expanding IT career with a significant potential for outstanding payroll growth and industry recognition. It also enables a person to…

    APIs, Best Practices, Business Model, Certifications, Certified Salesforce Consultants
    Cymetrix Jul 13, 2021
    3,382  Views

    Popular Salesforce Videos

    Developer Preview Live - Release Readiness Live, Winter '22 | Salesforce

    Developer Preview Live - Release Readiness Live, Winter '22 | Salesforce

    Video in

    The Winter ’22 release is packed full of features to help developers solve key business problems fast. Join us to learn from Product Managers and…

    Salesforce Training, Salesforce Tutorial, salesforce, Apex, Salesforce Video
    Jogender Oct 4, 2021
    1,846  Views
    Is the Salesforce Marketing Cloud the Future For Business?

    Is the Salesforce Marketing Cloud the Future For Business?

    Video in Salesforce Automation

    As the market changes, one needs to keep up with the times. Companies are interested in Salesforce Marketing Cloud because it gives them a competitive…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Marketing Cloud, Salesforce Video
    Cyntexa Jan 12, 2023
    1,295  Views
    5 Facts You Didn't Know About Salesforce

    5 Facts You Didn't Know About Salesforce

    Video in Salesforce Stories

    In this video, we have tried to share some amazing facts about Salesforce, the world leader in CRM, that you didn't know about so that…

    Salesforce Integration, Salesforce Implementation, salesforce, salesforce knowledge, CRM
    Algoworks Sep 7, 2020
    2,134  Views

    Popular Salesforce Infographics

    Salesforce Buzz

    Salesforce Buzz | An Infographic

    Infographic in Salesforce Stories

    While Salesforce has been coined as the World's #1 CRM, there has been a constant buzz around the stats and facts of it. Almost 58%…

    Salesforce Cloud Platform, Salesforce Analytics, Salesforce, Salesforce Buzz, CRM
    CEPTES Jan 9, 2018
    3,342  Views

    Top Salesforce Trends For 2023

    Infographic in Salesforce Stories, Salesforce User

    When it comes to managing customer databases, Salesforce is leading the pack. Companies are increasingly relying on this powerful tool for its unrivalled flexibility and…

    Sales, Salesforce Consultant, CRM, Salesforce CRM, Salesforce Infographic
    Emorphis Jan 16, 2023
    2,432  Views
    data cleaning

    How Salesforce Admins Manage their Data?

    Infographic in Salesforce Admin

    No matter how long you’ve been working within Salesforce, it’s important to regularly evaluate the data management systems you have in place and review the…

    Salesforce Integration, Salesforce Data Management, Salesforce Tools, Salesforce Administrator, Data Practices
    Shiv Kumar Sharma Jan 11, 2018
    2,609  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.