Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • 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
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • 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
    • Marketplace
    • Advertise With Us
    • 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 5 years, 7 months ago by  Forcetalks.
      MOHIT replied 5 years, 10 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

    application solution

    Popular Salesforce Blogs

    The Dynamics of Development: How Salesforce Developers Drive Innovation

    Blog in Salesforce

    In the ever-evolving landscape of customer relationship management (CRM), Salesforce has emerged as a powerhouse, empowering businesses to enhance customer engagement, streamline processes, and drive…

    Architecture, Business Goals, Business Growth, CODING, Collaboration
    Carol Dec 28, 2023
    1,521  Views

    Salesforce Admin or Salesforce Consultant?

    Blog in Salesforce Career

    Salesforce is a tool that can literally revolutionize your business. For salespeople, it’s a turbocharged tool that manages the entire process from lead to closed…

    Salesforce Admin, Salesforce Administrator, Salesforce Career, Salesforce Certifications, Salesforce Consultant
    Simplilearn May 2, 2019
    2,364  Views
    Online Community

    5 Reasons Why You Need an Customizable Idea Management Tool for Your Online Community | Salesforce

    Blog in Salesforce

    Innovation is universal; and so are ideas. As an organization, you never know when you’ll hear a great idea. In fact, no idea is insignificant.…

    Brand Loyalty, Business Benefits, Business Challenge, Business Ideas, Business Relationships
    Sukhwinder Singh Mar 21, 2022
    2,314  Views

    Popular Salesforce Videos

    How to Switch your Career from Being an HR or a Recruiter to a Salesforce Developer/QA or a BA

    How to Switch your Career from Being an HR or a Recruiter to a Salesforce Developer/QA or a BA

    Video in Salesforce Stories, Salesforce Training

    In this video, Shrey has answered one of the most frequently asked questions about how someone who is working in HR or as a Recruiter…

    Salesforce Training, Salesforce Jobs, Salesforce Certification, Salesforce Developer, Salesforce Video
    Prafull May 7, 2021
    2,552  Views
    How to Become a Salesforce Admin | 6-step Guide

    How to Become a Salesforce Admin | 6-step Guide

    Video in Salesforce Admin

    Salesforce administrators are the backbone of any company that uses Salesforce. They are responsible for maintaining the Salesforce platform to ensure it meets the needs…

    Salesforce Administrator, Certified Salesforce Admin, Salesforce Admin, Salesforce Administrator Preparation, Become A Salesforce Administrator
    ENWAY Sep 5, 2025
    46  Views
    Set Up a Microsoft Exchange Service Account to Sync with Salesforce (Using Command Shell)

    Set Up a Microsoft Exchange Service Account to Sync with Salesforce (Using Command Shell)

    Video in Salesforce Integration

    You can sync sales reps’ contacts and events between your Microsoft Exchange-based email and Salesforce using the Salesforce feature Lightning Sync. If you’re an Exchange…

    Salesforce Integration, Salesforce Lightning Experience, Salesforce Microsoft Integration, Microsoft Exchange Service Account Sync with Salesforce, Email Handling
    Jogender Feb 20, 2018
    4,906  Views

    Popular Salesforce Infographics

    Salesforce Service Cloud

    Salesforce Service Cloud for Better Customer Service

    Infographic in Salesforce Cloud Platform

    Service Cloud is classified as a customer support platform or customer relationship management (CRM) platform. It was designed to improve how businesses interact with their…

    Salesforce Service Cloud, CRM, Customer Relationship Management, Salesforce Infographic, Infographic
    Abhishek Jan 5, 2022
    2,859  Views
    Salesforce CPQ

    What is Salesforce CPQ or Configure, Price, Quote – [Infographic]

    Infographic in Salesforce Stories

    Enterprises are using various CPQ tools in order to enhance their business efficiency & revenue by engaging their sales reps in doing actual sales activities…

    Salesforce, Salesforce Infographics, Infographic, Salesforce CPQ, CPQ
    Pooja Mar 27, 2020
    3,295  Views
    How to deliver a great presentation

    How to Deliver a Great Presentation at Dreamforce? [Infographic]

    Infographic in Events, Dreamforce

    First of all, remember that attendees have paid good money to see you — so it's up to you to make sure they get what…

    Salesforce Events in 2018, Dreamforce, Salesforce Events, How to Deliver a Great Presentation?, Presentation Tips
    Jogender May 24, 2018
    3,583  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

    © 2025 - 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®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.