× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
nileshhmali reported 2014-11-06T05:23:12Z  · tariqrahiman last modified 2014-11-10T19:07:35Z

Teradata-15.0:For Execute Parameter "Script object to new window as/File as" options are not working.


Priority Low
Complexity Unknown
Component Script Object
Version 16.0
ADS version-ADS-16.0.0-dev-28
 
For Teradata Macros, Script Object to New Window -> Execute, is creating the script in an already open query analyzer window. ADS is not opening a new window for the script.
 
To reproduce:
 
Connect Teradata-15.0
//Create table
 
CREATE SET TABLE "test_company" ,
NO FALLBACK,
LOG,
NO BEFORE JOURNAL,
WITH JOURNAL TABLE = "sqlscript"."journals",
DEFAULT MERGEBLOCKRATIO,
CHECKSUM = HIGH ( 
"empid"    BIGINT NOT NULL DEFAULT 75,
"c_name"   VARCHAR(100) UPPERCASE CHARACTER SET LATIN NOT NULL DEFAULT 'DIMENTRIX',
"phnumber" INTEGER NOT NULL DEFAULT 60,
CONSTRAINT "c_name" PRIMARY KEY("c_name")
)
GO
 
//Create Macros using above table,
 
CREATE MACRO "sqlscript"."test_macros" (param1 bigint)
AS
(
SELECT empid,c_name,phnumber FROM sqlscript.test_company WHERE empid = :param1;
);
GO
 
Expand database node
Expand Macros node
Right click on "sqlscript"."test_macros" and select Script object to new window as/File as->Select 'EXECUTE' Parameter.
 
Here you will observe that,Execute script generated on current Query Analyzer.
 
Here,Execute script should be generated on new Query Analyzer.
1 attachment

Issue #12664

Closed
Fixed
Resolved 2014-11-07T19:18:54Z
 
 
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