Read/write access to database

I am designing a database application using java and DB2.i want to know that if one user is accessing(write) a particular table in the database then how to prevent other users to do any update in the same table(give him only read option).if he try to update a message should pop up that other user is currently having the write permission on that particular table.
Thanx
Jigs

thanx for the help
i'll go through the documentation and get back if i have any doubts
thanks
jignesh

Similar Messages

  • How do I resolve this error message? The iPhoto library is on a locked volume.  Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library.

    How do I resolve this error message? The iPhoto library is on a locked volume.  Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library.

    Hi j,
    I don't know if this will work, but I'd try logging in to an admin account, going to your main library (not user library), opening it, opening Application Support, selecting iPhoto, hold down the command key and press i, click on the lock in the lower left, entering the password and making sure you have Read & Write privileges for System and Admin.

  • How do I allow users to create folders in a shared folder where we all then have read/write access to those new folders?

    I have three users who need to access a particular folder on one of our other Macs. The folder resides on the desktop of that particular Mac and it is set as "shared" with all of our accounts set to access the folder. When a user creates a new subfolder in that shared folder, the permissions are instantly set to allow the creator read/write access but the other users are only allowed read-only access. Is there a way to set the permissions so that any new folder created in that shared folder automatically gives read/write access to all accounts who are authorized access to that shared folder?

    You should be able to take the permissions you have set and "apply to enclosed items." I am trying to attach a picture of what this looks like so my apologies if it does not work.
    Highlight your folder you want and go to File>Get Info or command+I and at the bottom where it has Sharing and Permissions, click the lock button to authenticate. Click the gear and click "apply to enclosed items". See if that works.

  • How can I regain Full Read Write access on my BU Drive?

    Prior to Yosemite upgrade, I had Read Write access to my BU hard drive and now I don't !! I can't update files on my back up drive.  Help!  I tried looking through help files and I am listed as an administrator on my iMac.

    When you get info on the external drive, at the very bottom is a box you can check
    "Ignore ownership on this volume"...
    If you check that, then see if you can delete and move things around.
    If that doesn't work then try clicking on the + sign and adding you as an admin so you can Read & Write.

  • Read/write access on external drive set to none; can't see drive to change

    I was learning about profiles and permissions and set the Read/write access on my external drive to none. I wanted to protect my guests from accidentally viewing private files. I thought I was doing it for that profile only, but now I can't see the drive to change it back. I have already tried using the disk utitility and re mounting the drive, but still cannot see the drive icon on the desktop or anywhere. I know the drive is okay because I can see it in disk utility but disk utility says the read/write access is none.
    thanks for anyone that can advise me. I'm more of a PC expert, than a Mac expert.
    Gary

    Follow the instructions in this FAQ which are relevant to your situation; logging in as root is not needed.
    (18945)

  • Content Management Server-Read/Write Access

    If one is migrating to a stand alone Content Management Server, then how does one control the read/write access to this CMS for the employees of an organisation?
    Previously, the CMS was SAP Portal Based and hence the read/write access was controlled from the KM Content in the Portal.
    Is there anything else to be kept in mind  as pointers when migrating to a stand alone CMS?
    Any suggestions/ideas would be greatly helpful.
    Thanks
    Tania

    Please post your question on the CMS related forum and close this one.  Here is forum for SAP Business One Reporting & Printing.
    Thanks,
    Gordon

  • When starting Final Cut Pro 7.0.3 I am all of a sudden getting a message that says "One or more of the scratch disks don't have read/ write access" and now the app won't operate - how do I fix this so I can use Final Cut Pro?

    When starting Final Cut Pro 7.0.3 I am all of a sudden getting a message that says "One or more of the scratch disks don't have read/ write access" and now the app won't operate - how do I fix this so I can use Final Cut Pro?

    Glad you found the answer.  But something seems wrong.  FCP should be able to assign the scratch disk to your startup drive.  It's not advisable, but it should be possible.  You might want to try and figure out what's going on before what ever's going on cause other problems.

  • This message shows up when I try to access my auxiliary iPhone library: "The iPhoto library is on a locked volume. Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library."

    This message shows up when I try to access my auxiliary iPhone library: "The iPhoto library is on a locked volume. Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library."
    What did I do wrong?  I have been downloading all my photos into this same library since Janurary with no problems.

    What version of Mac OS X?
    Click the black Apple icon on the top left of the screen and select About This Mac. The next screen will show the information.

  • Destination u have specified does not have read/ write access- FCP 7 to Compressor problem!

    Hello everyone,
    I finally got a video finished in FCP 7, and sent it to Compressor.
    When I try to add a templete (any template, but particularly the Youtube), I get a red || Source    ! || message and when I hit the submit button I see: "The destination you have specified does not have read/ write access. Check to see if the folder is set to read-only, or check your write privileges."
    What the?
    I'm using Apple ProRes 422 files.
    I tried looking at the video files themselves, with Control + I. It looks like I have "Read & Write" access to me. I'm not sure what to do.
    I also tried looking in my preferences for Final Cut Pro stuff, and it was empty, so nothing to erase. I also repaired disk permissions with the Utility application.
    Well, thanks for any help.

    I haven't tried to save to any directory.
    As soon as I send the sequence from Final Cut to Compressor, I am prompted to drag the settings to the destination... but it won't let me submit it for the "read/ write" reasons above.
    So I never get the opportunity to save it, I just close out Compressor and go back to Final Cut Pro.
    I'm wondering if it has something to do with the scratch disk files. I converted the MOV files into ProRes files and keep them in my documents, then I just dragged and dropped them into the browser. I'm wondering if somehow this is affecting things, because I can't even find a scratch disk folder with files inside.
    I also tried to look at my Final Cut Pro preferences file, but I had no idea what I was looking at so I just left it alone.
    I really appreciate this by the way.

  • Read/write access when opening or saving file

    We keep getting the message "specified file not found,
    followed by the dreaded "read/write access denied" message when we
    try to open files (whether Freehand or Illustrator files) and
    sometimes when trying to save. We've tried to delete the prefs., as
    noted in other threads, but this hasn't worked for us. We are
    running Freehand MXa on PC's running Windows XP. We are trying to
    mostly open previously created Mac files.
    Can anyone help? Thanks very much!!!!

    I've not seen Word crash when selecting a smart folder - but it doesn't 'see' what's inside either. In other words when I select a smart folder in the file selector it appears to be an empty folder. And this isn't just a Word thing - lots of programs behave this way.
    I use smart folders from the desktop. I have a folder in my Dock which contains all my smart folders. I open a smart folder from there and then double-click the document I want to open. It is a work around obviously but it works

  • What happened to my thumbnail cache files? says they do not have read/write access.

    I was opeing Fc Studio 2, when the box popped up which said: Thumbnail cache files does not have read/write access. i pressed Ok and the program closed, so I can't fix the access. What do i do?

    Thumbnail cache files will be re-generated if you trash them, so you can simply delete them.
    A better question would be: Why is FCS reporting this?  At a minimum you should repair your permissions, and run Disk Warrior on your data drive. If the message returns, think about trashing your prefs.

  • Amount of data read / write in particular database

    Dear All,
    Hi,
    I am using mssql server 2005 on windows server 2008 sp2.
    I want to know how can I check what amount of data is written or read in a particular database
    in specific time in kb or mb.
    Regards,

    One way I can think of to do what you are looking for is to use the DMV sys.dm_io_virtual_file_stats.  By using that DMV you can figure out over a given period of time the amount of disk activity associated with a particular database file.  The
    thing the DMV doesn't show you is total activity because any activity associated with data cached by SQL Server won't be reflected.  It only reflects the activity associated with reads and writes that cannot be satisfied by the SQL Server cache.
    Anyway, try the following code.  It'll tell you how much data SQL Server is accessing from the disk:
    select db_name(f.database_id) as [db_name],
    f.name,
    f.physical_name,
    s.sample_ms,
    s.num_of_bytes_read,
    s.num_of_bytes_written,
    s.num_of_reads,
    s.num_of_writes
    from sys.master_files as f
    cross apply sys.dm_io_virtual_file_stats(f.database_id, f.file_id) as s
    where db_name(f.database_id) = 'MyDatabase'

  • How to create a read only access for database

    I am developer but willing to lear some of the dba tasks. I would like to know the steps that i need to take to creat a read only access database that is going to be used for the report development.
    I really appreciate if you tell me all the steps I need to create that. I have a full right to do this in the develpment database. thanks

    thank you for your reply but it does not tell me how i can set up a read only access acccount for the user. Do i need to create a role and assign the role to the users?

  • Read/write access for mac mini server

    I am having issues that users on my network have read/write permission, but if one saves a file to the network others can't open the file until I go to the mac mini to reset and allow all users to have these permissions again.  How can I set this so that I am not going to the server anytime a user creates a new file.

    Sounds like you are not using ACLs.  When you set up your shares, there are three permission sets by default.  They are the owner, the group, and other.  These are the POSIX permissions and they do not inherit.  You need to edit your share and add at least one more permission entry.  This one will be your ACL (Access Control List).  Use a group and set the group to the permission you want, likely read/write.
    Now once this is done, you will need to propagate these permissions through the existing files.  To do this, you need to open Server.app > choose your server from the left sidebar > select the Storage tab > drill down to your shared folder > use the Gear menu to use propagate.  Then send all the ACLs through all your files.
    Unmount all shares on workstations and connect again.
    R-
    Apple Consultants Network
    Apple Professional Services
    Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

  • FileStream locks read & write access. How can I get around this?

    I'm progressively downloading a video from a server using URLStream and FileStream classes to download and save the data to disk. While this is happening, I would also like to begin playback of the video so the user can progressively watch while this is happening. The player uses a standard FLVPlayback (version 2.5) control to load and playback videos. Unfortuantely, FileStream creates a read & write lock on the file and nobody has thus no one else can have access to it. This is a little bezarre to me because a read lock on a download is counter-intuitive, especailly for my application. I looked around the API docs but I could not find an option where I can manually set the locking mechanism on a file. Is this at all possible in Adobe AIR?

    nef9877 wrote:
    If I deathorise aall comuters and then re-authorise only the ones I want to use would this do it?
    Yes, that's how it's done.
    Read the warning about the number of times you can do this each twelve months. It can only be done so many times per year (I forget the exact wording).

