Is there a way to state 'wait' in a ddl statement

Hi,
I'm getting an error that the resource was busy when trying to drop a table. Is there a way to state 'wait' till the resource is not used in a ddl command as in the 'select .. for update nowait; statement' ?
Tal Olier ([email protected])

I used to believe that it is possible to manually lock the table, and drop it but tests revealed that this is still impossible.
so the question is still applicable, how to drop a table that has a lot of DML activity on it ?
session 1: insert into test values(1)
-> 1 row inserted
session 2: drop table test
-> resouce busy
session 2: lock table test in exclusive mode
(session waits)
session 1: rollback/commit
-> complete
session 2:
(table locked)
Now, if you drop the table here, everything is OK BUT !
session 1: insert into test values(1)
(session waits)
session 2: drop table test
-> resource busy
session 1:
(1 rows inserted)
So does ANYone have a working answer ?

Similar Messages

  • Is there any way to not wait for a subVI to output so that the background loop can continue (until the output exists)?

    hello everyone,
    I am in a loop but want to modify an element in that loop. This modification takes time, but i cannot have the loop stop while it is being changed or else the buffer overflows and crashes the computer.
    Is there any way to make the output null until the subVI finishes and actually gives the desired output? This way the loop could continue until the subVI's output is ready.

    Inside the subVI, you can set a condition, for example, if data is not given, set the output to some kind of value (NaN is good for numeric), if data is present, just take it out. But be sure the subVI has no loop to get data, but check data only once. If you need a loop to get data, you'll have to put it in paralell with the main loop.
    Hope this helps

  • Is there any  way to Mask the Name when  a select statement is issued?

    Dear all,
    Is there any way to mask the name .. i mean if User issue a select statement in a customer table the real name should come like ' ABCXXXDEFXXCFXX'... Which is not the actual name?
    e.g if Name: CHIEV SONG MEE
    If user issue a statment select * from customers;
    The Result Should come something Like this:
    Name
    CHXXV SXNG MXX
    Thank You

    user3029023 wrote:
    but it seems there is no option in oracle it self which can be used as there they are saying to get a data masking software which we can't due to some internal issues....I would not say that. How one implements masking depends entirely on the requirements that need to be met.
    For example, schema A owns all the tables. Schema B can be created as a "trusted" schema - in other words, schema A trusts schema B and allows it full access (with grants) to its tables. Schema B implements data masking as views. For each table in A, a view exists in B that implements the required masking. B can now grant select access on these views to user C. User C will see the same data object names in B as it would have if it used A - only, by using the B data objects it uses masked data objects and not the original source data objects.
    Another example - schema Dev is to have all the data objects of schema Prod, but masked where needed. One can use CTAS (Create Table As Select) to create the required tables in Dev with masked values where relevant. This Dev schema can be "refreshed" on weekends by dropping all tables and getting a new fresh copy of production data and masking it - ready for the next week's development cycle.
    If the application use is for example APEX, then instead of coding SQL directly as reporting regions to display, a function is used instead. APEX supports reporting regions where it calls a function and this function provides the APEX run-time with the SQL to execute and contents to render. It is easy to use this approach to implement logic in functions that masked column data depending on who the APEX user is, the security/role attributes of the user, and so on.
    No there is not a single "+mask this column!+" feature in Oracle.. but that does not mean that such a feature is not supported and cannot be implemented. Oracle has a very comprehensive and rich set of tools - more so than most (if not all) other RDBMS products.
    It is up to the architect/designer/developer to use this toolkit in creating a system that meets the specific requirements at hand.

  • Is there a way to create an if statement in dreamweaver?

    I am currently building a website that sells industrial seating. There is a seat called SP006 that appears both in section, "small suspension seats" and "construction". So far I have been resaving the same page twice but renaming it "sp006_construction.html".
    Everything stays the same except the back button changes links, one goes to small suspension seats, the other goes to construction. Is there a way to create an if statement so that I don't have to keep resaving the same file over and over again?
    Thanks.
    Chantalle

    Upon reading your question again, I think that I initially got the wrong impression.
    As I see it now, you want the same contents  to go to two different documents, but want to maintain only one copy.
    Making use of SSi's will solve that problem, i.e. you will still have two documents, but they will have the contents from a file called sp006.htm. The document will look like
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Small Suspension Seats - sp006</title>
    </head>
    <body>
    <!--#include file="sp006.html" -->
    </body>
    </html>
    The same will go for the construction seats. This way you will have one file to maintain, but it is used in two different documents.
    Gramps
    PS You may have to rename the file with an extension of .shtml or similar. Have a look here for more info http://en.wikipedia.org/wiki/Server_Side_Includes
    Message was edited by: altruistic gramps

  • Is there a way to save state of shift register for initializing next time vi is started?

    Hello all,
    I've a quick question. I have right now....a numeric constant...starts with "1" intially when starting the vi.
    I use this as a shift register on my main while loop....as the counter to use when the user clicks various items on my vi.  This tracks the order the user wants things to happen later.
    It has now occured to me..that the user might not have selected all possible options, before quitting the vi....and might need to restart it...and begin to select other options...needing to keep place form when he left off last.
    Of course, with how I have it set up no...when the vi is started...the counter is reset to "1".  All the objects on the screen, are in the state it was when it was stopped...objects selected prior to quitting are still selected in the proper order...but if the user starts to select anything unselected..rather than starting at the next count..it starts at 1.
    Is there any way, upon quitting..to set the initialization counter to whatever number was last in the shift register..so that when the vi is started again...it will start up where it left off?
    Thank you in advance,
    cayenne

    I want to clarify. I'm assuming you have a config window or something that you open and close, but you don't actually stop the program? However, if this is your main window and you are stoppping the program then restarting, in reality you should have the program actually exit. The user should never have to press the run arrow in an executable to keep it consistent with other windows applications. It's (generally) confusing to an end user if they click the "x" and their program stays open. Then they have to click an arrow to make it start again. 
    CLA, LabVIEW Versions 2010-2013

  • Is there a way to automatically clear GLs against a lump sum bank statement

    Good day, everyone.
    I would like to ask if  there is anyone aware of a a process that can help resolve the following.
    Currently, whenever we execute an EFT payment run through f110, SAP knows to credit the relevant GL account. If, for example, there are 20 vendors in the run, SAP will post to the GL lines for each vendor. However, the bank statement we recieve is only in lump sum. Thus, when we upload the bank statement into SAP, only the lump sum amount is reflected in the GL, and if we want to clear it, we do so manually through F-03 for each Vendor account.
    While this is technically not wrong, it can be inefficient and time consuming if there are too many vendors in a particular run. I would like to know if there is a way to streamline this process by making it run automatically. Is there a way we can make it so that the system will know what to clear automatically, once the bank statement is uploaded?
    Your feedback will be greatly appreciated. Thank you! I hope you have a great day!
    Regards,
    Jonathan Concepcion

    Hi, Marssel
    Thank you for your response. We'll test  it once the opportunity arises and will let you know if it helped us
    Hi, Shanumonu
    Thank you for the link. We've read it before, and we would also like to try it out. However, we aren't familiar with using algorithms. May we ask if you are familiar with the step by step process of carrying it out from payment run up to the clearing process?
    Thank you! I hope you have a great day!
    Regards,
    Jonathan Concepcion

  • Is there a way to stop the OS from switching to a newly opened app?  I would like to be able to continue what I'm doing while I wait for an app to launch and not get interrupted by a forced entry into the app.

    Is there a way to stop the OS from switching to a newly opened app?  I would like to be able to continue what I'm doing while I wait for an app to launch and not get interrupted by a forced entry into the app.
    As an example, I'm going to my email in safari, while I wait for it to load, I open an excel document, and the OS decides excel should be the front app, so I go back to safari so I can enter my login info, but halfway through my password the OS decides that excel is where I should finish typing my password.
    VERY ANNOYING.  Can I open apps in the background?

    Thank you everyone for the suggestions. J D, I'm not a terminal fan, but I'm sure it works.  I found a solution that I can use in the dock from another post. 
    Annoyed by Mac OS
    Works great and allows me to maximize those multitasking minutes.

  • Is there a way to make state transitions/animations of a fl.control states - button for example ?

    Is there a way to make state transitions/animations of a fl.control states - button for example ?
    All I can do now is change the skin design and that's it, I can't animate between states like I can with Flash Builder skins. So is there a way to do that, any technique or I have to create a button component from scratch?
    Thanks!

    simplebuttons have upState etc properties you can use to assign movieclips to the 3 states.  you can use the currentFrame property of movieclps to (appear to) smoothly transition from one state to another.

  • I just bought a 25 dollar gift card on itunes in another state and now when i logged on and updated my ipod it says i dont have any credit. is there a way to get that back?

    i just bought a 25 dollar gift card in another state on itunes, spent 6 dollars and when i came back home and updated my ipod it said that i had no credit. is there any way to get that back?

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • Is there any way to archive correspondence customer statements in SAP

    Hi,
    1) Is there a way to archive customer statements for correspondence that SAP has provided? If not, do you know of any way that companies use to archive customer statements?
    2) Business Address Services -- Does it fall under the realm of functional or technical teams? The reason I ask is there are some customers that need to get their statements by mail and some by fax and some with both by fax and mail. I found out that this can be done by BAS. But it all looks too technical to me.
    3) Can customer statements only be generated using SAP script or are you sure you can use SMARTFORMS?
    Your replies are stongly appreciated and points will be rewarded.
    Thanks,
    Lakshman.

    Hi Laksman,
    Welcome to SDN !!!
    Well for your answer.
    1) to my knowledge most of the company save customer statement externally, either through paper or as pdf files.but you can generate customer statement as describe by SURE above.
    2) Well Business address services fall under functional even through it seems too technical.   But you need help to techinical team to execute the same. as in the end configuration needs to be done for output types to decide if its printed or send through Fax. etc.
    3) Smartforms can also be used but SAP script is the most commonly used.
    Hope this helps.
    Please assign points as way to say thanks
    3)

  • I have iphone4. I tried 2 update some applicaStions when I was in USA, updates installation were not complete. Coming back 2 my country Egypt, I am unable to complete the installation of the update; it is still waiting. Is there a way other application ?

    I have iphone4. I tried 2 update some applications when I was in USA, updates installation were not complete. Coming back 2 my country Egypt, I am unable to complete the installation of the update; it is still waiting. Is there a way 2 complete installation other than deleting the application that contains important data?

    I have iphone4. I tried 2 update some applications when I was in USA, updates installation were not complete. Coming back 2 my country Egypt, I am unable to complete the installation of the update; it is still waiting. Is there a way 2 complete installation other than deleting the application that contains important data?

  • Is there a way to link state buttons?

    Hi, I'd like to know if there's a way to link state buttons to activate their hover state together. For instance, when the link 'Pioneers of Design' is hovered over it turns red and links to another page. The yellow image loses the 25% white opaque screen on it when it's in hover state and also links to the same page. Both are in separate state buttons. Is there a way to link the two so that when I hover over the image the screen disappears but also turns the pioneers link red at the same time and vice versa when hovering over the pioneers link? I know both can be put into a state button together but that means that the massive space in between the image and text would create the hover state as apposed to only occurring when hovering over one or the other. Also, I don't know what would happen to this because the text links stay fixed when scrolling and the image links do not. Is there a way to do what I'm talking about? Thanks.
    I have the latest version of Muse CC 2014

    There's no built-in way to do disjointed rollovers, but if you look it up on the web, you should be able to understand how the respective CSS rules work and implement them as custom HTML or after publishing the site.
    Mylenium

  • TS1702 Every time I try to install an app of the App Store. The iPad refuses to install it and it just says waiting... For hours. Is there a way to fix this problem?

    I am unable to install any applications from the App Store. Every time I try to install an app the iPad refuses to install it and it just says waiting... For hours. Is there a way I can fix this? If so, how?

    I have posted these suggestions many times in the iOS forum and a number of these things have worked for other is the past. Maybe one of them will work for you.
    Tap the "waiting" icon and see if you can pause it. If it does pause, then tap it again and see if it will resume. If that works, repeat the same steps for each "waiting" icon.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered.
    If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • HT201209 We have a gift card for iTunes that was purchased in the United States and we live in Canada and iTunes won't allow us to redeem it. Is there any way we can exchange it?

    We have a gift card for iTunes that was purchased in the United States and we live in Canada and iTunes won't allow us to redeem it. Is there any way we can exchange it?

    Sorry, but as KP guessed, Apple will not exchange the card, and you are correct that you can't use a US iTunes card in Canada. You will need to give or sell it to someone in the US.
    Regards.

  • After today's auto-update I stupidly accepted returning Firefox to its default state. Is there any way I can undo this? (I've lost all my Speed Dial sites).

    After an auto-update installation this morning a dialog box appeared asking if I want Firefox to return to its default state. I stupidly said yes and now have lost all my Speed Dial thumbnails, URLs, and saved passwords. Is there a way I can undo this to return to the way Firefox was set up and working yesterday?

    Thanks for the response. Of course, I did not back up my profile, so I guess I'm going to have to recreate everything.

Maybe you are looking for