Lock particular column

hai,
any one tell 'How to lock the particular column in table ".
but iam use like this
cursor c1 is select ename,sal,comm from emp where deptno=:dtno
for update of <<column name>>;
the above statement is not working (unable to update other columns).
Plz tell full scenario of locking method

I find it amusing and a sad reflection on your expertise, that you put OCP in your handle, claiming to be an Oracle Certified Professional, and yet you have no idea how locking works in Oracle.
> Plz tell full scenario of locking method
RTFM. Chapter 13, Data Concurrency and Consistency in the [url http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#i13945]Oracle® Database Concepts guide.

Similar Messages

  • While creating the parameter it doesnot pull all the data of that particular column

    Post Author: pvds
    CA Forum: Data Connectivity and SQL
    Hi everyone.
    i am using a sql query with a join condition to pull data in to crystal reports. I got that data which i want in to the report. but when i was trying to create a parameter with a dropdown of all the database values to a particular column it is not showing all the data from the report.
    for example  i have a column called state
    the column has many states displayed in the report but when i select that column and select browse data it shows only 1 state. with this i am anable to create a parameter with a dropdown list of all the state. i can see different states in the report but y i am not able to see when i browse the data or create a parameter? can any one answer me?
    i already created another report with a query on same table but i never faced this problem before.

    Post Author: V361
    CA Forum: Data Connectivity and SQL
    There is a limit to the number of Parameters that will show in a drop down... You can increase using the following.
    Check this KBase article on how to increase the number.
    http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2017238&sliceId=&dialogID=19032644&stateId=1%200%2019034607

  • Hotspot click for only some rows in ALV grid for a particular column ?

    Hi there,
            In ALV grid, we can make Hotspot enable for all rows in a specified column
    by specifying in the fieldcatalog with Hotspot attribute set as true.
    But I want to enable Hotspot only for certain rows in the particular column. I tried with MC_STYLE4_LINK , but I didnt got the required result.
    So , how could I achieve that in ALV grid.
    Points would be rewarded for helpful answers.
    Regards,
    Anil .

    Hi,
    You can do it for a column. Please refer to the code snippet below,
      DATA : it_fcat TYPE lvc_t_fcat,
             wa_fcat LIKE LINE OF it_fcat.
    CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
       EXPORTING
      I_BUFFER_ACTIVE              =
         i_structure_name             = 'SMMW_ALERTS_ICON_S'
      I_CLIENT_NEVER_DISPLAY       = 'X'
      I_BYPASSING_BUFFER           =
      I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = it_fcat
       EXCEPTIONS
         inconsistent_interface       = 1
         program_error                = 2
         OTHERS                       = 3
    LOOP AT it_fcat INTO wa_fcat.
      IF wa_fcat-fieldname = 'STATUS'.
        wa_fcat-hotspot = 'X'.
        MODIFY it_fcat FROM wa_fcat.
        CLEAR wa_fcat.
      ENDIF.
    ENDLOOP.
    CALL METHOD l_obj_alv_grid->set_table_for_first_display
          EXPORTING
        i_structure_name              = 'SMMW_ALERTS_ICON_S'
       CHANGING
            it_outtab                     = lt_alerts_st
            it_fieldcatalog               = it_fcat.
    In the above replace the structure 'SMMW_ALERTS_ICON_S' with your structure and column 'STATUS' with your desired column.
    Hope this helps,
    Regards,
    Vinodh

  • Query throws an error while drilldowning a particular column in production

    Hello Gurus,
    There is an issue in a query when I run it on portal and when I try to drill down one particular column, it throws an error. I am pasting the error message below for your reference. This query works fine when I run in Bex. It also works fine when I run it on Quality portal. It only throws an error when I run it on production portal. I have got the patches and PI checked with BASIS team, everything seems to be fine.
    Please help me out with this issue.
    Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    com.sap.ip.bi.base.application.exceptions
    ABEND: Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    ABEND: System error in program SAPLRRK0 and form LRECH_01-01- (see long text)
    Regards,

    Hi,
    There are a couple of threads on the same issue.
    Refer to these, just might be handy.
    Re: Uncaught_exception in Report Designer
    Program error in class SAPMSSY1 method  : UNCAUGHT_EXCEPTION in Report
    Good Luck!
    Sandeep Tudumu

  • How to create event alert for particular column get updated

    Hi every one.... plz help me
    How to create oracle event alert when particular column is update. plz help me.... Acutually i need email alert when ever list price for an item column in pricing table get updated+... plz. Its urgent.

    Oracle Event alert is based on update of specific table and not on specific column in table.
    However you can create a trgigger on table which is based on updat of column. And in this trigger you can send a mail using plsql.
    HTH

  • How to get details of a particular column in database.

    Hi dear friends,
    I am getting error while i try to get index information on a particular column.
    here is the code.. why it gives me error
    import java.sql.*;
    import java.util.StringTokenizer;
    public class TestIndex {
      final static String jdbcURL = "jdbc:timesten:client:CATSREPLICATION";
      final static String jdbcDriver = "com.timesten.jdbc.TimesTenClientDriver";
      final static String scheme = "CATSPROD";
      public static void main(java.lang.String[] args) {
        System.out.println("--- Database Viewer ---");
        try {
          Class.forName(jdbcDriver);
          Connection con = DriverManager.getConnection(jdbcURL, "", "");
          DatabaseMetaData dbmd = con.getMetaData();
          System.out.println("Driver Name: " + dbmd.getDriverName());
          System.out.println("Database Product: " + dbmd.getDatabaseProductName());
            // Get a list of all the indexes for this table
          // this MYSCHEME.TABLENAME has a composite unique key on 2 columns of it.
           * create table MYSCHEME.TABLENAME (id integer not null, name varchar(25) not null);
           * create unique key on MYSCHEME.TABLENAME(id,name);
            ResultSet indexList = dbmd.getIndexInfo(null,null,"MYSCHEME.TABLENAME",true,false);
            ResultSet columns = null;
            indexList.next();
            while(indexList.next()) {
              System.out.println(" Index Name: "+indexList.getString("INDEX_NAME"));
              String column = indexList.getString("COLUMN_NAME");
              System.out.println(" Column Name:"+column);
              columns =  dbmd.getColumns(null,"MYSCHEME","TABLENAME",column);
              System.out.println("---------------------------");
              System.out.println(columns.getString("IS_NULLABLE"));
              System.out.println("---------------------------");
            indexList.close();
          con.close();
        catch (ClassNotFoundException e) {
          System.out.println("Unable to load database driver class");
        catch (SQLException e) {
          System.out.println("SQL Exception: " + e.getMessage());
    it give error
    SQL Exception: Invalid cursor state
    why?
    thanks a lot
    Veena
    [ November 10, 2005: Message edited by: Veena Gupta ]

    indexList.next();
    while(indexList.next()) {You will be missing the first record due to this.
    columns =
    dbmd.getColumns(null,"MYSCHEME","TABLENAME",column);
    System.out.println("---------------------------");
    System.out.println(columns.getString("IS_NULLABLE"));You need to call columns.next() before using the getString(). If next() is not called, the cursor of the ResultSet is positioned before the first record and an attempting to read a record before positioning the cursor to the first record would result in an exception due to invalid cursor state.

  • Adding inputhelp to a particular column in tableview

    Hi experts,
      I need to display a particlular column by providing inputhelp in tableview.My requirement is to save the data entered in the tableview to the database. but in particlular coulmn v should select data from the inpuhelp.please help me out.Please anybody help me how should i make particular column as inputhelp in tableview. This is urgent requirement.
    Thanks in advance.
    Regards,
    sireesha

    Hi,
    Can anybody tell me whats wrong with the following script.and also can see the layout here.
    <script language="JavaScript" type="text/javascript">
              function pass_data()
                   if (top.window.dialogArguments) {
                   if ( document.form1.row_sel.value )
    top.dialogArguments.document.form1.tab01_6_2.value=document.form1.row_sel.value;
                   top.close();
    <htmlb:content design="design2003" >
      <htmlb:page title=" " >
        <htmlb:form id="form1" >
          <htmlb:tableView id              = "tab01"
                           table           = "<%= flights %>"
                           visibleRowCount = "14"
                           width           = "100%"
                           design          = "ALTERNATING"
                           footerVisible   = "TRUE"
                           onRowSelection  = "my_event"
                           selectionMode   = "SINGLESELECT" >
          </htmlb:tableView>
          <htmlb:inputField id      = "row_sel"
                            value   = "<%= rowselected %>"
                            visible = "false" />
    In this script am getting the following error:
    <b>top.dialogArguments.document.form1.tab01_6_2.value is null or not an object.</b>
    In the OnInputProcessing the event is getting triggered when i click on the row in tableview. And that selected value is also assigned to the inputfield.But in the layout am getting the above error.Can anybody pls help me out.I dont know the javascript.
    How should i pass this selected value to the inputfield in the parent window.
    Pls help me out.
    Thanks in advance
    Regards
    sireesha
    In the OnInputProcessing

  • Wanting data from a table without a particular column

    I need the data from a table, except the data for a particular
    column. I don't want to write the select list, as it would be
    too clumsy for a large table. Can anybody suggest a solution. I
    can certainly create a view, but I don't want that.

    Hi,
    Try this select Statement.
    set haeding off
    set feedback off
    spool file.sql
    Select 'Select ' from dual;
    Select Column_name || ',' from all_tab_columns Where table_name = 'EMPLOYEE' and Column_Name != 'DEPARTMENT_ID';
    Select '1' from dual;
    select 'From Employee;' from dual;
    Spool off
    regards,
    Ganesh R

  • How to implement tooltip for the list items for the particular column in sharepoint 2013

    Hi,
    I had created a list, How to implement tooltip for the list items for the particular column in SharePoint 2013.
    Any help will be appreciated

    We can use JavaScript or JQuery to show the tooltips. Refer to the following similar thread.
    http://social.technet.microsoft.com/forums/en/sharepointdevelopmentprevious/thread/1dac3ae0-c9ce-419d-b6dd-08dd48284324
    http://stackoverflow.com/questions/3366515/small-description-window-on-mouse-hover-on-hyperlink
    http://spjsblog.com/2012/02/12/list-view-preview-item-on-hover-sharepoint-2010/

  • Need help in hiding particular column of a table depending upon value

    Hi experts,
    I have developed a custom smartform and Print program.
    My problem is ..depending upon the data i recieve,...i have to hide a particular column.
    For example ... i have a table with 2 rows...one header and main row..This table has 3 column.
    I have to hide one of the column depending upon the data i recieve. So my output should have 2 rows and 2 columns.
    Please help.

    well vishwa u r right it wont work for multiple columns,
    then i guess this shud work.
    @thendral
    U can try like this create the rows with single column
    then print all ur text elements with spaces inserted manually between them with text editor then in conditions tab of the text elements specify ur condition according to what all u want to print.
    кu03B1ятu03B9к

  • Read from csv file and plot particular columns

    Hello,
    I`m a new user of Labview and here it comes...my first major problem.
    Maybe this has been discussed before. I’ve made a search to solve my problem first but I couldn`t find anything helpful so I `ve decided to post a new message.
    So here is my problem:
    I`m working in a small semiconductor lab where different types of nitrides are grown using proprietary reactor. The goal is to read the collected csv files from each growth in Labview and plot the acquired data in appropriate graphs.
    I have a bunch of csv files and I have to make a Labview program to read them.
    The first part of my project I`ve decided to be displaying the csv file (growth log file) under labview (which I think works fine).
    The second one is to be able to plot particular columns from the recipe in graphs in Labview (that one actually gives me a lot of trouble):
    1. Timestamp vs Temperature /columns B and D/
    2. Timestamp vs Gas flow /columns L to S/
    3. Timestamp vs Pressure /columns E,K,T,U,V/
    I`ve got one more problem. How can I convert the Timestamp shown in csv file to human readable date in labview? This actually is a big problem, because the timestamp is my x axis and I want to know at what time a particular process took place and I also want to be able to see the converted timestamp when displaying csv file at first. I`ve read a lot about time stamping in excel and timestamp in labview but I`m still confused how to convert it in my case.
    I don`t have problems displaying csv file under Labview. My problems are with the timestamp and the graphs.
    Sorry for my awful English.  I hope you can understand my problems since English is not my mother language. 
    Please find the attached files.
    If you have any ideas or suggestions I`ll be more than happy to discuss them.
    Thank you in advance.
    Have a nice day! 
    Attachments:
    growth log.csv ‏298 KB
    Read from growth log.vi ‏33 KB

    Hello again,
    I`m having problems with converting the first column in the attached above file Growth Log.csv.
    I have a code converting xl timestamp to time and using Index Array traying to grab a particular column out of it but the attached file is written in strings so I guess I have to redo it in array but I don`t know how.Would you help me with this one?
    Attachments:
    Xl Timestamp to Time.vi ‏21 KB

  • How to hide/remove Particular column from the payslip in ESS\MSS Portal overview table?

    Steps to be followed.
    1)Go to SE18
    2)Select Enhancement spot
    3)Give the Espot name 'HRESS_PAYSLIP'
    4)From left side double click on the Implementing Class 'CL_HRESS_PAYSLIP_BADI_STANDARD'.
    5)Within that double click on the method 'if_hress_payslip_badi~adjust_field_catalog'.
    6)AT the end of this method there will be 4 Lines of coding with the Loop and endloop. This is the code which
    is use to hide the column from ESS/MSS payslip overview.
    7) According to your requirements you should copy the same 4 lines code and hard code the particular column field name
    with the Implicit Enhancement.
    Below Code is for ur understanding:
      clear ls_field_usage.
       ls_field_usage-enabled = abap_false.
        ls_field_usage-visibility = cl_wd_uielement=>e_visible-none.
        modify ct_field_usage from ls_field_usage transporting enabled visibility
          where name eq 'Hardcode ur column field name'.
    All the best

    Hi,
    For making a page/iview invisible temporally without deleting from role, change page/iview property "Invisible in navigation areas" to "yes" then it will be hided in navigation areas.
    regards,
    Mahesh

  • To retrieve the mapping expression of a particular column of an Interface

    How to retrieve the mapping expression corresponding to a particular column(say BATCH_ID) in the target table of the interface in IKM...?
    Using getColList() method all the mappings in the interface are retrieved.
    Is there a way to get the mapping for a single column using an API in IKM...?
    Thanks,
    Soumya

    Hi Soumya,
    You can define a User Defined Flag on your target and use it to get your column.
    For example, select the UD1 checkbox for BATCH_ID.
    If your KM task, pass an additional parameter (pSelector) to getColList : "UD1"
    http://docs.oracle.com/cd/E14571_01/integrate.1111/e12645/odiref_reference.htm#CIADFCFJ
    Hope it helps.
    Regards,
    JeromeFr
    [Edit] DecaXD was faster ;)

  • How to merge the contents of two rows in ALV for particular column data

    Hi Experts,
    I have a requirement to merge various rows in a ALV Grid with same data for particular columns.
    Kindly Suggest,
    Thanks and Best Regards,
    Sahil

    Hi,
    Just fill the and pass the SORT table for what ever fields you want this functionality.
      DATA: lwa_sort  TYPE lvc_s_sort.
      CLEAR lwa_sort.
      MOVE: 'VBELN' TO lwa_sort-fieldname,
                   'X' TO lwa_sort-up,
    APPEND lwa_sort TO i_sort.
    Now pass this SORT table to ALV FM.
    Thanks,
    Vinod.

  • How do i prevent display of a particular column in ALV

    How do i prevent display of a particular column
    of a structure in ALV

    Hi Serdar,
    Please do let us know the link , as soon as your code sample is put in sdn.sap.com.
    I request the <b>veteran members</b> of this forum to <b>contribute to WebLogs</b> or <b>code samples</b>, since over the time, the same questions will be asked and instead of repeating the answers, we can direct them to Weblogs or Code Samples.
    There is an ABAP FAQ present in this site, which has given insight to so many things, that I have not even considered remotely possible.
    As seen today, there was a useful piece of code posted. Instead of posting the code in the forum, you can create it as a weblog and post it there.
    Regards,
    Subramanian V.

Maybe you are looking for