Dbms_metadata in a stored procedure. If the table is in the schema, run the stored procedure the procedure works very well. If I try to get the table ddl to a different scheme it can't find table in a schema. I run as an anonymous blocks and it works
create or replace FUNCTION get_table_md (p_owner in varchar2, p_table IN VARCHAR2) RETURN CLOB IS
-Define local variables.
/ * declare
p_owner varchar2 (30): = "AVTYM";
p_table IN VARCHAR2 (30): = "TRANSACTION_HEADER";
*/
h NUMBER; -handle returned by OPEN
e NUMBER; -handle returned by ADD_TRANSFORM
p_tableref varchar2 (30);
doc CLOB.
Doc2 CLOB.
BEGIN
-Specify the type of object.
h: = DBMS_METADATA. OPEN ('TABLE');
-Use filters to specify the desired object.
DBMS_METADATA. SET_FILTER (h, 'SCHEMA', p_owner);
DBMS_METADATA. SET_FILTER (h, 'NAME', p_table);
-Request that the metadata be transformed into creation DDL.
th: = DBMS_METADATA. ADD_TRANSFORM (h, 'DDL');
-Retrieves the object.
doc: = DBMS_METADATA. FETCH_CLOB (h);
-Free resources.
DBMS_METADATA. Close (h);
p_tableref: = substr (p_table, 1, 25). ' $RDEF';
Doc2: is REGEXP_replace(doc,p_table,p_tableref,1,1,'im');.
doc: = REGEXP_replace(doc2,'"CREATE_DT"','"EXCHANGE_DT"',1,2,'im');
-dbMS_OUTPUT. Put_line (doc);
RETURN doc;
END;
Hello
check the privilege you may have granted by a role that you need direct access to the object and not by the role. You can test if you are granted by a role, by running the SET command role no and see if you can still run the anonymous block.
Thank you
Tags: Database
Similar Questions
-
Original title: single language of windows 8
I had 8 single language on dell inspiron 15-3521 pre-installed windows. I did repartitioning disks and windows recovery options 8 as 'reset your pc' and "Refresh your pc" has stopped working, saying that the not found recovery partition, but it was intact. I have no recovery disk.
Can I get a configuration of single language somewhere? How can I find the license key for my installation.Hi Mohammed'metwally,.
Please answer this question to get more clarity on this issue.
The application or program that you use the partition of the drive?
This problem may occur if the partition table is damaged or altered. As a result, the recovery partition does not work. I'm sorry to know that you are facing this problem.
You will not get the unique language anywhere to download setting. You have an OEM computer that comes with the product key integrated into the BIOS. The product key of Windows 8 on new machines is now integrated in the machine. It uses the Secure Boot technology. When you perform a new installation of Windows 8, the installation program ask a product key and will be automatically get it from your system and proceed with the installation.
As Windows 8 came pre-installed, you must contact the manufacturer of the computer with this problem for more help.
http://en.Community.Dell.com/?~CK_=_mn
Dell technical support: http://www.dell.com/support/contents/us/en/04/category/Contact-Information/Technical-Support?c=us&l=en&s=bsd&cs=04
Thank you.
-
Previously, the "Find updates" option is located under the Help menu. In Firefox 4, I can't find this option; How will we be able to check if there are updates available?
Can this new version to update automatically? How to set this option?
Click the Firefox button, click Help, click on Firefox, there is a control for the button updates on this screen.
Other issues that need your attention
The information provided with your question indicates you have outdated plugins with known security and stability issues that need to be updated. To see the plugins submitted with your question, click on "+ system details...". "to the right of your original message of the question. You can also see your plugins in the Firefox menu Tools > Modules > Plugins.
- Adobe Shockwave for Director Netscape plug-in, version 11.5
- Several security updates behind
- Adobe PDF plugin for Firefox and Netscape
- Seems to be an older version
- Shockwave Flash 10.2 r152
- 10.2 r153 recently released security update
- Next-generation Java plug-in for the Mozilla browsers 1.6.0_15
- 9 updates behind
- Check your plugin versions on one of the following links:
- http://www.Mozilla.com/en-us/pluginCheck/
- https://www-trunk.stage.Mozilla.com/en-us/pluginCheck/
- Note: plugin check page lacks information about all versions of the plugin
- Update to Shockwave for Director
- NOTE: this is not the same thing as Shockwave Flash; This installs the Shockwave Player.
- Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place, so you can find it).
- When the download is complete, exit Firefox (file > exit)
- Locate and double-click it in the installer that you just downloaded, let the complete installation.
- Restart Firefox, and look at your plugins.
- Download link and more information: http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
- Update of Adobe Reader (PDF plugin):
- Within your existing Adobe (If you have already installed) drive:
- Open the Adobe Reader program in your list of programs
- Click Help > check for updates
- Follow the instructions to update
- If this method works for you, go to the section "download full installer ' below and go to"after the installation"below
- Adobe Shockwave for Director Netscape plug-in, version 11.5
- Download the full installer (If you have NOT installed Adobe Reader):
- "Use the links below in order to avoid the painful' getplus" Adobe Download Manager and other 'extras' you do not want
- Use Firefox to download and SAVE the installer to your hard drive for the appropriate link below
- Click "save to file"; Save to your desktop (so you can find it)
- Once the download is complete, close Firefox
- Click on the installation program, you just downloaded and allow installation to continue
- Note: Vista and Win7 users need to right click on the installer and choose "Run as Administrator"
- Download link: ftp://ftp.adobe.com/pub/adobe/reader/
- Choose your operating system
- Choose the latest version of # .x (example 9.x for version 9)
- Choose the version the most recent number
- NOTE: 10.x is the new Adobe Reader X (Windows and Mac only from this announcement)
- Choose your language
- Download the file, save it to your hard drive, when finished, close Firefox, click on the installation program you just downloaded and let it install.
- Windows: click on the .exe file. Mac: click on the .dmg file
- Using one of the links below will force you to install the "getPlus" Adobe Download Manager . Also don't forget to uncheck the McAfee scanner if you do not want the link force installed on your desktop computer
- See also the download link': http://get.adobe.com/reader/otherversions/
- See also: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for download, you can get the painful 'getplus' Manager to download from Adobe (Adobe DLM) and other "extras")
- After installation, launch Firefox and recheck your version.
- Update the Flash plugin to the latest version.
- Download and SAVE to your desktop, so you can find the Setup program later
- If you do not have the current version, click on the "Player Download Center" link on the 'download and information' or 'Download manual installers' below
- Once the download is complete, exit Firefox
- Click on the installer, you just download and install
- Windows 7 and Vista: will need to right click on the installer and choose 'run as administrator '.
- Launch Firefox and recheck your version or up to the download link below to test the installation
- Download and information: http://www.adobe.com/software/flash/about/
- Use Firefox to go to the site above to update the Firefox plugin (will also install the plugin for most other browsers, except IE)
- Use IE to go to the site above to update the ActiveX to IE
- Download manual installers.
- http://kb2.Adobe.com/CPS/191/tn_19166.html#main_ManualInstaller
- Note the separate links for:
- Plugin for Firefox and most other browsers
- ActiveX for IE
- Update the Java plugin to the latest version.
- Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java platform: download JRE)
- Don't forget to uncheck the toolbar Yahoo option during installation if you do not want to install.
- Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java platform: download JRE)
- See also "Manual Update" in this article for update from the Java Control Panel in Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
- Removal of older versions (if required): http://www.java.com/en/download/faq/remove_olderversions.xml
- Remove several extensions of Console Java (if necessary): _ http://kb.mozillazine.org/Firefox: _FAQs_:_Install_Java #Multiple_Java_Console_extensions
- Java test: http://www.java.com/en/download/help/testvm.xml
-
My utility account shows no Keychain Access. The only file in the public services is citrix online. How can I find my files utility?
Omegamax,
Have you tried spotlight?
-
Wireless
I was clear something in Add/Remove Programs, that my laptop go on restart, and after the disappearance of this button wiraless. I can't find it in the Control Panel, on the toolbar... How do I return it? Sorry for the bad English.Hi Zeljka Djordjevic,
· What program did you delete?
I suggest to perform a restore of the system and check if the problem persists.
How to restore Windows XP to a previous state
-
I received an email with an attachment that I downloaded, when I go to open the windows media center file opens but I can't find file what I do
I was able to open using AbiWord, thanks for the reply
-
I had my hard drive replaced on my Toshiba lap top and my windows 7 is no longer considered as authentic code has rubbed off the sticker on the base of my lap top. Where can I find it?
Option 1:
If the COA sticker is damaged, you must use the recovery partition to reinstall Windows 7, it will be exempt from the need to use the product key to activate your installation of Windows 7.
Option 2:
If your recovery partition is not available or damaged, you must contact the manufacturer of your computer, and request that a defined recovery disk you can use to reinstall Windows 7. They could practice a small shipping and handling. This will exempt the need to also use the product key.
Option 3:
If neither options 1 or 2 is possible, then you will need to invest in a new license of full version of detail.
-
Is there a way to get the first Pro CS6 with still now I can't find the previous, offered versions with the subscription of the CC 2015? What is recommended for creating DVDs with interactive menus?
Instructions again, cloud or version https://forums.adobe.com/thread/1992717 serial number
-a of notes on different versions of cloud and step by step on these differences
-contains information about the separate library download which is necessary
-CS6 is the last reminder, see here #8 why http://forums.adobe.com/thread/1337952?tstart=0Still and 10 Windows https://forums.adobe.com/thread/2015461 use the compatibility mode of Windows 8
problem/solution to install Encore CS6 https://forums.adobe.com/thread/1934087 -
How to change your settings to allow you to be able to place images and things outside of the artboard when you work? I have it on a single file and I opened another and the setting seems to have changed, but I can't find where to change it.
I think that things are there, but just hidden.
Try this:
Make sure that your cursor is not in a text box, and then type a W.
-
I installed all the applications of creative cloud ok, but I can't find to start an application, that is to say In-Design, or Photoshop. I have CS6 installed on my machine before I installed the cloud and do not uninstall CS6.
Could you please try to install if from the direct download link and check if it works?
Direct download links of Adobe CC 2014: 2014 creative cloud release | ProDesignTools
Hope this helps
Atul_Saini
-
Where can I find my product key to 24 digits for Adobe CS6 Design and Web Premium? I went through all the normal download and a 19-digit serial number! I had to buy a new hard drive from Apple, and when they were installed, I lost my programs. Help, please! Ive tried to download them for two days!
http://helpx.Adobe.com/x-productkb/global/redemption-code-help.html
http://helpx.Adobe.com/x-productkb/global/find-serial-number.html
Mylenium
-
How to change the default "/" shortcut (select 'none' in the shade of color) to something different? Where can I find this in keyboard shortcuts?
Any ideas?
In the Tools menu:
"Apply no color."
-
Im trying to list the xml files in netdevices - plugin.jar BUT can't find it
Im trying to list the xml files in netdevices - plugin.jar BUT can't find the jar command...
It is integrated by hyperic 4.1.1? on the unbuntu Linux systems
I want to get a copy of the Cisco IOS platform XML to build one of my own to monitor environmental elements such as the status of temp sweetheart etc.
Maybe the hq - plugin.xml will also help.
How can I get a list of the Cisco IOS platform xml or AC - plugin.xml is preferable to follow in the construction of my own xml pluginMike,
A pot is just a zip file, so if you don't have the available jar command, you can use the decompression tool.
Unzip netdevice - plugin.jar, etc./hq-plugin.xml
Who will draw just the file etc/hq - plugin.xml. There is good documentation for an SNMP plugin at http://support.hyperic.com/display/DOC/SNMP+Plugin
-
Hi, I accidentally deleted the program from my computer creative cloud, we can I find and download the program again?
See if the links on this page to work:
-
Adobe starter edition has the photo of the image as DSCO0283 number. JPG, where can I find this number on the photos in PHOTOSHOP ELEMENTS 12 - reason being that photoshop elements will not convert my catalogue in version 12. If I had this number that I could manually reconstruct that my collections in photoshop 12 items, but everything I see in photoshop elements is dates and I have several images from the same dates. Help! I have
Hello
If you look at the thumbnails in the Organizer, try going into the menu display and check that the Details and file names are checked. The name of the file and the date must appear below each thumbnail. If they do not appear, you may need to increase the size of the thumbnail using the slider to zoom (lower-right).
Good luck
Brian
Maybe you are looking for
-
HP 8730w Elitebook SSD and RAM
Hello I have a HP Elitebook 8730w and I recently installed Windows 8. I think to upgrade the RAM (from 4 GB to 8 GB) and failed hard drive (SSD). What RAM & SSD are compatible with my system? As I saw the RAM support must be • DDR2 PC2 - 6400 CL = 6
-
NET framework 1 installation fail code 0xe0434fd4
received this code, 0xe0434fd4, after failed update of the net framework SP1 from Microsoft Update Center. Tried reinstalling several times and received the same code. All other downloads install perfectly. correct the code number: "0xe0434f4d. Secu
-
Try to send a mail in Outlook with a large attachment are not sent after 2 days.
original title: problem with Outlook e-mail This is not my being a strick, Windows problem, but I have a problem and do not know the answer or where to go. I use Outlook for e-mail. I have a file of 11 stuck in my Outbox. It seeks to be sent, but n
-
Is my Visa unregistered copy?
The copy of Vista I have I bought a fair start, and it seems to be sealed with a good. There is a red piece of tape coming out of the upper part of the box and a license number on a sticker on the top of the box. Is it possible to check if the copy
-
JDE 4.5.0 Installation of Rimlet compatibility on old BB devices
Hello I wrote a Rimlet using the JDE 4.5.0 and hit compatibility problems during the installation of the application on the BB devices. For example, try to install a 8100 Series device, I have so far also have included net_rim_xml_org.cod for the ins