Running SQL Queries using the SQL Console


In this article, we will describe how to run SQL queries using the DNN SQL Console feature. 

The SQL Console feature allows an administrator to run SQL queries using the persona bar without having to use an external tool such as SSMS.  

Note: This is an advanced feature that could cause damage to the Database structure if not used properly; If you are not proficient in SQL, avoid using it.  

Step-By-Step Guide

  1. Open the Persona bar
  2. Navigate to Settings -> Site Settings -> SQL Console

  3. Write the desired Query.
    In the example below the query used was "Select * from portals".

  4. Click on the Run Script button. The output will be displayed at the bottom of the page. 
  5. If you want to export the output, click on the Export button.


Related links 




Please sign in to leave a comment.