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 › 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 10 years, 3 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

    Popular Salesforce Blogs

    Salesforce Lightning Dialer

    Salesforce Lightning Dialer | Boost Sales productivity by making hassle-free calls

    Blog in Lightning, Salesforce

    In spite of the rapid and continuous advancement in the realms of communication with new platforms and new channels mushrooming all around us, telephones still…

    Calling Assistant, Inbound Calls, Lead and Contacts, Lightning Dialer, Lightning Experience
    LevelShift (formerly DemandBlue) May 5, 2020
    3,132  Views
    appexchange

    Building Apps Using Salesforce AppExchange

    Blog in AppExchange, Salesforce

    Introduction Salesforce AppExchange was launched in 2005. Salesforce AppExchange is an Online Store just like the 'Play store' in Android phones. It is the marketplace…

    App Features, App Licensing, App on AppExchange, App on the AppExchange Market, AppExchange Security Review
    Anuj Sep 7, 2020
    6,291  Views

    Learn All About Salesforce Managed Services vs In-house Team

    Blog in Salesforce Consultant

    The day-to-day operations of modern businesses depend on technology and cloud-based tools. With ever-changing IT needs and business configuration tools becoming more important, one small…

    Benefits of Salesforce, Business Analysts, Business Configuration Tools, Cloud-based Tools, Configurations
    AblyPro Oct 7, 2021
    4,527  Views

    Popular Salesforce Videos

    How to Create a Data Set in Salesforce Maps Territory Planning

    How to Create a Data Set in Salesforce Maps Territory Planning

    Video in Salesforce Products, Data, Salesforce Training

    Watch this video to learn how to create a data set in Salesforce Maps Territory Planning to plan efficient territories with a few clicks. Please…

    Salesforce Training, Salesforce Video, Salesforce Maps, Salesfofrce Learning, Create a Data Set
    Jogender Jun 4, 2021
    2,544  Views
    Which Salesforce Certifications are Really Important?

    Which Salesforce Certifications are Really Important?

    Video in Salesforce Certifications

    If you really want to know which Salesforce certifications are really important then this video is for you. If you have any doubts or concerns,…

    Salesforce Training, Salesforce Tutorial, Salesforce Certifications, Salesforce Jobs, salesforce
    Jogender Mar 3, 2022
    3,224  Views
    How to Start a Process with Parameters on UiPath Robots from Salesforce Interface

    How to Start a Process with Parameters on UiPath Robots from Salesforce Interface

    Video in Salesforce Apex, Salesforce Training

    How to start a process with parameters on UiPath Robots from the Salesforce interface. Watch this video and learn. Let us know in the comments…

    Salesforce Training, Salesforce Tutorial, REST, Apex, SFDC
    Cristian Nov 23, 2020
    1,794  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.