Can I change the default schema from "sql"
I wish to switch between several sets of identical tables under different schemas/owners in the same database - say dev1, dev2, test, prod schemas.
The (single) user I connect with (say - called Reader1) has granted select to all these tables, and now i wish to do something like:
alter session set schema='dev1'
select count(*) from customers
select count(*) from sales
alter session set schema='test'
select count(*) from customers
select count(*) from sales
The database should then translate it to something like:
select count(*) from dev1.customers
select count(*) from dev1.sales
select count(*) from prod.customers
select count(*) from prod.sales
Is this possible or does anyone have alternative suggestions ?
This sure sounds like what "private synonyms" are supposed to be used for...
-- User Reader1 needs the system privilege "create synonym"
-- to create private synonyms
create synonym flex_customers for dev1.customers ;
create synonym flex_sales for dev1.sales ;
select count(*) from flex_customers ;
select count(*) from flex_sales ;
drop synonym flex_customers ;
drop synonym flex_sales ;
create synonym flex_customers for test.customers ;
create synonym flex_sales for test.sales ;
select count(*) from flex_customers ;
select count(*) from flex_sales ;
drop synonym flex_customers ;
drop synonym flex_sales ;
Hope that helps,
Stan
Similar Messages
-
Can I change the default font from arial to calibri?
I'd like to change the default font in pages - how can I do this?
Open a Blank Word Processing template > Menu > View > Show Styles Drawer > change all the samples of text styles using any old text to Calibri > Save as Template
Menu > Pages > Preferences > General Preferences > For New Documents > Use template: navigate to and open your template
Peter -
How can I change the default account from which I send mail
Currently I have 2 email addresses/accounts. When I send an email, the older address appears as the "from" address, if I don't remember to change to the newer one. How can I make the newer address appear as the default "from" address?
# Press '''Alt''' or '''F10''' to see the menu bar
# Click on the '''Tools''' >> '''Account Settings'''
# At left, select the second account
# At the bottom left, click on the '''Account Actions''' button, then select '''Set as default''' -
Hello , it's me again with the second hand iPhone. I am trying to sync it to my computer and after buying some apps I thought it would be easy. Anyway, when I go through the process it always comes up with the previous owners ID and will not let me sync to my computer. Can you give me guidence so that I can move on to the next stage of Hi Tech products.
It will restore it as it was when it was new.
You can then set it up as your own.
iPhone User Guide (For iOS 5.0 Software) -
How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks
http://support.apple.com/kb/ht5621
-
Question
When I opt to "download this as a file" from my email account, Firefox defaults to notepad to open the file. How can I change the default to MS Word?Is FF downloading the file as a .txt file? If so, go to "Folder Options" in the windows control panel. Click on the "File Types" tab. Scroll down until you reach the TXT file extension. Look to see what that extension opens with (lower part of panel). It probably shows notepad. Click on the <Change> button. Scroll down until you find "Microsoft Word." Select it and click the <OK> button. That should show the TXT extension is now associated with Microsoft Word. Click the <Close> button at the bottom of the panel.
If FF is downloading the file as any other type, use the same process as above except look for the corresponding extension instead. If the extension is not listed click on the <New> button and create an association using the extension in the file name and then associate it with MS Word.
davewdan -
How can I change the default email account from which my messages go, without having to change it each time I draft a message? It currently assumes an email account that I rarely use. Thanks.
sorry, but I can't find the mail preference in the latest Yosemite OS. Do you know where I can find it?
Thank you
Don -
How can I change the default Google search engine in Firefox 8 from google.fr to google.co.uk? Yes, I live in France with a French ISP, but English is my mother tongue and I want UK based responses.
I'm using XP Pro.You can find search engines on the Mycroft Project website.
* http://mycroft.mozdev.org/
* http://mycroft.mozdev.org/google-search-plugins.html -
How can I change the default pdf reader from the installed (but not yet registered) Adobe Acrobat 9 Pro to Adobe Reader XI? I'm having some hiccups getting Adobe to register the software, but since I set it as the default .pdf reader during setup, things try (and fail) to open in the as yet unregistered software. How can I change it temporariiy to the Acrobat Reader XI that I have installed?
Anubha,
It worked! Thank you so much.
I'd opened file with the 'Open with' feature then clicking Adobe Reader,
but that didn't do it. When I used 'Open with', then 'Choose default
program...', it worked like a charm.
Again, thank you!
Jonathan
On Wed, Mar 18, 2015 at 10:16 PM, Anubha Goel <[email protected]> -
Can I change the default 'File Type' for PL/SQL Source File to '*.prc' ?
Want to change the 'default' extension for PL/SQL source to '*.prc'
When navigating 'File' / 'Save As', and selecting the 'File Type' list box,
The default 'File Type' for PL/SQL Source File is '*.pls'.
Can I change the default 'File Type' for PL/SQL Source File to '*.prc' ?
I have followed , 'Tools', 'Preferences' , 'File Types' and added '.prc' as 'Sql Script' file type, because (PL/SQL Source) is not present in the list.You can certainly overwrite the 'Save As' extension as you are saving the file. I have added an ER for more control over this functionality.
sue -
How can I change the default setting for downloading photos from email?
How can I change the default setting for downloading photos from emails I receive? It shows the default as Photoshop Elements 4.0 and is not supported by this system. That was my last computer!!
Thanks,
SheilaThat has nothing to do with styles nor Pages, it is a System/Printer Driver setting.
You can experiment to see if the Printer Settings stick with your document, but in the past this has not worked.
Peter -
How can I change the default templates to from A4 to Letter US?
Hi,
I live in Québec, the french part of Canada. Because I use French, iWork think I leave in France, so the default templates are in A4.
How can I change the default templates to from A4 to Letter US? It seem's impossible. In Pages 06, each language folder had templates. But with Pages 08, it's different.
Please help.Autre façon : Ouvre un nouveau document. Il va être en A4. Dans le menu Fichier--->Format d'impression. Une fenêtre apparaît. Dans la ligne... Taille du papier, tu choisis... Lettre US; tu fais OK. Ensuite tu sauves ce document comme modèle. Menu Fichier----> Enregistrer comme modèle et tu lui donnes le nom, par exemple... USLettre.
Ensuite, va dans le menu Pages, va dans préférences et dans la fenêtre qui s'ouvre - Préférences générales - tu choisis : Utiliser le modèle... et tu cliques sur Choisir... à droite un peu en bas de Utiliser le.... et là, dans la fenêtre qui va apparaître, tu trouves le modèle que tu viens de faire...USLettre.
Voilà. Chaque fois que tu vas ouvrir Pages, ce sera USLettre qui sera là par défaut.
J'espère que ça va te satisfaire.
Évidemment l'idéal serait de pouvoir changer la template Vierge par une template Vierge US... mais j'ai pas encore réussi.
Message was edited by: BenwaR -
I have a Windows Server 2008 R2 system. I am using Adobe Acrobat XI Pro. I am looking for the place where I can Change the Default font from Miinion Pro to Calibri?
Tools, Content Editing, FormattingYou can't change it.
On Tue, Jan 13, 2015 at 11:22 AM, tonywaidmann <[email protected]> -
How can I change the default driver to OracleXADataSource in JDeveloper
Hello,
How can I change the default oracle driver: oracle.jdbc.OracleDriver to oracle.jdbc.xa.client.OracleXADataSource in JDeveloper Studio Edition Version 11.1.1.0.2, Build JDEVADF_MAIN.BOXER_GENERIC_090328.0229.5205.
If I modify the file connections.xml from jdeveloper\system\system11.1.1.0.31.52.05\o.jdevimpl.rescat2\connections in the sense that I change the driver class, then in JDeveloper when I test my connection I have this problem: Test failed: oracle.jdbc.xa.client.OracleXADataSource cannot be cast to java.sql.Driver
Why do I need this XA version of the oracle driver? Well I tried, from a book to reproduce the model of an application: entities, stateless and stateful session beans, mdb, web services and a client to test one part of the model.
And because of the JMS server I need an XA driver.
I deployed to the integrated wls 10.3 and when I test my client, if I use the default driver for the connection the an error message appears tell me either to emulate two-phase commit or to use XA driver.
My application works very well, if I configured in the console of the integrated wls 10.3 a datasource with the same name as my ide/application connection that has for the Driver Class Name: oracle.jdbc.xa.client.OracleXADataSource in the Connection Pool tab.
Thank you.Open DIsk Utility and in the toolbar select Disk Image. The file selector will open and you'll have to do three things: 1) just as with any file, name it and point the file selector to where you want it to be saved, 2) near the bottom you'll see name - type iWork 2013 and 3) below that select the image size. Click on size, choose custom and type 1500 MB then click on the Create button.
Some time will pass and then you'll see an external disk pop up on your desktop and/or the Finder window sidebar. Drag the three programs into it and eject it like any other external disk. Now delete the programs from your applications window.
Where ever it was you pointed the file selector to you'll see the file you created. Double click on it and the disk image will mount again. -
hi,how can i change the default settings on my adobe readerX1 such that it will display all my pdf files according to their individual cover pages (as cover picture thumbnails)before i click them to open and read........i really enjoyed this feature as a default settings upon installation in previous editions of adobe reader .i use a windows 8 pc now.thank
For sideloaded content the nook pulls the metadata from ePub file itself. I would suggest looking at a program like Sigil or Calibre that will let you edit the metadata in the book to make it appear like you want.
For the PDF vs ePub - No, that's the way PDFs work (think of them as graphics, not text), wheres ePubs are Web Pages - so no you can't them to behave exactly alike without converting the files.
Maybe you are looking for
-
Ok so I updated to iOS 7 on my iPod (5th) it let me update my apps but I cannot download new apps thanks to the terms and conditions. Also my iTunes won't start it just blank, I tried everything I need help
-
Error in generation of Accounting document
Hi guys, I am facing with this peculiar problem of generation of accounting document. The accounting document does not get created even i try manually release it to accounting. i have completed the account determination procedure properly and is givi
-
Is it possible to sync time capsule data to a external hard drive
Is it possible to sync time capsule data to a external hard drive connected to time capsule via usb. (as an precaution just incase time capsule fails) Thanks
-
How do I highlight or color duplicates in a very long list?
I have a very long list of items some of them are duplicates. There are all in one collumn. In excel there is a funciton that allows me to highlight cells that are duplicates. Is there an equivalent way to do that in Numbers?
-
EOS 5D Mark III: Auto point selection
When photographing flying ducks, which is the best Auto point selection to use?