Skip to main content
Question

How to run exec and grant command in fme like "exec dbms_stats.gather_table_stats(‘Schema_name’, ‘Table_name’)" and "GRANT SELECT ON table_Name TO public"


How to run exec and grant command in fme like "exec dbms_stats.gather_table_stats(‘Schema_name’, ‘Table_name’)" and "GRANT SELECT ON table_Name TO public"

2 replies

rahulsharma
Safer
Forum|alt.badge.img+10

Hi @rohit​ 

Have you tried running the SQLStatement using SQLCreator or SQLExecutor transformers?

Here is an article The SQLCreator and SQLExecutor Transformers that will be a good start.

 


  • Author
  • March 4, 2022
rahulsharma wrote:

Hi @rohit​ 

Have you tried running the SQLStatement using SQLCreator or SQLExecutor transformers?

Here is an article The SQLCreator and SQLExecutor Transformers that will be a good start.

 

yes, it ran successfully but didnot make any stats or even grant to public


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings