Want to block reading

Hi
I have to find max value from a table and
insert max+1 into a table.
how can i block others sessions (may be exe. same query) from reading the table
while this query is executed.

I have to get (lowest missing value) from a table tab1 like :
tab1(col1 number) , col1 contains some numbers with missing values in bet.
query to find min value missing:
select min(a.col1) min_value
from tab1 a,tab1 b
where a.col1+1=b.col1(+)
and b.col1 is null
i will insert into the same table Tab1 min_value+1.
ideally i should not get duplicate values.
but when the query is executed thru different sessions , i am finding dup. vals....
So i suppose reading should be bloked for any session executing this query until i find the min value from tab1 and insert the new value(min+1) inside the table same Tab1 and commit.
Help..
Thanks in adv...
Message was edited by:
[email protected]

Similar Messages

  • I am recieving calls from a solicitor. Show up as no caller Id. I want to block all calls that do not show caller Id. Can I do that? I am on the do not call list

    How do I block all in coming calls that do not show on my caller Id. Phone says "no caller id" This particular call is from a place selling septic tank cleaner. They leave an automated voice mail. They are calling me over and over. I am on the national do not call list but that's no help. Because the caller id doesn't show anything I can't even report them.
    I remember in the past calling a number and before my call would go thru I would have to enter my phone number so the party I was calling knew who was calling them. That is what I want to do. I want to block all calls from "no caller id" "number unavailable" Just FYI my phone is an IPHONE 5 and I am on Verizon.
    Any help would be appreciated.
    Thanks

        itbitybob, good day!
    Thank you for taking the time to reach out to us today. I know how frustrating it can be getting phone calls from "no caller id" numbers. We do have an option that is called Family Base that will allow you to block unknown numbers, private numbers, or caller id. This link will provide you with the full details of this option. http://vz.to/1gIklla I hope this is able to answer your question. If you have further questions please feel free to reach back out to us at any time.
    KevinR_VZW
    Please follow us on Twitter @VZWSupport 

  • How do I add a site I want to block to the pop-up blocker?

    After I looked something up at Merriam-Webster Dictionayr's online site, I started getting a pop-up for something called Degrees.info, with a URL of
    http://cdn.optmd.com/V2/73950/157983/index.html?g=Af////8=&r=www.merriam-webster.com/dictionary/eponymous+
    I know how to add exceptions to my pop-up blocker, but not how to add a site I want to block. How do I block the above company's pop-up?

    Using "Forget About This Site" will remove all data stored in Firefox from that domain like bookmarks, cookies, passwords, cache, history, and exceptions, so be cautious and if you have a password or other data from that domain that you do not want to lose then make a note of those passwords and bookmarks.
    You can't recover from this 'forget' unless you have a backup of the involved files.
    It doesn't have any lasting effect, so if you revisit such a 'forgotten' website then data from that website will be saved once again.
    Firefox keeps JSON backups of the bookmarks in the bookmarkbackups folder, one each day that Firefox has been started up to a maximum of 10.
    *Bookmarks > Show All Bookmarks > Import & Backup > Restore > Choose File
    *http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
    Restoring a JSON backup will replace all existing bookmarks, so you lose bookmarks that were created at a time after this backup has been created.
    Note that the xx part in the file name of the JSON backup (bookmarks-####-##-##_xx.json) shows the number of bookmarks stored in the backup.

  • Implementing non-blocking read

    Hi all
    I have some doubts about implementing non-blocking io in my application.
    I am using Jsch library (an ssh implementation) to open an ssh connection with a host. The API only provides me with methods to open a connection and retreive the input & output streams. I want to make my read on inputstream non-blocking.In such a case is it possible to use nio for the purpose?
    If it's not possible then I am planning to use threading to make read() non-blocking. Here also i need some clarifications. I am planning to use a ThreadPoolExecutor to create a thread pool for reading data. SO whenever i have a read i'll assign this task to the pool which will use one of the free threads to execute the inputStresm.read().
    Now the question is if one of the threads in this pool blocks forever during a read since it didn't get any response from the other side, is there a way to stop that read and make that thread free again to execute more tasks? or will the thread block forever till the application is closed?
    In my case i cannot afford to have too many such blocked threads, since this application will not be restarted very often. Once it is started it can go on for may be days or months.
    Please suggest what would be best in my case taking into account performance as most important factor.
    Thanks in advance.
    Anu

    endasil wrote:
    First of all, let me state that I agree with the others in saying that I don't fully agree with your premises.
    That said, I believe that this does a non-blocking read based on the contract of InputStream.available() and .read(byte[], int, int):
    private int nonBlockingRead(InputStream in, byte[] buffer) throws IOException {
    return in.read(buffer, 0, Math.min(in.available(), buffer.length));
    If the InputStream is obtained from a JSSE socket then it is my understanding that available() always returns zero. This is allowed under the InputStream.available() contract as defined in the Javadoc - http://java.sun.com/javase/6/docs/api/java/io/InputStream.html#available() . If I am right then your code will never read anything from a JSSE socket InputStream and I would suspect that Jsch is using JSSE sockets.

  • How do I get to the rules section in iCloud mail on my iPad. I want to block just one email sender.w do I post

    How dom I get to the rules box in iCloud mail on my iPad. I just want to block one address.  Thanks

    The replies have helped me to conclude that in this instance apple have failed by a long shot to provide any reliable help.  I have exchanged chats with them and been told to just read variuos support notes which explain how to set the rules on an iPad.  After many exchanges I was not convinced they had grasped the real problem.  In the end they would appear to be wrong in the advice given.  Apple were no help at all, I gave your replies a HELP star because they helped me conclude that.
    The situation was and still is, the iPad was a gift to an 85 year old relative of mine, she loved it, really getting used to emails, photos,, web and so on.  Suddenly things started to go wrong, photos started failing freezing up during uploads and albums sharing etc.  in the end had to dump everything and with help call on Dropbox, all well now with that. Then an email from one of her eldly friends was delivered every 10 minutes, over 400 panic.  Nobody  gave any simple answer to her of the sender to stop the emails.  She called me, 500 miles away to see if I could help, yep I said until you get someone close to help you just block that email address, easy or so I thought, you know the trauma from there.
    I got the roundabout way to stop them with my own winbox and iPad., she as just got the iPad and is housebound.  I have offered that if she gives me her security info I'l  log into her iCloud mail in windows and set the rules and any other preferences for her.....highly desirable solution isn't it.
    I,ll say to anyone that apple and many of it apps are not user friendly and fail badly.  Sorry for being a bit longwiinded in this reply but it's given me some experience with this facility that again was not easy to master.

  • I want to Block some Sites in firefox. So, other local users cann't use those sites.

    I want to block few sites like utube and gmail form firefox form administrator. So, other users can't open those sites.

    Adware is installed.  Removing it will help.
    1. Use  free  AdwareMedic by clicking “Download ” from here
        http://www.adwaremedic.com/index.php
        Install , open,  and run it by clicking “Scan for Adware” button   to remove adware.
        Once done, quit AdwareMedic by clicking AdwareMedic in the menu bar and selecting
        “Quit AdwareMedic”.
                   or
        Remove the adware  manually  by following the “HowTo” from Apple.
        http://support.apple.com/en-us/HT203987
    2. Safari > Preferences > Extensions
         Turn those off and relaunch Safari to test .
         Turn those on one by one and test.

  • I want to block gambling applications on my iphone as i have a gambling addiction

    I want to block gambling applications on my iphone as i have a gambling addiction

    If you look in Settings-->General--> Accessibility, you will see there is an option called "restrictions" or something like that.
    Ask someone who knows you to set up a code unknown to you and select in apps to authorize only 4+, 9+, 12+ and 17+ apps, since gambling apps should be available to only 18+

  • My ipad was stolen and I didnt have an icloud, I want to block my personal information

    Please help me. I want to block my personal information because my ipad was stolen, i didnt create an icloud because I just bought it one week ago

    http://support.apple.com/kb/HT5668
    The above article discusses what to do if your phone is lost or stolen.  If the device did not have iCloud turned on prior to the loss, there is nothing that you can do beyond changing your passwords to you apple id.

  • Selection screen  -  i want to block the input in range-high  but i get '0'

    i have selection screen :
    SL_MONAT   FOR BKPF-MONAT NO-EXTENSION ,
    i want to block the high value input  , so i use  :
      LOOP AT SCREEN.
      IF SCREEN-NAME = 'SL_MONAT-HIGH'.
      screen-input = '0'.
    endif.
      endloop .
      When the screen display, the field is block but there is value '0' (zero) in the field.
    why?
      i just want to block the high option (by condition)  , with out any value inside  .
      when I delete the u201C loop at screenu201D  , no value display inside  .

    REPORT  ZSRK_073                                .
    TABLES : BKPF.
    SELECT-OPTIONS : SL_MONAT FOR BKPF-MONAT NO-EXTENSION .
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-NAME CS 'SL_MONAT-HIGH'.
          SCREEN-INPUT = 0.
          SCREEN-OUTPUT = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.

  • HT4865 I am wanting to block out my iphone as i am sure it is stolen.  I have remote wiped it, deactivated it, but want to render it unusable...thx

    I am wanting to block out my iphone as i am sure it is stolen.  I have remote wiped it, deactivated it, but want to render it unusable...thx

    Contact your wireless provider to see if they provide blacklisting.
    None in the US currently do altho' it is being discussed; some
    in Europe do. I do not know about the rest of the world. Be prepared
    to document ownership if your Carrier provides blacklisting.
    Remember that even if your Carrier will block your iPhone, that
    will only apply in your area - if the iPhone is used in a different
    part of the world, the blockage probably will not apply.
    Message was edited by: imobl to add last sentence.

  • I want to block unknown numbers which is not stored in the contacts

    I want to block unknown numbers which is not stored in the contacts

    Contact your carrier to see if they offer call blocking services.
    If you just don't want to be bothered, you can set a custom ringtone for all of your contacts, then create or download a "silent" ringtone and set a custom vibration pattern of "none" and assign them as the default ringtone and vibration pattern. This won't actually block the calls, but you won't hear it ring and they will roll to voicemail.

  • I want to block a website that is harassing me please help

    I want to block a website that is harassing me by popping up everytime I start firefox. I have already deleted cookies that I thought belonged to the website through firefox's browser but to no avail. This website creates its cookies as soon as I delete them. Then when I start/restart firefox browser the popup advertisement shows on my screen in a separate window all by itself. I cannot do anything to block this advertisement. How can I block this website? Here is the URL:
    http://c5.zedo.com//ads2/f/934185/3840/0/0/305006682/305006682/0/305/1573/zz-V2-Canada_1x1.html?a=s%3D1573%3Bg%3D27%3Bm%3D48%3Bw%3D8%3Bu%3DRGIOTiGt3SyyrNQNWTGbSVwk~070211%3Bi%3D0%3B;l=;p=
    Thanks very much in advance.

    You can password protect your website but ONLY if you publish it to a MobileMe account.

  • HT204053 i lost my ipad and i want to block it, how do i go about it?

    i lost my ipad and i want to block it, how do i go about it?

    If you've enabled to Find my iPhone feature and set up an iCloud account you can login at icloud.com and click the Find my icon.
    The device must be powered on and have an internet connection to be "found".

  • I want to block a number from calling and message me but how do i do this is there any app avalible for this

    I want to block a number from calling and message me but how do i do this is there any app avalible for this

    Sadly, as Call Bliss uses the built in Do Not Disturb feature, it requires that your screen be locked in order to function.
    I'm hoping (and have submitted feedback) that Apple will beef up DND to work even when the screen isn't locked.

  • When I open some pages, another web site opens. I want to block that site and its URL from opening.

    When I open some pages, another web site opens. I want to block that site and its URL from opening.

    BlockSite extension.
    https://addons.mozilla.org/firefox/3145/

Maybe you are looking for

  • Printer does not work

    I have a photosmart b210 plus. It can t connect to the nexwork which is 20 cm away It says Geen Filter MISLUKT I do not use MAC filtering on the router trying HP Officejet Pro 8600 e-All-in-One Printer - N911a

  • Glitch in on error statement?

    I think the following code has a glitch somewhere in the on error statement. When the user chooses cancel in the parts of the script as indicated I get two dialogs displayed--I only want the first one to display. I want the "There are no JPEG files t

  • Can't access iTunes Store: New Safari doesn't work on my version of Mac!

    Hey guys. I'm a new owner of an iPhone, and i was just planning to purchase an app. I opened the itunes store tab on my iTunes... i have to download the newest version of Safari. Okay. So i went and did that on the Mac Download site. I selected the L

  • If export an image from Lightroom 5 to Photoshop and make changes

    after export an image from Lightroom 5 to Photoshop and make changes to this image and then save in Photoshop as a tiff it does not show up in the original folder in Lightroom after exiting Photoshop

  • ORA-22812 problem

    Hi - We recently are experiencing ORA-22812 exception quite often, most of time it points to a specific table (sometimes point to a different table), as if this table was totally crashed. What puzzles me is that we did not use any nested table in the