What will happen when I lock a view?

When I lock a view using lock table* statement, what will happen?*
Is the view get locked?
Or all the base tables are locked from which view is created?
Or no lock is applied?
:D

OrionNet wrote:
Sohil,
Exact what lock statement you are using.
If following statement used, then you will able to query (select) both the table and view.
??? Oracle table lock never keeps other users from querying a table, and a query never acquires a table lock. So I am not sure what were you trying to say. Anyway, locking a view locks all base tables:
SQL> create or replace
  2  view emp_dept_vw
  3  as
  4  select ename,dname
  5  from emp e,dept d
  6  where d.deptno = e.deptno;
View created.
SQL> select object_name
  2  from user_objects
  3  where object_id in(select id1 from v$lock where sid=(select sid from v$mystat where rownum=1))
  4  /
no rows selected
SQL> lock table emp_dept_vw in share update mode;
Table(s) Locked.
SQL> select object_name
  2  from user_objects
  3  where object_id in(select id1 from v$lock where sid=(select sid from v$mystat where rownum=1))
  4  /
OBJECT_NAME
DEPT
EMP
SQL> SY.

Similar Messages

  • I have Itunes on my computer, however its an older version and it says I can no longer update it. My problem is im considering buying an Iphone 5, but if it is running on a new version what will happen when I sync it to my itunes account?

    I have Itunes on my computer, however its an older version and it says I can no longer update it. My problem is im considering buying an Iphone 5, but if it is running on a new version what will happen when I sync it to my itunes account?

    aimzpoo wrote:
    I have Itunes on my computer, however its an older version and it says I can no longer update it.
    Highly unlikely that it says any such thing.
    Try telling us exactly what version of iTunes is installed and what if any messages appears when trying to update it.
    What Operating System is the computer running?

  • I have an iBook G4 10.4.11 and an iPhone 3GS.  Currently they sync.  What will happen when I move my .mac account to iCloud?

    I have and iBook G4 10.4.11 and an iPhone 3GS.  Currently they sync.  What will happen when I move my .mac account to iCloud?

    They will stop syncing with no workaround unless you sync by plugging the phone into your computer using a USB cable.

  • If I have converted my purchased iTunes songs to a lower bit rate what will happen when I join iTunes match? Will they match up or will these be stored as duplicates of the same song?

    If I have converted my purchased iTunes songs to a lower bit rate what will happen when I join iTunes match? Will they match up or will these be stored as duplicates of the same song?
    I ask because I primarily use my work laptop which has limited space so I usually convert my purchases to 160k from 256k in order to save space. I want to sign up for iTunes Match but I'd like to know before I do so I can understand how I will have to set up my library.

    crichton007 wrote:
    What I may do is start a brand new library there, copy my tracks from my work laptop using Home Share and then the script to get things in sync before starting over again there too.
    Why create a new library? Just add the tracks from the laptop to the existing library on the Mac.
    crichton007 wrote:
    I was just hoping to hear definitively whether or not there was some sort of intelligence built into iTunes Match that would match these up...
    How do you mean? If you down-convert purchased tracks you've fundamentally changed the files so iTunes can no longer recoginize them as "purchased." And, indeed, they no longer are since they are brand new files. Of course these new files will only be "matched" or "uploaded."

  • What will happen when I refresh transaction page?

    Hi Friends,
    I am getting the credit card details and other user info using JSP front end. I am passing these values to payment gateway page. What will happen when I keep on refreshing the payment gatway page when transaction is happening?
    regards,
    sampath

    the request will keep being reposted

  • What will happen when to Java 7 when Java 8 will roll out?

    Hi, we have an application that relies on Java 6 and 7 to work. What will happen when Java 8 will be released. Will the notification instantly pop for users of Java 6 and 7 to install Java 8 (if they have the autoupdate feature set to on)?
    This is quite important since our application is in end of life and won't get an update to work with Java 8.
    Thank you.

    Hi There ,
    Number of bugs wills increase with your current development if you move to 8 ,  most probably solutions will be  on  Google Search by that time  , then you just need to type "how to upgrade from JAVA 7 to JAVA 8 without any problems"  , just don't worry be happy !
    Thanks

  • What will happen when SGA_TARGET is more then SGA_MAX

    Hi,
    Can any one tell me what will happen when SGA_TARGET is more then SGA_MAX
    if this situation happens either SGA_TARGET will resize to SGA_MAX or SGA_MAX resize to SGA_TARGET or error will come ? ??
    thanks
    Jagadeesh.

    Can any one tell me what will happen when SGA_TARGET is more then SGA_MAX
    if this situation happens either SGA_TARGET will resize to SGA_MAX or SGA_MAX resize to SGA_TARGET or error will come ? ??Here is the ERROR
    SQL> startup
    ORA-00823: Specified value of sga_target greater than sga_max_size
    SQL>

  • What will happen when redo log file or archive log file, which is yet to be

    What will happen when redo log file or archive log file, which is yet to be read by logminer is corrupted? It seems that the captures process hangs between “Paused for flow control” and “Enqueuing Messages”. How to come out of this condition without recreating the captures process?
    Any clue is helpful
    Thanks in advance for your help.

    Basically you can't skip SCN since it will result in a data integrity issues (say you had skipped some inserts and later there will be some updates to a not replicated data).
    Streams maintain their own checkpoint tables with transaction related stuff. So there is no way you can jump over a range of SCN's without recreating capture.
    The only thing you can try - temporary give capture process a rule without any objects. But it will need to mine through the redo anyway.

  • What will happen when I put my jailbroken iPhone 4 in the computer?

    I have a jailbroken iphone 4 still running on 4.3.2 firmware and I would like to get rid of the jailbreak and update it to 5. I understand that it will take my jailbreak off, which I have no problem with, but I'm terrified to plug into the computer. The computer I used for my iphone and itunes got a virus and everything was wiped out. I recently got a new macbook, but none of my info for itunes is on there and I'm scared if I put my iphone into the macbook I'll lose all of contacts! That's what I'm worried about. I don't care about the music or the apps and not so much the pictures. I'm just scared to lose my contacts. So does anyone know what will happen since it's jailbroken and I'm on a completely different computer?

    When you jailbreak you void your warranty and give up any right to help on these forums.
    Google your problem.
    Good luck.

  • MY PC WAS REFORMATTED. WHAT WILL HAPPEN WHEN I CONNECT MY IPOD TO MY PC NOW

    Hi everyone!
    My pc was recently formatted, and now I want to add new songs to my iPod. What will happen to the songs in my iPod when i connect it to the newly formatted PC? (not all songs in my iPod are in my PC anymore).
    Is there a way I can get all my songs from my iPod to my PC? If there is a way, would the songs remain organized from the iPod to the PC? Coz I am very organized with my iTunes and iPod, every artist, genre, album title is fixed.
    Would the PC automatically update my iPod? I know there is a setting in iTunes where I could choose if iTunes updates my iPod automatically or manually, but I can't seem to find it. I'm afraid to connect my iPod now to my PC because this might erase and foul up my songs in my iPod.
    Thanks and please help.
    Chad

    If your iPod is set to update automatically you just need to take care when connecting back to your computer and an empty iTunes. If it is set to automatically update you will get a message that your iPod is linked to a different library and asking if you want to link to this one and replace all your songs etc, press *No*. Pressing "Yes" will irretrievably remove all songs from your iPod. Your iPod should appear in the iTunes source list from where you can change the update setting to manual and use your iPod without the risk of accidentally erasing it: Managing Your Songs Manually
    You can also use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on Windows hold down the Shift + Ctrl keys (on a Mac hold down the Option and Command (⌥ and ⌘) keys). This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 20 to 30 seconds depending on your computer. Then go to Edit>Preferences>iPod and check the "Manually manage songs and playlists" box.
    You can't sync or drag your music back directly from an iPod to iTunes, the transfer of music is designed by default to be one way from iTunes to iPod. However there is a manual method of accessing the iPod's hard drive and copying songs back to iTunes on Windows posted in this thread: MacMuse - iPod to iTunes
    If you prefer something more automated then there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod, this is just a selection. Have a look at the web pages and documentation for these, they are generally quite straightforward.
    YamiPod Mac and Windows Versions
    iGadget Windows Only
    iPodCopy Mac and Windows Versions
    iPod Access Mac and Windows Versions
    PodUtil Mac and Windows Versions
    iPodCopy Mac and Windows Versions
    PodPlayer Windows Only
    Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync again. I would also advise that you get yourself an external hard drive and back your stuff up in case you have problems again. External drives are comparatively inexpensive these days and you can get loads of storage for quite a small outlay.

  • What will happen when I restore my iPod?

    I have a few songs that I downloaded from the iTunes store, and cannot get them off my iPod Touch. See this thread for full discription of the problem.
    https://discussions.apple.com/message/16745511#16745511
    Anyway long story short, what exactly happens when I restore it. Do I lose my photos, emails, contacts. Will all of the songs be deleted so I could re-sync them from my computer, the way I want them?
    Can I also re-sync all my other stuff back to the iPod? This part is important to me.
    Or would it be faster to go to an Apple store and have them delete the songs, @ 100km from my house.
    iPod Touch 4th Gen 32GB - iOS 5.0.1 - iTunes 10.5.1.42 - Windows 7 x64

    See Here
    Backup and Set Up as New Device
    http://support.apple.com/kb/HT4137
    About Backups
    http://support.apple.com/kb/ht1766
    Also, See Here...
    http://support.apple.com/kb/HT4946

  • What will happen when I install Leopard?

    So when leopard comes out in a few weeks and I install it, what will happen to all the files and apps on my computer. Will they be gone? Will I have to redo everything?
    This is my first transition on a new OS X. I switched right aftr Tiger came out. What is going to happen?

    Fair comment!
    If you want the full nine yards:
    There are no guarantees, but following this procedure when installing updates and upgrades on your Mac will go a long way towards avoiding unpleasant after effects and ‘post-update stress disorder’.
    It is also worth noting that it is an extreme rarity for updates to cause upsets to your system, but they may well reveal pre-existing ones, particularly those of which you may have been unaware. If you are actually aware of any glitches, make sure they are fixed before proceeding further.
    So before you do anything else:
    If you can, make a full backup first.
    Turn off sleep mode for both screen and hard disk.
    1. Repair Permissions (in Disk Utility)
    2. Verify the state of your hard disk using Disk Utility. If any faults are reported, restart from your install disk (holding down the C key), go to Disk Utility, and repair your startup disk. Restart again to get back to your startup disk.
    At least you can now be reasonably certain that your system does not contain any obvious faults that might cause an update/upgrade to fail.
    3. Download the correct version of the COMBO update from the Apple download site. If your car runs on gasoline you would not want to fill the tank with diesel, so don’t try to install the PPC updater on an Intel Mac!
    If you prefer to download updates via Software Update in the Apple menu (which would ensure that the correct version for your Mac was being downloaded), it is not recommended to allow SU to install major (or even minor) updates automatically. Set Software Update to just download the updater without immediately installing it. There is always the possibility that the combined download and install (which can be a lengthy process) might be interrupted by a power outage or your cat walking across the keyboard, and an interrupted install will almost certainly cause havoc. Once it is downloaded, you can install at a time that suits you. You should make a backup copy of the updater on a CD in case you ever need a reinstall.
    Using the Combo updater ensures that all system files changed since the original 10.4.0 are included, and any that may have been missed out or subsequently damaged will be repaired. The Delta updater, although a temptingly smaller download, only takes you from the previous version to the new one, i.e. for example from 10.4.9 to 10.4.10. Software Update will generally download the Delta updater only. The preferable Combo updater needs to be downloaded from Apple's download site.
    Now proceed as follows:
    4. Close all applications.
    5. Unplug all peripherals except your keyboard and mouse.
    6. Install the update/upgrade. Do not under any circumstances interrupt this procedure. Do not do anything else on your computer while it is installing. Be patient.
    7. When it ask for a restart to complete the installation, click restart. This can take longer than normal, there are probably thousands of files to overwrite and place in the correct location. Do nothing while this is going on.
    8. Once your Mac is awake, repair permissions again, and you should be good to go!
    If your Mac seems slightly sluggish or ‘different’, perform a second restart. It can’t hurt and is sometimes efficacious!
    9. Open a few of your most used applications and check that all is OK. In this connection please remember that not all manufacturers of third party applications and plug-ins, add-ons, haxies etc, will have had time to do any necessary rewrites to their software to make them 10.4.10. compliant. Give them a weeks or two while you regularly check their websites for updates. This applies particularly to plug-ins for Safari 3.
    N.B. Do not attempt to install two different updates at the same time as each may have different routines and requirements. Follow the above recommendations for each update in turn.

  • What will happen when I remove controllers from mobility groups?

    Hi,
    I'm wondering what exactly will happen when I remove a controller from a mobility group?
    1) Will it require a reboot? (I don't think so, nothing I've found says so)
    2) Will it deauth/reauth the AP's connected (I don't think so, nothing I've found says so)
    3) Will it do anything else goofy?
    I have 2 RF groups spanning continents over low speed links. All that is transmitted over mobility groups is session data correct? Not usernames, not ??? What am I missing here? I'm banging my head against the wall because I can't figure out why someone would configure the system in this way.
    Setup:
    WLC 4404, WLC 2100's
    WCS 5.2.148
    11xx series AP's
    Radius Auth for domain users
    a few SSID's, one guest SSID, no DHCP on any of the controllers
    Thanks in advance,

    Hi,
    I'm wondering what exactly will happen when I remove a controller from a mobility group?
    1) Will it require a reboot? (I don't think so, nothing I've found says so)
    2) Will it deauth/reauth the AP's connected (I don't think so, nothing I've found says so)
    3) Will it do anything else goofy?
    I have 2 RF groups spanning continents over low speed links. All that is transmitted over mobility groups is session data correct? Not usernames, not ??? What am I missing here? I'm banging my head against the wall because I can't figure out why someone would configure the system in this way.
    Setup:
    WLC 4404, WLC 2100's
    WCS 5.2.148
    11xx series AP's
    Radius Auth for domain users
    a few SSID's, one guest SSID, no DHCP on any of the controllers
    Thanks in advance,

  • What will happen when I quit iphoto during repair?

    I force quit my iphoto because the whole computer was running slow.
    then when I open it again, it pops out a window asking to repair. I let it repair
    but it wasn't really moving and took so long. I was wondering what will happen
    if I quit iphoto now?

    Make a back up now, so things at least can't get any worse.
    Then quit and try again.
    If that fails:
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  

  • What will happen when quotation is rejected in the system

    when quotation is rejected in the system then what will happen
    a. price comparison can't be done
    b.still we can make Po's
    c. u can PRINT a rejection letter
    d. information can be stored in the purchase info record

    Hi,
    A and C.
    Regards,

