how to use developer client to execute queries on mdmdb to... · 11. next, go to the source...
TRANSCRIPT
How to use Developer Client to Execute Queries on MDMDB
1. Open Developer Client and Login to the MRS of the environment where the query needs to be
executed.
2. Once connected to the MRS, create a dummy project, by right clicking on the MRS and selecting
New->Project.
3. Name the project, and assign permissions to the users who need to have access to the project
on the wizard and finish creating the project.
4. Once the project is created, right click on the project and select New->Data Object->Relational
Data Object.
5. Browse to the MDMDB connection on the list of connections by clicking on Browse, select the
connection and click OK.
6. Next click on the second Browse button to select the resource/table. Note that this can be any
table from the connection as shown below. Also, make sure to uncheck the check box for “Show
default schema only” to see all schemas.
7. Once connection and table is showing selected on the wizard as shown below, click finish.
8. Once table is added to the dummy project as a physical data object, right click on the dummy
project, and select New->Mapping as shown below.
9. Provide a name to the mapping and click Finish as shown below:
10. Once the mapping is created it will open up on the Developer Canvas. Next, drag the newly
created physical data object into the mapping from the navigator as shown below.
11. Next, go to the source properties, select the query tab, select advanced radio button, check the
custom query check box and modify the query in the text box as shown below.
12. Next, click the Validate Query button as seen in the screenshot above. Click Yes once the
validation is complete as shown below.
13. Next, right click the object on the canvas and select run data viewer as shown below.
14. Next the data preview will show up on a window of the bottom half of the screen as shown:
15. Note that this data view by default only shows 1000 rows. If you want to view more data, Select
Window->Preferences.
16. Next, on the dialog, expand Informatica on the left navigator, go to run configurations-> data
viewer and select the results tab, and modify the “Show up to how many rows” setting from the
default of 1000 to whatever is desirable. Keep in mind that for wide tables, displaying more than
10-20K rows may fill up the buffer space of the developer and the developer may need to be
restarted. After changing the settings , click OK, go back to the mapping, save the mapping by
pressing CTRL+S. Now right click again on the source in the mapping canvas and click “Run data
preview”. This will re-run the query and display the updated number of records as selected in
the settings.
Repeat steps 11-16 to run different queries on the same database, and adjust row limits for the
results as needed. The data can be copied from the data preview windows by pressing CTRL+A
and right clicking and selecting copy and then pasting on to an excel sheet as shown below.