How can I call ttOptUpdateStats from PL/SQL
I would like to: call ttOptUpdateStats from within a PL/SQL block.
An example of one: run immediately using the input arguments in the PL/SQL Developer's Guide.
The examples cover only builtin procedures returning data.
Thanks for the help! Here's my working version:
Create procedure UPDATE_STATS as
type of TblList is the table sys. TBL_STATS. TYPE % TBLID;
tblids TblList;
TBL VARCHAR2 (255);
flag for number: = 1;
plsql_block VARCHAR2 (255);
LASTDATE SYS. TBL_STATS. TYPE % LASTSTATSUPDATE;
Start
plsql_block: = "call ttOptUpdateStats(:tbl,:flag)";
Select TBLID bulk collect into SYS tblids. TABLES where the TBLOWNER not in ('SYS', 'TTREP', 'GRID');
because me in tblids. FIRST... tblids. LAST
loop
Select trim (TBLOWNER): '. ' || Trim (TBLNAME) tbl of SYS. TABLES where SYS. TABLES. TBLID = tblids (i);
execute immediate plsql_block using tbl, flag;
Select LASTSTATSUPDATE from SYS lastdate. TBL_STATS where SYS. TBL_STATS. TBLID = tblids (i);
dbms_output.put_line ('< '="" ||="" rpad(tbl,45)="" ||="" '="" '="" ||="" lastdate="" ||="" '="">');
end loop;
exception
while others
then
Rollback;
end UPDATE_STATS;
/
Ed...
Tags: Database
Similar Questions
-
How can I call someone from support on the Activation?
I have Adobe Web Premium CS3 which I paid something like $2,500 years ago. I have it on my windows machine 8 but upgraded to 10 windows without disabling my permit first. Now it says I have 5 days to activate it. The phone number in the activation support page says you no longer manage activations by phone. Please let know us to whom I should call/email for I'm sure that I wouldn't post my serial number etc. on a public forum
In fact I found the cat and my problem was solved... Thank you
-
How can I copy files from project Waveburner to another internal drive?
How can I copy files from project Waveburner to another internal drive without losing the connection to the files audio orig.?
Thank you for your time,
Since no one answered my call, I sat and researched and studied WaveBurner behavior and I can myself answer my question and solve. Since there were a lot of people asking similar questions on WaveBurner files I will post what I learned.
Whenever you drop your audio files in the list window to make your WaveBurner CD copy not copy your audio files, but relies on the original audio file, where they are located. So whenever you move the files orig. and you open WaveBurner, it can't find those and displays an error window to suggest it will search for the missing file or if you know where he is now lets you find manually. WaveBurner usually place the .wb3 project file that contains everything including your home folder.
For this reason, I reserve now an audio file WaveBurner also folder in my home folder. In order to save themselves from WaveBurner cannot find the audio file, all audio files that I do, I put in my folder of audio files WaveBurner first, then copy them in WaveBurner from there.
When I need to use a bigger hard drive I copy .wb3-WaveBurner projects based, but also my
Sound folder WaveBurner for the home folder on the new hard drive.
WaveBurner is now all audio files without problem.
I hope that this will be a unique problem to someone else. Happy WaveBurning.
W.W.
-
How can I call the stream media player in webworker.
Hi all.
I need a few snipets of invoke media player from the webworker blackberry
How can I call it stream media player in webworker please help me.
You should be able to:
location.href = 'mymediaurl';
-
My bank site refused my log in because of 'old' browser, but I don't want to upgrade the next operating system (Yosemite) because he ruined my computer before. How can I upgrade only from Safari?
Safari cannot be updated past 6.2.8 on Mountain Lion. If you want to, switch browsers.
(144681)
-
I downloaded an application from my iphone and then deleted. Now when I open AppStore I purchased apps and its still there. How can I remove it from there even if I have no more app?
The applications that you have downloaded will be available for re - download also a practice.
Apps y cannot be removed, you can hide only.
Read here: hide and expose the purchases made on the iBooks Store - Apple Support, App Store or iTunes Store
-
How can I transfer photos from my iPod touch 6th generation for my macbook pro WITHOUT using iCloud, please? It's simple with another camera but not the case, it seems, for the iPod Touch from Apple.
Use import option from your Mac:
Import photos and videos from your iPhone, iPad or iPod touch - Apple Support
-
I bought a new iPhone SE. My iCloud account still shows my old iPhone data use. How can I erase it from my ICloud account?
Do you mean that you see your old data use on the new iPhone?
Go to settings > cellular > [scroll down to] Reset Statistics
Otherwise, where exactly do you see this use?
-
How can I transfer pictures from my computer to the iphone 5 using icloud
How can I transfer pictures from my computer to the iphone 5 using icloud
Normally, you do not use iCloud for this, you use iTunes, as shown below, but you can use iCloud photo library if that's your preference.
Keep your photos safely stored and updated on all your devices - Apple Support
-
When I open the file Downlad box in Firefox (v28) and asks me to select a file to download... as I click to scroll down the download file box things work well... then all of a sudden things scroll down (fast) at the bottom of the download file by itself.
How can I stop this from happening?
Thank you
Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).
- Do NOT click on the reset button on the startup window Mode without failure.
-
How can I remove apps from my iPhone
How can I remove apps from my iPhone 6 s?
Hello
Press and hold the app icon until all applications jiggle then press the X on the application you want to remove, and then press delete. Press the button at home once to stop jiggling apps.
-
How can I transfer video from my ipad on my mac
How can I transfer video from my ipad on my mac
Hi, looking for iPhone Transfer for Mac, a wonderful tool of RecoveryAdnroid especially for iOS devices. You can run the program on the computer and connect your iPhone and then it will detect the phone data and show you a preview. Simply choose the videos and transfer videos from iPhone to computer.
Hope this will help you.
-
On my ipad, addresses in the e-mail of sellers are appearing in my favorite app of cards. I can't remove them as I can with other recent in the cards. How can I stop this from happening? I'm not typed the e-mail address link.
Maps - tap the box down a drop of addresses
Under recent - click Favorites
At the bottom, click on Favorites and remove addresses from this point of view - shot from right to left
-
How can I prevent updates from any application?
How can I prevent updates from any application?
In OS X goto System Preferences > > App Store and a tick "automatically check for updates.
< image edited by host to remove personal information >
-
How can I stop mozilla from the doin it, I can't access most of the pages I want to open, it redirects me to scan of quest
I had this problem too until I disconnected the add ons.
Maybe you are looking for
-
I understand the accounts settings before 2010 to reset password, but it's difficult if you can not receive the link to get the discount to zero fact. Please can we get this support. I made several request for the link, at least 6 in the last two wee
-
What better way to macbook pro chrome or firefox
Hello I need to have my 2 email and Facebook 2 accounts open at the same time keeping instead of having to connect and again, which is better for the macbook pro firefox or chrome? Thanks in advance Tracey xx
-
printing from ipad on hp3052a printer
I can't print a document from the ipad2 at 3052 on the 3g network a printer. WIFI and email works great. Is there a setting I need to turn on the printer or the ipad?
-
How reset you your passward 8.1 on windows, because it is a new computer, I have no recollection of losing. I hoped to reset to factory settings, I can not get the uefi to boot from my USB drive, I am not computer savy
-
Windows XP Home disc replacement
My drive was broken when trampled by my son. Can I get a replacement disk?