Ken,
Thanks... this is my first crack at SQL and while I like what it can do, I really despise the lack of "real information" when an error occurs. Most of the time the error message (even in Navigator) is useless... missing a comma here or there, indicating that something is "invalid" when there's an issue upstream or downstream.
Would be nice if there was better syntax checking like in a high level programming language.
Greg
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken Killian
Sent: Thursday, October 30, 2014 8:14 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] Running SQL scripts
Greg,
Sadly no...
RDI Script is an Addition/Complementary to running SQL Scripts, not a "REPLACEMENT"...
<Big Frown>
I love the ability to test stored procedures from within RDi with the ability to debug! <smile>
But, at least it gives error feedback, although no highlighting. It has forced me to learn SQL Better. And when I get stuck, I OFTEN have to resort back to good old "Run SQL Scripts" inside of Navigator...
Except for testing stored procedures, I often use SquirrelSQL.org. Because it has bookmarks for commonly run SQL Statements that I run every day/Week. And it also remembers my last 100 SQL Statements. Which is very handy at times.
I really want to use Data Studio more... But, I guess it's navigation drive me personally nuts. Writing and running SQL Scripts should be a SIMPLE, not complicated. I guess I need to use it more myself...
In the Script Writer, you can press F5=Run Sql Script! Very nice! And you can highlight statement to run that single statement! Also very nice!
But, when I try to use the "SQL Query Builder" for a single SQL Statement. I cannot use F5 to run... <frown> Very frustrating. But, it has awesome Code Assist for Fields & Tables! And I can build sql statement visually, sort of...
Data Studio also does NOT have the Visual Explain or the Index Advisor. Once again you have to go back Navigator. Since IBM does NOT know how to use "Code Reuse" across their tool platform. <Big Frown>
So, sadly I only use Data-Studio for testing stored-Procedures. Any SQL I use SquirrelSQL.org or Navigator or good old Green Screen SQL... <disappointment>
RDi cannot NOT be beat for RPGLE development however!!! <Joy Joy>
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Greg Wilburn
Sent: Wednesday, October 29, 2014 3:56 PM
To: 'WDSCI-L@xxxxxxxxxxxx'
Subject: [WDSCI-L] Running SQL scripts
I've installed the Developer Studio and have been creating/editing SQL scripts (mostly creating views). I like this a bit better than simply running them through Navigator, but when a script fails it doesn't highlight the problem area like Navigator does.
Is there any way to change this?
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.