× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
jenseickmeier reported 2017-09-08T09:54:41Z  · tomconrad last modified 2018-01-18T23:55:47Z

Execute PL/SQL for Oracle Statements


customer request
Dev
Thomas Conrad
tomconrad
QA
Priority Minor
Complexity Unknown
Component Editor
Version 18.0

Hi,

I want to execute a small script in AquaDataStudio:

 

DECLARE

    var1 integer;
BEGIN
 
      SELECT max(eignr) into var1 FROM eigen;
      IF var1 IS NULL
      THEN
        var1 := 0;
      END IF;
      var1 := var1 +1;
      DBMS_UTILITY.EXEC_DDL_STATEMENT('CREATE SEQUENCE eicki_seq start with '|| var1 ||' increment by 1 minvalue 1 nomaxvalue nocache nocycle noorder');
      
END;
/
 
The script works fine in other applications. How can I execute this script in ADS?
Strg-E ends with 7 errors like this:
 
  >[Fehler] Skriptzeilen: 1-1 -------------------------
 ORA-06550: Zeile 1, Spalte 20:
PLS-00103: Fand das Symbol "end-of-file" als eines der folgenden erwartet wurde:
 
Can you help?
 
Regards,
Jens
1 attachment

Issue #15461

Closed
Fixed
Resolved 2017-09-08T22:07:08Z
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017