If you want to query like you do from STRSQL or the GUI tool.
On the connection name go to the properties page.
Next, click on the "Driver Properties".
Select the Optional tab.
Key this in the property input, "naming" (without quotes).
Key this in the value input, "system" (without quotes).
Here is a link to 7.1 JDBC properties you can set,
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_71/rzahh/jdbcpro
perties.htm
Thanks, Matt
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Krill,
Coy
Sent: Friday, February 06, 2015 12:17 PM
To: Rational Developer for IBM i / Websphere Development Studio Client
forSystem i & iSeries
Subject: Re: [WDSCI-L] Data Studio 4.1
Put the following above the rest of your script:
set schema <your schema name goes here>;
Coy Krill
Core Processing Administrator/Analyst
Washington Trust Bank
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Bruce
Collins
Sent: Friday, February 06, 2015 11:01
To: WDSCI-L@xxxxxxxxxxxx
Subject: [WDSCI-L] Data Studio 4.1
Importance: Low
Hey Guys! I have been using Data Studio 4.1 and think it is a great
product. I have a question I hope you guys can answer.
First, I create a Data Explorer Project and then create SQL and XQuery
Script. When I enter a select statement I have to qualify the table with
the schema. I know there should be a way put a default schema so I do
not have to do SCHEMA.TABLE.COLUMN. I think I am just too close to the
forest to see the trees.
Thanks in advance.
Bruce "Hoss" Collins
Wallace Community College
Director, MIS
1141 Wallace Drive
Dothan, AL 36303
Phone 334-556-2447
1-800-543-2426, Ext. 2447
bcollins@xxxxxxxxxxx
------------------------------------------------------------------------
---------------
This email has been scanned for email related threats and delivered
safely by Mimecast.
For more information please visit
http://www.mimecast.com
------------------------------------------------------------------------
---------------
--
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.
========================================================================
=============================
This electronic mail message and any attachments may contain
confidential or privileged information and is intended for use solely by
the above-referenced recipient. Any review, copying, printing,
disclosure, distribution, or other use by any other person or entity is
strictly prohibited under applicable law. If you are not the named
recipient, or believe you have received this message in error, please
immediately notify the sender by replying to this message and delete the
copy you received.
========================================================================
=============================
--
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.