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

    Send Salesforce Data on Google Drive via WebMerge

    Send Salesforce Data on Google Drive via WebMerge

    Blog in Data, Salesforce integration

    Here in this blog, we are using Salesforce Record data to be saved to Google Drive via WebMerge Document. Please follow the below steps for…

    Data Access, Data Migration from Salesforce, Data Processing in Salesforce, Export as PDF, Google Drive
    PRANAV Feb 13, 2018
    4,118  Views
    Salesforce Predictions

    6 Salesforce Predictions to Transform Your 2023 Business Outlook

    Blog in Salesforce

    Businesses have been leveraging the benefits of CRM platforms for decades now.  And when we talk about CRM, Salesforce tops the chart! It comes with…

    Applications, Building Customer Relationships, Business Challenges, Business Environment, Business Operations
    Grazitti Feb 23, 2023
    1,827  Views
    How MuleSoft Consulting Transformed Salesforce into a Unified 360° Customer Experience Platform

    How MuleSoft Consulting Transformed Salesforce into a Unified 360° Customer Experience Platform

    Blog in Salesforce

    Most enterprises run on hundreds of disconnected applications. Recent research shows the average organization now uses close to 900 separate applications, and nearly half report…

    MuleSoft Consulting Services, MuleSoft Integration Services
    James Jul 8, 2026
    706  Views

    Popular Salesforce Videos

    How to Connect Salesforce Billing Payment Gateways (COMPILATION)

    How to Connect Salesforce Billing Payment Gateways (COMPILATION)

    Video in Salesforce Training

    In this compilation, we’ll show you what you need to know about using your preferred payment gateway with Salesforce Billing + CPQ - like how…

    Salesforce Training, Salesforce Tutorial, salesforce, CPQ, Salesforce Video
    Pooja Jun 14, 2022
    1,938  Views
    Salesforce Summer ’22 Release | Flow Enhancement of Summer 22 Release with Example

    Salesforce Summer ’22 Release | Flow Enhancement of Summer 22 Release with Example

    Video in Salesforce Stories

    Exceed your business goals with the Summer ’22 release by seamlessly integrating your data, finding meaningful insights, and building lifelong customer relationships. How to Use…

    Salesforce Training, salesforce, Salesforce Video, Salesforce Learning, Release Notes
    Rupal Kakkar May 13, 2022
    1,862  Views
    Introduction to Salesforce and Data Modeling | Quick Start | Episode 1

    Introduction to Salesforce and Data Modeling | Quick Start | Episode 1

    Video in Data, Salesforce Training

    In this video, you will get started with Salesforce Development and build Salesforce Applications without writing code. Watch this video and learn. 00:00:00 - Start…

    Salesforce Tutorial, Salesforce Development, salesforce, Salesforce Apps, Cloud Computing
    Prafull Jul 13, 2021
    2,169  Views

    Popular Salesforce Infographics

    data migration

    Salesforce Data Migration Launch Plan Infographic

    Infographic in Data

    Discover the essential steps to successfully migrate your data to Salesforce with our comprehensive infographic. Our 10-step countdown will guide you through the process of…

    Salesforce Migration, Salesforce Data Migration, Salesforce Infographic, Infographic, data
    Ryan Apr 24, 2023
    2,465  Views
    salesforce migration

    5 Advantages of Using The Salesforce Data Migration Tool in Your Organization

    Infographic in Data, Salesforce CRM

    Advantages Of Using The Salesforce CRM Data Migration Services In Your Company are: Fast migration process Repetitive deployment Suitable for both novice and advanced Salesforce…

    Salesforce, CRM, Salesforce CRM, Data Migration, Salesforce Data Migration
    Chloe Sep 2, 2022
    3,501  Views
    Salesforce CPQ managed services

    What are the Benefits of Salesforce CPQ Managed Services?

    Infographic in Salesforce Consultant

    There are a few benefits of Salesforce CPQ Managed Services that can help organizations maximize their growth and profit margins. Prediction of cost - Salesforce…

    Salesforce Consultant, Salesforce, Salesforce Infographic, business, Salesforce CPQ
    AblyPro Oct 27, 2021
    2,709  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.