22
Accessing Data and Data Analysis
79
Using free-hand SQL
Editing a free-hand SQL script
To get different results from a free-hand SQL script that you have already run, all
you have to do is edit the script then re-run it. To do this:
1. Open the report containing data from the free-hand SQL script, then click Edit
Data Provider on the Data menu.
The Free-Hand SQL dialog box appears.
2. Make the changes to the script. As you work, you can:
• Click Parse to check for SQL errors.
• Click View to see the raw data that the script retrieves.
• Click Save to save the changes you make.
3. Click Run.
BusinessObjects retrieves the new data and displays it in the report.
Creating or editing a connection for free-hand SQL
To retrieve data using free-hand SQL, you need to define a connection to your
database in BusinessObjects. This is not the case when you run queries on
universes because the required connection is stored in the universe.
X Using the free-hand SQL editor to create and edit connections
You create and edit connections for free-hand SQL in the free-hand SQL editor.
Save