Notifications
You currently have no notifications!
Search
Menu
Close Menu

How can we help you?

Tell us more about your query, we'd be happy to help.
Reference:
How did you hear about us?:
 *
 *
 *
IRP Shopper
Common Tasks (1)
Open
Interventions (1)
Open
Languages (1)
Open
Questions & Answers (1)
Open
Reviews (1)
Open
Site Scripts (1)
Open
Subscriptions (1)
Open
Web Services (1)
Open
IRP Freshdesk
Training Videos
Peer Support

SQL Editor

You can find this section under Programming Utilities > SQL Editor in the IRP Admin left navigation menu.

This section shares some functionality with the Reports section. You can use the SQL Editor to:

  • Add a Report
  • Edit a Report
  • Run a Report
  • Download Report Data
  • Run SQL

Reports allow you to pull information from your IRP database on any aspect of your IRP instance with a few exceptions for sensitive information such as passwords, card details, and so forth. You can create and run Reports within the IRP or export them as a delimited text file, which can then be opened with your spreadsheet software for formatting and further analysis. To create reports, you will require knowledge of the SQLprogramming language and an understanding of the structure of your IRP’s database.

If your Admin User account has DBA access, you will be able to create and run SQL scripts to pull data from the database quickly.

We strongly advise you speak to your Support Team with regards to setting up and editing Reports or running SQL scripts.

How To Guides (6)

Close
Close
How To Add a Report

To add a report, follow these steps:

  1. Go to Programming Utilities > SQL Editor in the IRP  left navigation menu.
  2. Scroll to the SQL Editor section and enter the following details:
    SettingDescription
    SQL The Microsoft SQL code for this report. You can enter the SQL query in the SQL Editor window. Depending on user preference, you may find it easier to create the query in an external editor and paste the finished query into the SQL Editor window once finished.
    Example query:
    The following SQL query will return the Model IDs for all Active Models in your IRP's database:
    SELECT ModelID
    FROM   Models
    WHERE  Active = 1
    Report Type
    TypeDescription
    Public This is the default Report Type. We advise that all reports, except email reports be set to this.
    Private As implied, this report type will be private.
    DeleteInsertUpdate Can be used to differentiate reports which use DELETE, INSERT or UPDATE commands. These reports can be created as Public if desired.
    Correction Can be used to differentiate reports which correct data. These reports can be created as Public if desired.
    Email Email Reports allow you to define a select set of email addresses to send a particular email to. More information on creating an Email Report can be found in the How To Add an Email Report article.
    System Can be used to differentiate reports which perform system related tasks. These reports can be created as Public if desired.
    TradeTalk Can be used to differentiate reports which perform TradeTalk tasks. These reports can be created as Public if desired.
    Report Title The title/name used to identify this Report within your IRP. We advise that titles include the area and the operation. For example, a report which will return all of the Model IDs for Active Models in your IRP's database could be called 'Models - All Active Models'.
    A report which will return all customers who have placed at least three orders with a minimum spend of at least £200 could be called 'Customers - who have placed at least 3 orders with min spend of £200'.
    Save As Report This must be checked to save the SQL query entered in the SQL section as a report. Otherwise the query will just run.
  3. Click the Run SQL button to run the SQL query.
    Any errors with the query will be highlighted at the top of the page:
    If the query is valid, it will run and the results will be displayed in the Report Results section once finished.
    If you have checked the Save As Report checkbox, this will also save the report.
  4. This report can now be selected from the drop down and run as described in the How To Run a Report article in this section.
Open
How To Edit a Report
Open
How To Download Report Data
Open
How To Run a Report
Open
How To Run a SQL Script
Open
How To Add an Email Report
Live Market Data
Today v Yesterday 0.16%
April 2024 v April 2023 9.21%
YTD 2024 v 2023 13.01%
Arts and Crafts 0.21%
Baby & Child 0.10%
Cars and Motorcycling 0.75%
Electrical & Commercial Equipment 0.23%
Fashion Clothing & Accessories 0.29%
Food & Drink 1.14%
Health and Wellbeing 2.76%
Kitchen & Home Appliances 0.45%
Pet Care 0.14%
Sports and Recreation 0.24%
Toys, Games & Collectables 0.04%

Copyright © 2023 IRP Commerce. Use of this website constitutes acceptance of the IRP World Acceptable Use Policy, IRP World Terms of Use, IRP Privacy Policy and IRP Cookie Policy

IRP Commerce Limited, Concourse 3, Catalyst, BT3 9DT, UK. Company Number: NI 041856. VAT Number: GB 888249658
A Deloitte Fast 50 Company eight times: 2010, 2011, 2012, 2013, 2014, 2018, 2019 & 2020