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"

  • March 4, 2022
  • 2 replies
  • 46 views

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
  • Safer
  • 359 replies
  • March 4, 2022

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
  • 3 replies
  • March 4, 2022

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