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, 4 months ago by  Forcetalks.
      MOHIT replied 6 years, 8 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 automation testing

    Salesforce Automation Testing: Best Practices to Follow

    Blog in Salesforce, Salesforce Tools

    Salesforce comes with multiple OOTB (out-of-the-box) features that are customizable. Just like any complex, integrated solution, quality assurance and testing are important for Salesforce. The configuration…

    APEX Programming Language, API Endpoints, Assure Click, Automation Testing, Automation Testing Segments
    Algoworks Jun 18, 2021
    3,283  Views
    Rest api

    REST API in Salesforce | The Ultimate Guide

    Blog in Salesforce Apex

    What is REST API?  REST stands for Representational State Transfer, which is a web architecture that uses HTTP protocols to access and manipulate resources. REST…

    API, Authentication, Benefits, Communication, CRUD
    bhawana May 10, 2023
    2,489  Views

    What does a Salesforce Professional Do? Exploring Salesforce Roles and Profiles

    Blog in Salesforce Career

    There are a number of articles and blogs out there discussing the demand, the salaries, or the need for certification for a Salesforce professional. But…

    Salesforce, Salesforce Admin, salesforce admin roles, salesforce developer roles, salesforce job roles
    Simplilearn May 1, 2019
    2,813  Views

    Popular Salesforce Videos

    Pardot vs Marketing Cloud: What's The Difference?

    Pardot vs Marketing Cloud: What's The Difference?

    Video in Salesforce Products, Salesforce Cloud Platform

    There are different functions of each Salesforce product according to the use cases. Many businesses get confused between Salesforce Pardot and Marketing cloud. Pardot is…

    Salesforce Training, Salesforce Tutorial, Lead Management, salesforce product, Salesforce Learning
    Cyntexa Dec 29, 2022
    1,689  Views
    Salesforce Lightning: Custom Theming and Branding

    Salesforce Lightning: Custom Theming and Branding

    Video in Lightning

    As part of myLightning, Custom Theming and Branding for Lightning Experience lets you customize key styling elements, such as the global header color, brand image,…

    Salesforce Lightning Experience, Salesforce Lightning Design System, How To Learn Salesforce Lightning, Lightning App Builder, Salesforce Lightning Page
    Nauman Feb 1, 2018
    3,041  Views
    Introduction to Programming | Live Salesforce Development

    Introduction to Programming | Live Salesforce Development

    Video in Salesforce Training, Salesforce Development

    Learn Salesforce development from start to finish for free. Want to take your Salesforce Knowledge to the next level? Want to learn advanced Salesforce admin,…

    Salesforce Development, Salesforce Consultant, salesforce knowledge, Salesforce Admin, Salesforce Developers
    Rupal Kakkar Aug 11, 2020
    1,568  Views

    Popular Salesforce Infographics

    Boost Sales and Marketing with Salesforce Einstein 1

    Infographic in Salesforce Apex, Salesforce Products

    Salesforce Einstein 1 is a suite of artificial intelligence (AI) tools designed to enhance business efficiency and decision-making. Around 80% of customers expect companies to…

    AI and Einstein, Salesforce, Einstein
    Fexle Services Jul 10, 2024
    1,136  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,742  Views
    Salesforce business

    Know 5 Reasons to Use Salesforce for Your Business

    Infographic in Salesforce Stories

    Salesforce is a customer relationship management (CRM) platform that can be used by businesses of all sizes to manage and analyze customer interactions and data.…

    Salesforce, Customer Relationship Management, Marketing Automation, business, CRM Platform
    Infodriven May 5, 2023
    2,068  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.