How to update data according to row_number in sql

hi,
after deleting an item I need to update data according to row_number.
in oracle database I have a code like this... working perfectly..
update regitem set line_sn= LPAD(ROWNUM,2,'0') where doc_no='" & mydocno & "'
how it will work in sql server...
thanks..........

There is an example at the below link which uses the Transact SQL ROW_NUMBER():
http://stackoverflow.com/questions/6729616/sql-server-how-to-update-a-column-for-a-desired-row-number
Paul ~~~~ Microsoft MVP (Visual Basic)

Similar Messages

  • How to set date according to hjrah calender : nls_calender='English Hijrah

    Hello frnds
    how to set dates according to "English Hijrah".
    I have set my database nls_calender='English Hijrah' ,
    as many people aware that Hijrah dates are depend on moon ,
    so I want to know how to set the calender for next month date in the database according to "English Hijrah"
    I have set my database calender like this :
    Example 3-17 NLS_CALENDAR='English Hijrah'
    Set NLS_CALENDAR to English Hijrah.
    SQL> ALTER SESSION SET NLS_CALENDAR='English Hijrah';
    SELECT SYSDATE FROM DUAL;
    You should see output similar to the following:
    SYSDATE
    24 Ramadan 1430
    now I want to set the next month calender ...
    I think my question is litte bit confusing

    my db version 10.2.0.3
    and above metalink id 121061.1 , I have tried from this document , but the change is not effected ,
    the steps what I have down ;
    1) shutdown the database
    2)$oracle_home/nls/lxecal.nlt
    i have created new file , and the contents is: syntax or algorithm
    DEFINE calendar
    calendar_name="English Hijrah"
    DEFINE calendar_deviation
    deviation_data= {
              <"MAY-30-2009 ad">:11
    ENDDEFINE calendar_deviation
    ENDDEFINE calendar
    note: i have to subract 1 day from current month
    3) run the file
    $ lxegen
    4) sql>startup
    5) sql>ALTER SESSION SET NLS_CALENDAR='English Hijrah';
    6) sql>select sysdate+2 from dual;
    SYSDATE+2
    30 Jamada El Oula 1430
    but my expected output should be like this
    SYSDATE+2
    01 Jamada El Thaniah 1430
    note: that is after 2 days from today I need 1 st of next month , but its showing 30 th of present month , bcoz according to arabic month , present month is for 29 days only...

  • How to export data with column headers in sql server 2008 with bcp command?

    Hi all,
    I want know "how to export data with column headers in sql server 2008 with bcp command", I know how to import data with import and export wizard. when i
    am trying to import data with bcp command data has been copied but column names are not came.
    I am using the below query:-
    EXEC master..xp_cmdshell
    'BCP "SELECT  * FROM   [tempdb].[dbo].[VBAS_ErrorLog] " QUERYOUT "D:\Temp\SQLServer.log" -c -t , -T -S SERVER-A'
    Thanks,
    SAAD.

    Hi All,
    I have done as per your suggestion but here i have face the below problem, in print statment it give correct query, in EXEC ( EXEC master..xp_cmdshell @BCPCMD) it was displayed error message like below
    DECLARE @BCPCMD
    nvarchar(4000)
    DECLARE @BCPCMD1
    nvarchar(4000)
    DECLARE @BCPCMD2
    nvarchar(4000)
    DECLARE @SQLEXPRESS
    varchar(50)
    DECLARE @filepath
    nvarchar(150),@SQLServer
    varchar(50)
    SET @filepath
    = N'"D:\Temp\LDH_SQLErrorlog_'+CAST(YEAR(GETDATE())
    as varchar(4))
    +RIGHT('00'+CAST(MONTH(GETDATE())
    as varchar(2)),2)
    +RIGHT('00'+CAST(DAY(GETDATE())
    as varchar(2)),2)+'.log" '
    Set @SQLServer
    =(SELECT
    @@SERVERNAME)
    SELECT @BCPCMD1
    = '''BCP "SELECT 
    * FROM   [tempdb].[dbo].[wErrorLog] " QUERYOUT '
    SELECT @BCPCMD2
    = '-c -t , -T -S '
    + @SQLServer + 
    SET @BCPCMD
    = @BCPCMD1+ @filepath 
    + @BCPCMD2
    Print @BCPCMD
    -- Print out below
    'BCP "SELECT 
    * FROM   [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername'
    EXEC
    master..xp_cmdshell
    @BCPCMD
      ''BCP' is not recognized as an internal or external command,
    operable program or batch file.
    NULL
    if i copy the print ourt put like below and excecute the CMD it was working fine, could you please suggest me what is the problem in above query.
    EXEC
    master..xp_cmdshell
    'BCP "SELECT  * FROM  
    [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername '
    Thanks, SAAD.

  • How to update data in a xml file.

    I am able to retrieve data from a xml file but not able to update data. Also how can i add or delete node from a xml file.

    Hi,
    For some time I have also been trying to do the same thing with no success. So far I have tried a few approaches like $.post functions $.ajax post functions and HTML5 fileWriter functions. I am not well aware of the web development techniques but as fas as I understand the post or update of the json file should be done on the serverside mainly because of security issues. I am not sure how appbuilder works entirely and if there is any way to do this.
    Have you managed to find a solution ?
    (P.S. my goal is to update my chart data which is of course json file. So the idea here is to get some values from the user input and update the json file values then refresh the chart and display it with the new values).
    Best Regards,
    A.Dyankov.

  • How to Update data in ZMMPOAMEND

    Hi all,
    Here in my client place, we r doing Bank Project. In that Project we are maintaining Forward Contract No. Rate, Date in one T.Code of TX01 with the assignment of Purchase Order No. & its referenece No. It should be updated in above mentioned table of ZMMPOAMEND. But it is not updating in that table.
    How to update in that table? Anybody known plase let me know..........

    Hi,
    This table is a user-developed (Z-table) entity. Therefore, the update of this table is performed via some development your ABAP team created. You have to ask your ABAP team to help you with this.
    Regards,
    Eli

  • How to update data and create notification no using isr fm.

    Hi,
    Without creating the scenario in SFP, is it possible to update data directly in ISR_SPECIAL_DATA_SET,
    i want to use fm ISR_SPECIAL_DATA_GET in my program.
    i'm trying to achive same using ISR_NOTIFICATION_CREATE and built general, special table and long text to get a
    notification number. but  notification no is not creating ,  return msg is  ( E I 421   |Notification type  not defined ) even i'm passing currect notif type.                            
    Regards
    Ali

    Hi vijay,
    Nice to see your reply, I think, you are right...
    The Fm ISR_SPECIAL_DATA_GET already used in my various reports, Workflows etc.
    And I have a custom WebDynpro java based application which have similar data and have custom notification no. + (in this case probably i need to create new fm ZISR_SPECIAL_DATA_GET to use in above report and wf)+
    To avoid the rework and minimized the code Iu2019m trying to create notification no using standard fm and link custom WD data with ISR_SPECIAL_DATA_GET.
    Please let me know how to proceed with that
    Regards
    Raza

  • Update data according to another table

    <p style="margin-top: 0; margin-bottom: 0"><font face="Arial" size="2">Hi,</font></p>
    <p style="margin-top: 0; margin-bottom: 0"> </p>
    <p style="margin-top: 0; margin-bottom: 0"><font face="Arial" size="2">I would like to update data in a table according to another table.</font></p>
    <p style="margin-top: 0; margin-bottom: 0"><font face="Arial" size="2">Concretely, the data are to be updated if they are different in the other table.</font></p>
    <p style="margin-top: 0; margin-bottom: 0"> </p>
    <p style="margin-top: 0; margin-bottom: 0"><font face="Arial" size="2">Here is a part of my procedure :</font></p>
    <font SIZE="2">
    <p style="margin-top: 0; margin-bottom: 0"></font><font face="Courier New"><font SIZE="2" COLOR="#0000f0">UPDATE</font><font SIZE="2"> </font></font><font SIZE="2" COLOR="#808000"><font face="Courier New">GLMASTER_SAVE</font></p></font>
    <font SIZE="2">
    <p style="margin-top: 0; margin-bottom: 0"></font><font face="Courier New"><font SIZE="2" COLOR="#0000f0">SET</font><font SIZE="2">    </font><font SIZE="2" COLOR="#808000">GLMASTER_SAVE</font><font SIZE="2" COLOR="#0000f0">.</font><font SIZE="2">ACTIVE_STATUS</font><font SIZE="2" COLOR="#0000f0"> =</font><font SIZE="2"> GLMASTER</font><font SIZE="2" COLOR="#0000f0">.</font></font><font SIZE="2"><font face="Courier New">ACTIVE_STATUS</font></p>
    <p style="margin-top: 0; margin-bottom: 0"></font><font face="Courier New"><font SIZE="2" COLOR="#0000f0">WHERE</font><font SIZE="2"> </font><font SIZE="2" COLOR="#808000">     GLMASTER_SAVE</font><font SIZE="2" COLOR="#0000f0">.</font><font SIZE="2">COMPANY</font><font SIZE="2" COLOR="#0000f0"> =</font><font SIZE="2"> GLMASTER</font><font SIZE="2" COLOR="#0000f0">.</font></font><font SIZE="2"><font face="Courier New">COMPANY</font></p>
    <p style="margin-top: 0; margin-bottom: 0"></font><font face="Courier New"><font SIZE="2" COLOR="#0000f0">       AND </font><font SIZE="2" COLOR="#808000">GLMASTER_SAVE</font><font SIZE="2" COLOR="#0000f0">.</font><font SIZE="2">ACCT_UNIT </font><font SIZE="2" COLOR="#0000f0">=</font><font SIZE="2"> GLMASTER</font><font SIZE="2" COLOR="#0000f0">.</font></font><font SIZE="2"><font face="Courier New">ACCT_UNIT</font></p>
    <p style="margin-top: 0; margin-bottom: 0"><font SIZE="2" COLOR="#0000f0" face="Courier New">     </font></font><font face="Courier New"><font SIZE="2" COLOR="#0000f0">  AND </font><font SIZE="2" COLOR="#808000">GLMASTER_SAVE</font><font SIZE="2" COLOR="#0000f0">.</font><font SIZE="2">ACCOUNT</font><font SIZE="2" COLOR="#0000f0"> =</font><font SIZE="2"> GLMASTER</font><font SIZE="2" COLOR="#0000f0">.</font></font><font SIZE="2"><font face="Courier New">ACCOUNT</font></p>
    <p style="margin-top: 0; margin-bottom: 0"><font SIZE="2" COLOR="#0000f0" face="Courier New">     </font></font><font face="Courier New"><font SIZE="2" COLOR="#0000f0">  AND</font><font SIZE="2" COLOR="#808000"> GLMASTER_SAVE</font><font SIZE="2" COLOR="#0000f0">.</font><font SIZE="2">SUB_ACCOUNT</font><font SIZE="2" COLOR="#0000f0"> =</font><font SIZE="2"> GLMASTER</font><font SIZE="2" COLOR="#0000f0">.</font></font><font SIZE="2"><font face="Courier New">SUB_ACCOUNT</font></p>
    <p style="margin-top: 0; margin-bottom: 0"><font SIZE="2" COLOR="#0000f0" face="Courier New">     </font></font><font face="Courier New"><font SIZE="2" COLOR="#0000f0">  AND</font><font SIZE="2" COLOR="#808000"> GLMASTER_SAVE</font><font SIZE="2" COLOR="#0000f0">.</font><font SIZE="2">ACTIVE_STATUS</font><font SIZE="2" COLOR="#0000f0"> <></font><font SIZE="2"> GLMASTER</font><font SIZE="2" COLOR="#0000f0">.</font><font SIZE="2">ACTIVE_STATUS</font></font><font SIZE="2" COLOR="#0000f0"><font face="Courier New">;</font></p></font>
    <p style="margin-top: 0; margin-bottom: 0"> </p>
    <p style="margin-top: 0; margin-bottom: 0"><font face="Arial" size="2">The data (field </font><font SIZE="2"><font face="Courier New">ACTIVE_STATUS</font><font face="Arial">)</font></font><font face="Arial" size="2"> are to be updated in the table </font><font SIZE="2" COLOR="#808000" face="Courier New">GLMASTER_SAVE</font><font SIZE="2" face="Arial"> if the same field is different in the table </font><font SIZE="2" face="Courier New">GLMASTER</font><font SIZE="2" face="Arial">.</font></p>
    <p style="margin-top: 0; margin-bottom: 0"> </p>
    <p style="margin-top: 0; margin-bottom: 0"><font face="Arial" size="2">Thank you for your help.</font></p>
    <p style="margin-top: 0; margin-bottom: 0"> </p>
    <p style="margin-top: 0; margin-bottom: 0"><i><b>
    <font face="Arial" size="2" color="#008080">Patrick</font></b></i></p>

    UPDATE GLMASTER_SAVE
    SET    GLMASTER_SAVE.ACTIVE_STATUS =
    (SELECT GLMASTER.ACTIVE_STATUS
    FROM GLMASTER
    WHERE      GLMASTER_SAVE.COMPANY = GLMASTER.COMPANY
           AND GLMASTER_SAVE.ACCT_UNIT = GLMASTER.ACCT_UNIT
           AND GLMASTER_SAVE.ACCOUNT = GLMASTER.ACCOUNT
           AND GLMASTER_SAVE.SUB_ACCOUNT = GLMASTER.SUB_ACCOUNT
           AND GLMASTER_SAVE.ACTIVE_STATUS <> GLMASTER.ACTIVE_STATUS)
    WHERE EXISTS
    (select 1 from glmaster
    WHERE      GLMASTER_SAVE.COMPANY = GLMASTER.COMPANY
           AND GLMASTER_SAVE.ACCT_UNIT = GLMASTER.ACCT_UNIT
           AND GLMASTER_SAVE.ACCOUNT = GLMASTER.ACCOUNT
           AND GLMASTER_SAVE.SUB_ACCOUNT = GLMASTER.SUB_ACCOUNT
           AND GLMASTER_SAVE.ACTIVE_STATUS <> GLMASTER.ACTIVE_STATUS);
    Regards
    Dmytro Dekhtyaryuk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to update  data including '@' charecter.

    Hi All,
    i am running this update script as .sql from command prompt (windows). but i am getting .....error like...Unknown command -
    SP2-0734: unknown command beginning "Customer: ..." - rest of line ignored.
    SP2-0734: unknown command beginning "Offer Numb..." - rest of line ignored.
    SP2-0734: unknown command beginning "\@aresp_li..." - rest of line ignored.
    SP2-0734: unknown command beginning "Country: \..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    the script is as follows......update.sql
    UPDATE EMAIL
    SET
    EMAIL_SUBJECT='Document Awaiting Your Approval: @appr_document_no - @prop_num - @cust_name',
    EMAIL_BODY='Click on the link below to view and approve the document.
    Customer: @cust_name
    Offer Number: @prop_num
    @aresp_link
    Country: @country_id' WHERE EMAIL_ID='1234';
    please guide me how to update this data including '@' charecter.
    Thanks in Advance.

    user9041629 wrote:
    Hi All,
    i am running this update script as .sql from command prompt (windows). but i am getting .....error like...Unknown command -
    SP2-0734: unknown command beginning "Customer: ..." - rest of line ignored.
    SP2-0734: unknown command beginning "Offer Numb..." - rest of line ignored.
    SP2-0734: unknown command beginning "\@aresp_li..." - rest of line ignored.
    SP2-0734: unknown command beginning "Country: \..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    the script is as follows......update.sql
    UPDATE EMAIL
    SET
    EMAIL_SUBJECT='Document Awaiting Your Approval: @appr_document_no - @prop_num - @cust_name',
    EMAIL_BODY='Click on the link below to view and approve the document.
    Customer: @cust_name
    Offer Number: @prop_num
    @aresp_link
    Country: @country_id' WHERE EMAIL_ID='1234';
    please guide me how to update this data including '@' charecter.
    Thanks in Advance.post top 20 or so line from file

  • How to update date in a table from another database

    Hello,
    I am trying to code a way to Update my Testing database from another database. In the coding below the database that has the updated data ends in Restore.
    Use ClientDB_MASTER_Restore
    Truncate Table ClientDB_MASTER_Testing.dbo.Activity_Tracking_AZ
    GO
    SELECT * INTO ClientDB_Master_Testing.dbo.Activity_Tracking_AZ
    FROM Activity_Tracking_AZ
    Go
    I know with this Technique the table must be truncated if not deleted first.  There is probably a better way to do this which I'm very open to.  I'm also looking for coding that will roll back any changes made should an error occur.
      As always, any help is greatly appreciated.
    David92595

    USE ClientDB_MASTER_Testing
    go
    SET XACT_ABORT ON
    BEGIN TRANSACTION
    Truncate Table dbo.Activity_Tracking_AZ
    -- SET IDENTITY_INSERT dbo.Activity_Tracking_AZ ON
    INSERT dbo.Activity_Tracking_AZ (col1, col2, ...)
    SELECT col1, col2,
    FROM ClientDB_MASTER_Restore.dbo.Activity_Tracking_AZ
    -- SET IDENTITY_INSERT dbo.Activity_Tracking_AZ OFF
    COMMIT TRANSACTION
    If you find it boring to type the column lists, just find the table in Object Explorer, and drag the columns node to where you want the column list.
    You need the SET IDENTITY_INSERT command if the table has an IDENTITY column.
    By wrapping the code in a transaction, you are not left with an empty table if the INSERT fails. The command SET XACT_ABORT ON makes sure that the batch is aborted and rolled back in case of an error.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How to update data when primary key is set through for update cursor

    Dear friends,
    I have tried to update data in the table through forms using cursor for update and i have given the plsql i have used please help me where i do mistake.
    DECLARE CURSOR EMP IS
    SELECT EMPNO,EMPNAME,FATHERNAME,COMMUNITY,SEX,BILLUNIT,BIRTHDATE,RLYJOINDATE,RETIREMENTDATE
    FROM PRMAEMP WHERE BILLUNIT=:CTRL.BILLUNIT AND SERVICESTATUS='SR'ORDER BY DESIGCODE,SCALECODE
    FOR UPDATE;
    BEGIN
    GO_BLOCK('EMP_DETAILS');
    SYNCHRONIZE;
    FOR I IN EMP
    LOOP
    I.BILLUNIT:=:EMP_DETAILS.BILLUNIT;     
    I.EMPNO:=:EMPNO;
    I.EMPNAME:=:EMPNAME;
    I.FATHERNAME:=:FATHERNAME;
    I.COMMUNITY:=:COMMUNITY;
    I.SEX:=:SEX;
    I.BIRTHDATE:=:BIRTHDATE;
    I.RLYJOINDATE:=:RLYJOINDATE;
    I.RETIREMENTDATE:=:RETIREMENTDATE;
    DOWN;
    END LOOP;
    COMMIT;
    END;
    your help is needed immediately

    DECLARE CURSOR ABC IS
       SELECT EMPNO,
              EMPNAME,
              FATHERNAME,
              COMMUNITY,
              SEX,
              BILLUNIT,
              BIRTHDATE,
              RLYJOINDATE,
              RETIREMENTDATE
    FROM PRMAEMP
    WHERE BILLUNIT=:CTRL.BILLUNIT
    AND SERVICESTATUS='SR'
    ORDER BY DESIGCODE,SCALECODE
    FOR UPDATE OF COMMUNITY;
    V_EMPNO           PRMAEMP.EMPNO%TYPE;
    V_EMPNAME         PRMAEMP.EMPNAME%TYPE;
    V_FATHERNAME      PRMAEMP.FATHERNAME%TYPE;
    V_COMMUNITY       PRMAEMP.COMMUNITY%TYPE;
    V_SEX             PRMAEMP.SEX%TYPE;
    V_BILLUNIT        PRMAEMP.BILLUNIT%TYPE;
    V_BIRTHDATE       PRMAEMP.BIRTHDATE%TYPE;
    V_RLYJOINDATE     PRMAEMP.RLYJOINDATE%TYPE;
    V_RETIREMENTDATE  PRMAEMP.RETIREMENTDATE%TYPE;
    BEGIN
       GO_BLOCK('EMP');
       SYNCHRONIZE;
       OPEN ABC;
       LOOP
          FETCH ABC INTO .... /*yOU NEED TO MENTION YOUR VARIABLES HERE*/;
          UPDATE PRMAEMP
          SET BILLUNIT= :EMP.BILLUNIT,
              EMPNO= :EMPNO,
              EMPNAME= :EMPNAME,
              FATHERNAME= :FATHERNAME,
              COMMUNITY= :COMMUNITY,
              SEX= :SEX,
              BIRTHDATE= :BIRTHDATE,
              RLYJOINDATE= :RLYJOINDATE,
              RETIREMENTDATE= :RETIREMENTDATE
          WHERE CURRENT OF ABC;
          EXIT WHEN ABC%NOTFOUND;
       END LOOP;
       CLOSE ABC;
    END;
    COMMIT;
    END;Cheers
    Sarma.

  • How to update data returned using REF CURSOR

    Hi all,
    I am trying to update updated data in a gridview but the update button seem to do nothing as i retrieve data using REF CURSOR.
    Let me describe the architecture of my application first. I'm trying to implement best practice whenever possible. I am following the data access tutorial published in www.asp.net , the only difference is that i have an Oracle (10g) database. So I split my application into three layers, data access, business logic, and presentation layer. I'm also writing all queries in an Oracle package.
    So I have my Oracle packages that perform CRUD operations. Then I have an xsd file that define dataTable based on the package procedure. My business logic layer then calls functions defined in the xsd file. And finally a detailsView control that uses an ObjectDataSource to call business logic functions.
    In a nutshell, I am just trying to update records retrieved using REF CURSOR. Your help is very much appreciated. Please let me know if further details are required. Cheers,

    In the DataSet (xsd) where your DataTable is defined, you just need to add additional methods to the TableAdapter to handle insert, update and delete, either with SQL or by mapping to stored procedures.
    Alternatively in code, create an OracleDataAdapter and supply its InsertCommand, UpdateCommand and DeleteCommand.
    David

  • How to update date field in oracle using jdbc

    Hi all,
    In my database i have a column LAST_UPDATED_DTTM which is used to store last updated date . when i try to update using the following query stmt
    update MD_TABLE set LAST_UPDATED_DTTM= + " new java.sql.Date(c.getTime().getTime()) where PROD_ID=" + msdn ;
    ' c ' is instance of Calendar Class as below
    Calendar c=Calendar.getInstance()
    it gives the following error
    ORA009:Expected date got number
    can anybody please help with this?
    Thank you

    can't i do that without prepare statement?If you insist on stuffing that String, then format it in some convenient String format using SimpleDateFormat and call the TO_DATE function in Oracle, so that the database understands your Date too.
    ***Annie***

  • How to store data into database by reading sql statements from text file

    how to write java program for storing data into database by reading sql statements from text file

    Step 1: Create a property file to add various queries.
    Step 2: Read the properties file using ResourceBundle
    Step 3: Use the jdbc to execute the query read from the property file.
    So in future if you need to change query no need do any modifications in java program. But depends on how you use the property file.

  • How to retrieve Data from SAP BW to  SQL

    Hi All,
    i am looking for way to retrieve Data from SAP BW to SQL.
    Could you please give me some indcations or a document on how to implement it?
    Thanks in advance
    Cheers
    Gilo

    Hi,
    You need to use open hub destination. third party tool destination for SQL
    SAP BW TO SQL -- Extraction to the third-party tool can be executed as follows:
           1.      You define an open hub destination with Third-Party Tool as the destination type.
           2.      You create an RFC destination for your third-party tool and enter it in the definition of the open hub destination.
           3.      You use API RSB_API_OHS_DEST_SETPARAMS to define the parameters for the third-party tool that are required for the extraction.
           4.      You either start extraction immediately or include it in a process chain. You can also start this process chain from the third-party tool using process chain API RSPC_API_CHAIN_START. The extraction process then writes the data to a database table in the BI system.
           5.      When the extraction process is finished, the system sends a notification to the third-party tool using API RSB_API_OHS_3RDPARTY_NOTIFY.
           6.      The extracted data is read by API RSB_API_OHS_DEST_READ_DATA.
           7.      The status of the extraction is transferred to the monitor by API RSB_API_OHS_REQUEST_SETSTATUS.

  • How to insert  data into BLOB column  using sql

    Hi all,
    How to insert data into BLOB column directly using sql .
    create  table temp
      a blob,
      b clob);
    SQL> /
    Insert into temp  values ('32aasdasdsdasdasd4e32','adsfbsdkjf') ;
    ERROR at line 1:
    ORA-01465: invalid hex number
    Please help in this.Thanks,
    P Prakash

    see this
    How to store PDF file in BLOB column without using indirect datastore

Maybe you are looking for