Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Data Connectivity
Message Icon Topic: Changing Oracle Schema Name in SQL Post Reply Post New Topic
Author Message
Ghauri
Newbie
Newbie
Avatar

Joined: 27 Nov 2007
Location: Pakistan
Online Status: Offline
Posts: 13
Quote Ghauri Replybullet Topic: Changing Oracle Schema Name in SQL
    Posted: 10 Dec 2007 at 2:46am
I created a report on Oracle Database using JDBC connection.

I created on a schema say USER1. When I run report and See View SQL it show the query For Instance:

SELECT TAB1.C1, TAB1.C2
 FROM USER1.TAB1


Now I want this report to be run on another schema say USER2 that is structurally alike on the same database instance (SID),and Same Host.
For this I tried the following tricks to change the SQL like below.

SELECT TAB1.C1, TAB1.C2
 FROM USER2.TAB1

1. I log off and again Log on with the USER2 username and its password.
But when I View SQL its unaltered :-(


2. I created a new JDBC Connection and logged in with USER2, but
when I View SQL its unaltered :-( :-@

How can I recompile/update/change the SQL schema alias????

Thanks in Advance
Thanks & Regards,
Ghauri
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.