Generate a CRUD MATRIX to Review CRUD Operations - Visual Expert Desktop

Visual Expert can generate a CRUD matrix - to analyze CRUD operations in your code (Create, Read, Update, Delete). 

As a result, you can see which table is accessed by which objects (procedures, functions, etc.) with the type of access for each object:

List the components accessing tables or columns

Why use a CRUD matrix?

  1. Data Impact Analysis
    Visualize how your application interacts with the database. Assess the potential impact of changes on data operations, whether they involve creating, reading, updating, or deleting data.
  2. Optimized Database Management
    Identify overused or underused database elements, ensuring efficient data flow and performance optimization.
  3. Improved Code Maintenance
    Map database operations directly to code components, making it easier to track and troubleshoot any code that interacts with the database.
  4. Compliance & Auditing
    Gain a clear view of how sensitive data is manipulated, ensuring adherence to data management policies and simplifying audits.

 

Try Visual Expert

Download Visual Expert Free Trial to Analyze your Oracle, PowerBuilder or SQL Server Code
and automatically generate a CRUD Matrix.


Download

 

How to Generate a CRUD Matrix?

  1. Open your Visual expert project.
  2. You have several options to create a CRUD matrix:
    1. Select Tables, Columns or Table synonyms to show which objects are using them.
      Create CRUD Matrix
    2. Select objects (functions, procedures, etc.) to show which tables they are using:
      Select functions or procedures for CRUD Matrix
    3. Select views to show which tables they are using:
      The CRUD Matrix will also show which objects are using the selected views.
      In the matrix, Views may appear with both callers (lines) and callees (columns).
      Select views to map tables in CRUD Matrix
  3. Next, click on "CRUD Matrix" in the navigation bar.
    Generate a CRUD matrix in Visual Expert
  4. A message confirms that the operation has been completed successfully.
    Click ‘Open’ to access the CRUD matrix.
    Access the CRUD matrix in Visual Expert
  5. The CRUD matrix opens in Excel. You can edit, share, print it as you like.
    Generate a CRUD matrix to analyze CRUD operations

In this example, Views were selected before generating the CRUD matrix.
They are listed as both callers and callees:

CRUD Matrix Showing Callers and Callees

 

Video Tutorial for Generating CRUD Matrix

 

See Also

PowerBuilder, Oracle, SQL Server, Code Exploration, Cross References