How to get the ddl of many paintings in a statement
Hi allI have a scheme. It has 150 tables. I chose dbms_metadata.get_ddl ('TABLE', 'TABLE_NAME', 'SCHEMA') of double;
It worked for me, but I have 150 paintings. There is a lot of time to do.
Is there a faster way to do?
Thank you!
Dan.
Duplicate - already replied to How to get the ddl from several tables in a statement
Tags: Database
Similar Questions
-
How to get the DDL to sqlplus as the TOAD
Hello
I have to work on a computer terminal for a client where the TOAD is not installed. For my regular activities of s/n, I need to take the DDL several times.
I'm very used to the style of the DDL scripts that TOAD 9.6.x.x gives to any object in a schema.
Can anyone suggest how I can get exactly TOAD - like scripts (which provide not only the create statements)
For example
* 1. sqlplus from when I *.
Select dbms_metadata.get_ddl ('TABLE', 'APE1_ACCUMULATORS') of double;
I only get the bottom
CREATE THE TABLE XLTDBO92. APE1_ACCUMULATORS
(
CYCLE_CODE NUMBER 4 APE1ACCU_CYCLE_CODE_NN CONSTRAINT NOT NULL,.
CYCLE_INSTANCE NUMBER (2) CONSTRAINT APE1ACCU_CYCLE_INSTANCE_NN NOT NULL,
CUSTOMER_SEGMENT NUMBER 4 APE1ACCU_CUSTOMER_SEGMENT_NN CONSTRAINT NOT NULL,.
CUSTOMER_ID NUMBER (9) CONSTRAINT APE1ACCU_CUSTOMER_ID_NN NOT NULL,
ACCUM_TYPE_ID NUMBER (9) CONSTRAINT APE1ACCU_ACCUM_TYPE_ID_NN NOT NULL,
OWNER_ID
)
* 2. of TOAD 9.6.x.x but when I click on 'create scripts' I'll get *.
DROP TABLE XLTDBO92. APE1_ACCUMULATORS CASCADE CONSTRAINTS;
CREATE THE TABLE XLTDBO92. APE1_ACCUMULATORS
(
CYCLE_CODE NUMBER 4 APE1ACCU_CYCLE_CODE_NN CONSTRAINT NOT NULL,.
CYCLE_INSTANCE NUMBER (2) CONSTRAINT APE1ACCU_CYCLE_INSTANCE_NN NOT NULL,
CUSTOMER_SEGMENT NUMBER 4 APE1ACCU_CUSTOMER_SEGMENT_NN CONSTRAINT NOT NULL,.
CUSTOMER_ID NUMBER (9) CONSTRAINT APE1ACCU_CUSTOMER_ID_NN NOT NULL,
ACCUM_TYPE_ID NUMBER (9) CONSTRAINT APE1ACCU_ACCUM_TYPE_ID_NN NOT NULL,
OWNER_ID
)
DROP SYNONYM XLTDB92. APE1_ACCUMULATORS;
CREATE SYNONYM XLTDB92. APE1_ACCUMULATORS FOR XLTDBO92. APE1_ACCUMULATORS;
GRANT DELETE, INSERT, SELECT, UPDATE ON XLTDBO92. APE1_ACCUMULATORS TO XLTDBO92_ALL;
So my question is:
How to such scripts from sqlplus, regardless of the type of the object? _
Note: I'm writing a new thread because my previous question has been answered, even if I was not able to type in completely. My mistake as it was published in before that I could finish the question.
Regds,
MalikaIf the DDL returned by dbms_metadata isn't to your liking, then write your own scripts to generate the DDL or cover scripts to generate all the items you want.
In the case of synonyms and grants, is very easy using the RDBMS dictionary views, but if you generate a table DDL you also want and need the PK, UK, FK, secondary indexes, comments and policies on the table as well as synonyms and subsidies. All that if you delete the tables goes.
There is a get_dependent_ddl dbms_metaddata of procedure to generate objects dependend on a table that can be interesting.
HTH - Mark D Powell.
-
How to get the reference or the property of a member in OOP node?
Hello world
Is it possible to get the referral of a member in OOP?
After you have created a class and an insert, a member of control in the cluster, I conclude that, when a right click on it, there is no element of "creat-> reference" or "create-> property node?
So, how to get the reference or the property of a member in OOP node?
Hello
There are a few reasons that you can't do what you want to do:
1 al ' LVOOP ordinary (as opposed to the DVRS in LabVIEW 2009, or some other framework / pattern design) are items of LabVIEW by value, as a cluster and therefore you can not create a reference to a class.
2. a control of the object (this is what you get when you drop an object on a façade) is a 'black box' because you cannot look inside. This is to support the idea that the class data private. This means that you can't get a reference to all internal control when its on a façade
3. check the references are valid only for the controls in the Panel before and therefore any class (or other piece of data of LabVIEW) on a wire / shift register / constant / anywhere other that of the façade, will have only the data portion of the available control.
To access the items within a class, you create the accessor screws (you can create them easily by right-clicking a class (or the folder within the class) in the project tree and selecting New-> VI to access data members.) This VI would at least have a unbundle / bundle node (depending on whether its read/write) and could, if you have many more features such as range checking. You can use this VI whenever you want to read the Member your interested.
I hope this helps.
Shaun
-
using PostDelayedCall how to get the value passed through void * callbackData?
Can someone tell me how to get the data passed through void * callbackData?
The following code, panel_ptr has the right address but still contains zero.
void CVICALLBACK value_changed (void * callbackData)
{
int * panel_ptr;
panel_ptr = callbackData;
calculate_new_value (* panel_ptr);
}int sign;
Panel = 2;
PostDelayedCall (value_changed & Panel, 0.2);
The problem is using the callbackData parameter if it is a pointer, it must be a pointer to something which is still topical at the moment that the callback executes. That is to say, you cannot pass the pointer to a local variable in callbackData as when the callback executes the pointer is no longer valid. You can switch from its value, instead, in this way:
... SomeFunction)
{
int sign;
...
Panel = 2;
PostDelayedCall (value_changed, (void *) Panel, 0.2);
...
}
void CVICALLBACK value_changed (void * callbackData)
{
int panel_ptr;
panel_ptr = (int) callbackData;calculate_new_value (panel_ptr);
return;
}There are many discussions on the forums on callbackData parameter that you might want to read.
-
How to get the sub cluster item caption?
Hi all
I have a big cluster, which contains several groups of void. They are all type def. My queation is,
How to get the sub cluster item caption?
Thank you.
Anne
In this nugget , you will find many images that illustrate how to get to items within a cluster. The ideas are the same, you will search for the legend.
Have fun!
Ben
-
Someone tried to hack my account and now I can't in my mail. How to get the lock down?
I tried to log on my hotmail and it says it is locked due to too many failed attempts to connect. Someone tried to hack my account and now I can't in my mail. How to get the lock down?
Hello
Answers is a peer group supported and unfortunately has no real influence on Hotmail.
HotMail has its own Forums, so you can ask your questions there.
Windows Live Solution Center - HotMail - HotMail Forums Solutions
http://windowslivehelp.com/Hotmail - Forums
http://windowslivehelp.com/forums.aspx?ProductID=1Hotmail - Solutions
http://windowslivehelp.com/solutions.aspx?ProductID=1How to contact Windows Live Hotmail Support
http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htmWindows Live Hotmail Top issues and Support information
http://support.Microsoft.com/kb/316659/en-usError message "your account has been locked" when trying to connect
http://windowslivehelp.com/thread.aspx?ThreadId=77be7d82-a0e9-49c7-b46d-040ec654a9e2Compromised account - access unauthorized account - how to recover your account
http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41Hotmail hacked? Take these steps
http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspxI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">->
-
1. I upgraded my comp to Windows 7, Ultimate because I need to use many XP programs. What I've discovered, is the virtual XP Mode is not the same thing as XP regular and many programs do not run properly. Particularly theAudio out to lunch and MS GS Wavetable is not available in XP Mode.
2 - I end up having to buy another XP-Professional and installed in the same notebook. I have to turn off the laptop restart and select the Windows 7 to XP operating system. All old programs work fine under XP.
3 - I continued looking for a fix for the XP Audio Mode or virtual. Almost 2 years now, I can not find such a simple solution.
4. today, I found something on the Microsoft RDP Audio driver. What is the reason? Anyone know?
5. are there available MS drivers or resources?
I'm not interested in the commercial programs or attempts to scan my computer. MS sold Windows 7 that can run XP so I think that Microsoft is responsible for fixing.
Thanks in advance,
VT
Windows XP mode - 7: how to get the Realtek Audio Drivers with GS Wavetable outside normal? Instead of RDP Audio driver!
Hello
The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the Windows Virtual PC and XP Mode Forums.
http://social.technet.Microsoft.com/forums/en-us/w7itprovirt/threads
-
How to get the 6th element of a C.V. value column
Hi all
I use Oracle Business Intelligence 11.1.1.7.131017.
I have a column with the following formula: C.V. ("Tickets". "Number of tickets"), but since we want to only show the values advocated by the past 6 months and which is an accumulative column, we added the rank function in the filter and placed as: grade (C.V. ("Tickets". " Number of tickets')) < = 6 and for the final formula, we need the minimum value that is placed in 6th place...
My problem is how to get the value assigned to this position?
Here's the column values:
30719 (value I pretend-> min)
31357
32025
32595
33652
34616 (I also use this value-> max)
Any idea on how to get the value placed on tier 6?
Thanks for the help and have a good week.
Kind regards
Frederico.
I found a solution (poor, but it works)...
As a minimum I want is always located in the row = 6 I put a case when row = 6, then returns the value I'm pretending, else return 0, so after that I need only the max of all values, as they are 0 or the value that I'm pretending, like this:
MAX (CASE WHEN (GRADE (C.V. ("Tickets". "Number of tickets')) = 6) THEN of C.V. (FILTER ("Tickets"." Number of tickets' using 'status '. ((("" Resolved "="Resolvido")) END ELSE 0)
I want to thank you all for the help, normally I post in the forum of the ADF but its good to know I can get a lot of support here as well...
Many thanks to all,
Frederico.
-
How to get the configuration of the virtual machine, please give me some ideas
How to get the configuration of the virtual machine, please give me some ideas
Hello
Take a look at
For the General operations of VM
For the settings advanced VM:
http://blogs.VMware.com/vSphere/2012/03/Acessing-virtual-machine-advanced-settings.html
Other general settings of the SDK:
http://vSphere-land.com/vSphere-links/scripting-links-2.html
Many tx
-
How to get the files to and from the host
Is there something that I can read which explains how to get the (ftp, memory stick or other) files to and from the host?
Sorry if this is a noob question, I looked but could not find something specific...
There are many ways of doing so:
1 activate not supported ssh and scp use
2. use VI Client access to your storage space on configuration files and server transfer
3 configure the iSCSI or NAS to deal directly
-
Get the DDL for all tables in a schema;
Hello
I tried to get the DDL for all tables under my own diagram "A". Here are the steps I've tried, but in vain I
1. logged in as a user A 2. And the ran query SELECT DBMS_METADATA.get_ddl ('TABLE', 'XYZ') FROM user_tables o/p (HugecloB) {code} Any idea how i can get the DDL for all the tables under my own schema ? Thank you so much! Edited by: user642297 on Feb 4, 2011 12:05 PM Edited by: user642297 on Feb 4, 2011 12:05 PM Edited by: user642297 on Feb 4, 2011 12:05 PM Edited by: user642297 on Feb 4, 2011 12:07 PM
Your idea is good, you missed only to use the correct table name:
SELECT DBMS_METADATA.get_ddl ('TABLE', table_name) FROM user_tables;
Concerning
-
get the ddl of the object in sqlplus
Hello.
How to get into the sqlplus to object ddl statement?
as:
Select the ddl from dba_objects where object_name = 'my_table ';Hello
You can use the package which is displayed in the posts above else there are alternatives to get the DDL both
For more than one table. You can go for export and import with Options by which you can get the DDL for all
the objects in the schema according to your requirement.You can go for "dbms_metadata.get_ddl".
next thing export and import with show options = 'Y '.-Pavan Kumar N
-
How to get the text have the same effect as the video?
Hello
For the first time post here, but I wonder how to get the text of the titles have the same effect as the video behind her.
For my video, I use 'bad tv' and other effects such as Gaussian that obviously changes the appearance of video, creating the look of VHS. However, I then inserted text via the title, but it normally appears. How can I make this text have the same effects as the video behind it?
A friend told me I might need to add text to the video first, then do the effects, I have not tried, but wonder if there is an easier way, as this would require me to restart.
EDIT: That's what I'm looking for. https://youtu.be/7_2PHQI89dI?t=24s The text has the same effect as the video.
Thank you
One way is to create a clip made up based on the title and the original clip. Then apply the effect.
Another way is to use an adjustment layer.
Good luck.
Russ
-
How to get the podcast of the website on the phone
I was told to put that feed into the PODCASTING app on your iOS device.
The site in question is https://randirhodes.com/how-to-get-the-podcast/
I paid for a premium podcast, now how o I get this podcast to appear on my iphone 6 s more in the podcast app?
Podcasts > select my Podcasts > press the '+' > Add Podcast > paste the URL that you got on the site.
-
How to get the video intro off my google home screen I already saw it, where is the firefox logo used to be. I started with the last update that I rebooted.
Hello
to change the homepage when opening firefox-press 'Alt' and click on tools-> Options.Main menu, you can change the URL.
If the problem persists, you can follow these simple steps:
Enter about: config in the address bar and press ENTER. Accept the message of 'dragons' to see the Advanced preferences screen. Use the above search box to enter the below pref.
You can assign an empty string to stop your Firefox to retrieve "extracts" and brandLogo changes the browser.aboutHomeSnippets.updateUrl pref. Right-click this pref and select Edit then clear the value as pref in the box that appears, and then click OK. Who will also disable "snippets" that appear under the container of the research on the default home page.
Then you must open the folder of your profile, via help > Troubleshooting Information > profile folder > > button view folder. Then close Firefox. Your profile file open with Firefox closed (Firefox '3-bar' menu key > exit/Quit), wait or two minutes, then remove the storage\moz-safe-about + home folder in the Firefox profile folder to remove the brandLogo and stored in IndexedDB code snippets to make Firefox use the default brandLogo and a defined default code snippet.
If you later change your mind about these changes, you can reset the pref browser.aboutHomeSnippets.updateUrl via the context menu and Reset allows to retrieve the default value using the storage\moz-chest-fort-about + home folder again.
Maybe you are looking for
-
disc will not load or not going to classes
disc will not load or going to class in a mini
-
Toshiba 40L5450EA freezes and does not respond to remote control
First of all, I want to tell you that I have a very good experience with the Toshiba products. But unfortunately I just bought the new toshiba android TV Toshiba Egypt 40L5450EA (El Araby Group) last week and I am facing a very stupid problem that wh
-
You need to reinstall Windows Vista, or upgrade to Windows 7 How can I keep my software?
My Vista laptop bogged down and is virtually unusable. I think I'll fix by opting for 7. That seems to require that I have to format the drive. I have saved data, but what software. I have Office 2007 on my computer and I would like to keep. I can't
-
Vista - does not start. try using the repair disk but no operating system is listed for the system recovery options. It is said if the OS is not listed, then load the drivers. What drivers should I charge and where the system are they?
-
Can I continue to use the portable computer during the backup procedure?