Maybe you are looking for

  • Logout URL for 9iAS SSO Partner App

    Hi, I've successfully set up an HTMLDB application as a Single Sign On partner APP. The login works perfectly, except I'm a little confused about the logout URL. Currently it is set to the default in the Authentication scheme, but it doesn't work too

  • OSX 10.8 Install issues.

    I don't understand why this is so difficult for me. I'm having a problem upgrading to Mountain Lion from Lion on a MB Air. I've done almost everything except wipe, and renew, which i cannot do, because I don't have a Lion install disk. Here's what I'

  • 8800GTS OC, no TV output signal.

    Ran into a serious problem with a HDTV and a MSI 8800GTS OC gfx card. I had the computer hooked up via a Component cable (red, green, blue RCA) to the HDTV before, worked fine, untill I had to unplug it, to use a xbox360 for a weekend. now when I plu

  • Exceptions & Conditions

    Hello Experts, Would anyone be able to help me with information on exceptions & conditions on a web template with multiple reports. We have 5 queries on web template, with all queries from the same multiprovider. We need exceptions and conditions but

  • OBIEE 11g Installer

    Hi, I am trying to install OBIEE 11g and as per the installation document I need to have OBIEE Installer to start with installation. The document points to Download Oracle Business Intelligence 11g Installer .zip file from OTN at the following link: