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 › Dynamic SOQL Queries and Managed Namespaces

    Tagged: Account, Dynamic Query, Namespace, Salesforce Apex, Salesforce Query, Salesforce SOQL, SOQL

    • Salesforce® Discussions

      Dynamic SOQL Queries and Managed Namespaces

      Posted by Piyush on April 30, 2016 at 6:27 PM

      If I create a dynamic SOQL query (via strings, to be used with Database.query) in an unmanaged code environment, and then the code is converted to a managed environment, are namespace considerations taken into account? Or do I need to ensure I've prefixed my managed object names with the namespace of the managed package while assembling the dynamic SOQL query.

      Pramod replied 9 years, 8 months ago 2 Members · 1 Reply
      • Account
      • Dynamic Query
      • Namespace
      • Salesforce Apex
      • Salesforce Query
      • Salesforce SOQL
      • SOQL
    • 1 Reply
    • Pramod

      Member
      May 11, 2016 at 11:10 AM

      You don't need to explicitly consider the package namespace in the dynamic queries, Salesforce itself prefixed the object names with the Namespace of managed package in the Dynamic SOQL.

       

    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

    territory Management

    Salesforce Territory Management: Overview, Features, Pros and Cons

    Blog in Salesforce, Salesforce Products

    If being territorial can help your business, why not adopt it?  Well, just the way being territorial can help you have a clear vision of…

    Assignment Rules For Territories, Balanced Workloads, Better Conversations, Business, Business Performance
    SP Jun 21, 2021
    7,718  Views
    Top 10 Highlights of Dreamforce 2019

    Top 10 Highlights of Dreamforce 2019

    Blog in Others

    Hi, all Salesforce lovers!  I know that every one of you would have wanted to be part of the Dreamforce ’19, the event of all…

    Customer Engagement, Customer Service, Dreamforce 2019, Dreamforce Highlights, Dreamforce highlights 2019
    DemandBlue Dec 12, 2019
    3,177  Views
    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
    3,801  Views

    Popular Salesforce Videos

    Non-technical But Want to Build Career in Salesforce?

    Non-technical But Want to Build Career in Salesforce?

    Video in Salesforce Stories

    In this video Shrey gave the answer to the following questions: 1. What is the next step after doing Certification in Salesforce Administrator? 2. How…

    Salesforce Training, Salesforce Tutorial, Salesforce Certification, Salesforce Administrator, salesforce
    Rupal Kakkar Oct 5, 2021
    2,091  Views
    Integer Datatype | Primitive Datatypes in Apex | Salesforce Development Tutorials

    Integer Datatype | Primitive Datatypes in Apex | Salesforce Development Tutorials

    Video in Salesforce Apex

    Shrey covered the following questions in this video: What are the different types of Datatype? What are Primitive Datatypes? What is the Long datatype? What…

    Salesforce Training, Salesforce Tutorial, Salesforce Development, Salesforce Apex, salesforce
    S2 May 2, 2022
    1,666  Views
    Salesforce - What is customer service?

    Salesforce - What is customer service?

    Video in Salesforce Stories

    Believe it or not, your customers’ needs are also your business’s needs. Great customer service ensures customers are so happy, they’ll come back for more…

    Salesforce Training, salesforce, Salesforce Video, customer service, Salesforce Learning
    Nauman Jan 8, 2021
    1,924  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®.

    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.