14
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.

How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query

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.

Page 2: How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query

4. Once the project is created, right click on the project and select New->Data Object->Relational

Data Object.

Page 3: How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query

5. Browse to the MDMDB connection on the list of connections by clicking on Browse, select the

connection and click OK.

Page 4: How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query

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.

Page 5: How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query

7. Once connection and table is showing selected on the wizard as shown below, click finish.

Page 6: How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query

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.

Page 7: How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query

9. Provide a name to the mapping and click Finish as shown below:

Page 8: How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query

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.

Page 9: How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query
Page 10: How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query

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.

Page 11: How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query

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:

Page 12: How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query

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

Page 13: How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query

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.

Page 14: How to use Developer Client to Execute Queries on MDMDB to... · 11. Next, go to the source properties, select the query tab, select advanced radio button, check the custom query