We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab0cb5d commit 55b6091Copy full SHA for 55b6091
data-platform/core-converged-db/real-application-testing/sql-performance-analyzer/scripts-spa/create-spa-task.sql
@@ -0,0 +1,16 @@
1
+REM Script create-spa-task.sql
2
+REM Create a SQL Performance Analyzer task
3
+
4
+-- drop existing task if required
5
+-- execute dbms_sqlpa.drop_analysis_task(task_name => '&%taskname%');
6
7
+-- create task, add STS name and owner of the STS
8
+-- print task name
9
10
+set serveroutput on
11
+declare tname varchar2(100);
12
+begin
13
+ tname := dbms_sqlpa.create_analysis_task(sqlset_name => '&STSname', sqlset_owner=>'DWH_DATA');
14
+ dbms_output.put_line( 'task name: ' || tname);
15
+end;
16
+/
0 commit comments