Maybe you are looking for

  • Ssrs 2008 grand totals of report

    In an SSRS 2008 report, I am placing a grand total amount in the report footer since I want the amount at the very end of the report. The problem is when the report is exported to PDF, the amount is a long ways from where the detail lines are located

  • Procedure to cancel a Billing document

    Hi All, I like to get the procedure to cancel a billing document whose accounting document shows a status "Cleared". Is this possible? If so how to proceed. If I need to cancel the accounting document and then billind document, kindly guide me to pro

  • Changing the heading of free chars  in navigation pane

    Hi, Whatever charcterstics are there in free chars column in Query designer will be appearing  in the free chars column in navigation pane .Is it possible to change the heading of free chars to some other caption in navigation pane Thanks Sany

  • What can I do about my iphoto crashing?

    iPhoto keeps crashing everytime I open it. What can I do to fix this?!?!?! The error message is : Process:         iPhoto [6163] Path:            /Applications/iPhoto.app/Contents/MacOS/iPhoto Identifier:      com.apple.iPhoto Version:         9.2.3

  • Connecting to flat screen tv

    I am trying to connect my Macbook Pro to my LG 32in Flat screen using an HDMI (Belkin) cable. Done everything supposed to do including turning off macbook and tv during connection. when all said and done and correct connections made (HDMI 1 port on T