Help me with OCIPGetRowid error  !!!!!!!!!!!!!!

I have written a short program that uses OCCI.
When i compile it, it seem ok (no error found)
but when i run it, it show an error as follows:
'The procedure entry point OCIPGetRowid could not be located in the dymanic link library oraclient9.dll'
I install Oracle Client 9i, including the oracle 9i patch,
I also install Oracle Designer in my computer, and i guess that this the main cause of this problem.
although i have set Oracle Home point to the Oracle 9i Client, not the Oracle Designer, it still does not work with the same error message.
Please help me to solve this problem,
Thank you in advance!

You are not supposed to get this, unless something goes wrong with your setup. Can you please contact Oracle Support?

Similar Messages

  • Please Help me with the error P6

    I recently installed the Primavera P6 but when I started
    using it for the first time I get the following error
    message :
    C:\Program files\Primavera\Project
    Management\Languages\comCaptions.en-us
    <br
    />Please help me with this error ;
    Thanks

    Hi,
    This sounds like an issue
    that might best be handled by support. You can find
    information on contacting support here:<br
    /><br
    />http://www.primavera.com/customer/support.asp<br
    />
    Thanks,
    Sean

  • Please help me with this error: "Apple application support was not found... Error 2"

    Can anyone please help me with this error: "Apple application support was not found... Error 2"
    I've followed the instructions by removing all Apple files from my laptop, but when I reinstall the iTunes software it still comes up with this message:
    "Apple application support is required to run iTunesHelper. Please uninstall iTunes, then install iTunes again. Error 2"
    Thank you

    iTunes "Apple Application Support is required... Error 2" and possible fix.
    I know this is a bit late but I came accross this thread trying to resolve this same problem and came up with a solution that worked for me, so thought I would share it here too. I hope it helps someone else.
    I just resolved this on Win Vista (should apply equally for Win7 too). Please uninstall iTunes before proceeding though. I'll walk you through the process I followed, if you like you can jump straight to the Solution section.
    Problems:
    The initial error during the installation of iTunes was:
    An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4053",type="win32",publicKeyToken='1fc8b 3b9a1e18e3b",processorarchitecture="x86". Please refer to Help and Support for more information. HRESULT:0x8007054F
    The error (after installing iTunes) when trying to run iTunes was:
    Apple Application Support is required to run iTunes. Please uninstall iTunes, then install iTunes again. Error 2 (Windows error 2).
    After trying various fixes around the forums I came across this MSKB article, which relates to the first installation error:
    http://support.microsoft.com/kb/2688946
    This lead me to trying to install MS Visual C++ but I received the following error trying to install that:
    Error 1935.An error occurred during the installation of assembly ‘Microsoft.VC80.ATL,type=”win32”,version=”8.0.50727.762”,publicKeyToken=”1fc8b3 b9a1e18e3b”,processorArchitecture=”amd64”’. Please refer to Help and Support for more information. HRESULT: 0x80070BC9. Assembly interface: IassemblyCacheItem, function: Commit, component: {837BF1EB-D770-94EB-A01F-C8B3B9A1E18E}
    Note: The installation of VC++ rolls back when it fails.
    Solution:
    Through this error I found this MSKB article:
    http://support.microsoft.com/kb/946414
    The Automated MS "Fix It" msi package didn’t work.
    Note: Please backup your registry first (see the above MSKB article for instructions).
    I opened the registry and (as instructed in the MSKB article) deleted the following keys:
    HKEY_LOCAL_MACHINE\COMPONENTS\
    PendingXmlIdentifier
    NextQueueEntryIndex
    AdvancedInstallersNeedResolving
    Reboot and reinstall iTunes.
    If it helps you please like this so others can find it.

  • Please help me with this error I keep getting for attachments

    please help me with my error message as I can't download attachments

    Some information would be helpful...  operating system, email client, Reader version, error message, ...

  • Itunes could not connect to the iphone an unknown error occurred 0xE8000003 please help me with this error any one have idea ?

    itunes could not connect to the iphone an unknown error occurred 0xE8000003 please help me with this error any one have idea ?

    http://support.apple.com/kb/ts3221

  • HELP Needed with this error:   Exception in thread "main" java.lang.NoClass

    Folks,
    I am having a problem connecting to my MSDE SQL 2000 DB on a WindowsXP pro. environment. I am learning Java and writing a small test prgm to connect the the database. The code compiles ok, but when I try to execute it i keep getting this error:
    "Exception in thread "main" java.lang.NoClassDefFoundError: Test1"
    I am using the Microsoft jdbc driver and my CLASSPATH is setup correctly, I've also noticed that several people have complained about this error, but have not seen any solutions....can someone help ?
    Here is the one of the test programs that I am using:
    import java.sql.*;
    * Microsoft SQL Server JDBC test program
    public class Test1 {
    public Test1() throws Exception {
    // Get connection
    DriverManager.registerDriver(new
    com.microsoft.jdbc.sqlserver.SQLServerDriver());
    Connection connection = DriverManager.getConnection(
    "jdbc:microsoft:sqlserver://LAPTOP01:1433","sa","sqladmin");
    if (connection != null) {
    System.out.println();
    System.out.println("Successfully connected");
    System.out.println();
    // Meta data
    DatabaseMetaData meta = connection.getMetaData();
    System.out.println("\nDriver Information");
    System.out.println("Driver Name: "
    + meta.getDriverName());
    System.out.println("Driver Version: "
    + meta.getDriverVersion());
    System.out.println("\nDatabase Information ");
    System.out.println("Database Name: "
    + meta.getDatabaseProductName());
    System.out.println("Database Version: "+
    meta.getDatabaseProductVersion());
    } // Test
    public static void main (String args[]) throws Exception {
    Test1 test = new Test1();

    I want to say that there was nothing wrong
    with my classpath config., I am still not sure why
    that didn't work, there is what I did to resolved
    this issue.You can say that all you like but if you are getting NoClassDefFound errors, that's because the class associated with the error is not in your classpath.
    (For future reference: you will find it easier to solve problems if you assume that the problem is your fault, instead of trying to blame something else. It almost always is your fault -- at least that's been my experience.)
    1. I had to set my DB connection protocol to TCP/IP
    (this was not the default), this was done by running
    the
    file "svrnetcn.exe" and then in the SQL Server Network
    Utility window, enable TCP/IP and set the port to
    1433.Irrelevant to the classpath problem.
    2. I then copied all three of the Microsoft JDBC
    driver files to the ..\jre\lib\ext dir of my jdk
    installed dir.The classpath always includes all jar files in this directory. That's why doing that fixed your problem. My bet is that you didn't have the jar file containing the driver in your classpath before, you just had the directory containing that jar file.
    3. Updated my OS path to located these files
    and....BINGO! (that simple)Unnecessary for solving classpath problems.
    4. Took a crash course on JDBC & basic Java and now I
    have created my database, all tables, scripts,
    stored procedures and can read/write and do all kinds
    of neat stuff.All's well that ends well. After a few months you'll wonder what all the fuss was about.

  • Please help me with an error 1418...

    OK I have iPod mini 4GB and I have the latest iTunes installed 7.02 or something I don't know anymore.
    Anyway a sad iPod icon displayed on my screen a few days ago and I managed to restart it and to put it in a disk mode and then iTunes finally recognized iPod and I clicked on Restore and then Restore and Updated and after a few seconds during the restore process it says:
    An iPod 'iPod' couldn't be resoterd. An unknown error occurred (1418).
    I am desperate and i don't know what to do.
    I read almost everything about this but nothing helped.
    Please help me with any kind of solution...

    I did a Support Search for that error number and this is what I got. I hope one of these links helps:
    http://docs.info.apple.com/article.html?artnum=304508
    http://docs.info.apple.com/article.html?artnum=304996

  • Please help me with these errors...if you can...

    Ok, I downloaded the Safari for windows. I start the browser and I get this message
    "Safari can’t open the page “http://www.apple.com/startpage”. The error was: “unknown error” ((null):10061) Please choose Report Bugs to Apple from the Help menu, note the error number, and describe what you did before you saw this message."
    Other browsers work perfectly.
    The other error I have is with Itunes (I know this is not the place to post that, but if you have any idea, maybe you can help with that one too). Itunes runs fine, it tells me there is a new version of firmware for my ipod nano, when I hit update, it tells me the apple server cannot be found. My internet connection is working perfectly.
    Any ideas?
    Thank you in advance!
    Bobby-

    I have been facing these very same problems (“unknown error” ((null):10061) and the i-Tunes one) and I am surprised to see that even after two months of the first posting of these problems, no apple afficiando has condescended to post a cure for us lesser souls!
    There were some other posts as well posting the same problems (“unknown error” ((null):10061) ) - and all they have been advised is to go back to IE! What a shame!
    Any higher apple souls listening?

  • Please help me with the error of Java related to UNIX

    Can you help me with my code?
    I wrote a Java program and ran it in gdb, the debugger said that :
    (gdb) run handhelditems 1 1000
    Starting program: /home/wqq/crawl/handhelditems/crawl_what_i_want handhelditems 1 1000
    [Thread debugging using libthread_db enabled]
    [New Thread -1208232256 (LWP 3796)]
    [New Thread -1210332272 (LWP 3799)]
    [New Thread -1220822128 (LWP 3800)]
    [New Thread -1231311984 (LWP 3801)]
    [New Thread -1243206768 (LWP 3802)]
    [New Thread -1253696624 (LWP 3803)]
    [New Thread -1264186480 (LWP 3804)]
    [New Thread -1274676336 (LWP 3805)]
    [New Thread -1285166192 (LWP 3806)]
    [New Thread -1295656048 (LWP 3807)]
    [New Thread -1306145904 (LWP 3808)]
    [New Thread -1316635760 (LWP 3809)]
    Program received signal SIGPWR, Power fail/restart.
    [Switching to Thread -1316635760 (LWP 3809)]
    0x00196402 in __kernel_vsyscall ()
    (gdb)
    the crawl_what_i_want.java is :
    public class crawl_what_i_want {
         public static void main(String[] args){
              if(args.length!=3){
                   System.out.println("Usage: java crawl_html [site name] [start at] [end at]");
              else
                   String v1 = args[0];
                   int v2 = Integer.parseInt(args[1]);
                   int v3 = Integer.parseInt(args[2]);
                   thread thread0 = new thread(v1,v2,v3,0);
                   thread thread1 = new thread(v1,v2,v3,1);
                   thread thread2 = new thread(v1,v2,v3,2);
                   thread thread3 = new thread(v1,v2,v3,3);
                   thread thread4 = new thread(v1,v2,v3,4);
                   thread thread5 = new thread(v1,v2,v3,5);
                   thread thread6 = new thread(v1,v2,v3,6);
                   thread thread7 = new thread(v1,v2,v3,7);
                   thread thread8 = new thread(v1,v2,v3,8);
                   thread thread9 = new thread(v1,v2,v3,9);
                   thread0.start();
                   thread1.start();
                   thread2.start();
                   thread3.start();
                   thread4.start();
                   thread5.start();
                   thread6.start();
                   thread7.start();
                   thread8.start();
                   thread9.start();
    the thread.java is :
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import java.net.*;
    public class thread extends Thread
         String site_n;
         int s_at;
         int e_at;
         int for_id;
         thread(String site_n,int s_at,int e_at,int for_id){
              this.site_n = site_n;
              this.s_at = s_at;
              this.e_at = e_at;
              this.for_id = for_id;
         public synchronized void run() {
              String site = site_n;
              int fornum = for_id;
              int start = s_at;
              int end = e_at;
              //String site_name = "http://www."+site+".com";
              ArrayList url_list = new ArrayList();
              ArrayList url_id_list = new ArrayList();
              try{
                   Class.forName("com.mysql.jdbc.Driver").newInstance();
                   String getconn = "jdbc:mysql://localhost/url_set_"+site+"?user=xxxx&password=xxxx";
                   Connection conn = DriverManager.getConnection(getconn);
                   PreparedStatement stmt = conn.prepareStatement("");
                   ResultSet rs = null;
                   stmt = conn.prepareStatement("select url,url_id from urls where url_id>=? and url_id<=?");
                   stmt.setInt(1,start);
                   stmt.setInt(2,end);
                   rs = stmt.executeQuery();
                   while(rs.next())
                        url_id_list.add(rs.getString(2));
                        url_list.add(rs.getString(1));
                   if(rs!=null)
                        rs.close();
                   stmt.close();
                   conn.close();
              catch(Exception e){
                   e.printStackTrace();
              try{
                   InputStream in = null;
                   InputStreamReader rd = null;
                   BufferedReader br = null;
                   for(int i=fornum; i<url_list.size(); i=i+10){
                        String save_dir = "./" + String.valueOf(Integer.parseInt(url_id_list.get(i).toString())/10000) + "/" ;
                        try{
                             if(!(new File(save_dir).isDirectory()))
                                  new File(save_dir).mkdir();
                        catch(Exception exp){
                             exp.printStackTrace();
                        String html = "";
                        URL this_url = new URL(url_list.get(i).toString());
                    in = this_url.openConnection().getInputStream();
                    rd = new InputStreamReader(in);
                    br=new BufferedReader(rd);
                    String line = br.readLine();
                    int imgmark = 0 ;
                    while(line != null){
                        html += line + (char)13;
                        //  get image  //
                        if(line.indexOf("product image(s) bof")>0)
                             imgmark = 1;
                        if(line.indexOf("product image(s) eof")>0)
                             imgmark = 0;
                        if(imgmark == 1 && line.indexOf("img src")>=0)
                             int bofimg = line.indexOf("http://www.unix.com/images/");
                             int eofimg = line.indexOf("jpg\"")+3;
                             if(eofimg>bofimg){
                                   String imgURL = "http://www."+site+".com/" + line.substring(bofimg,eofimg);
                                   String imgdir = save_dir + url_id_list.get(i).toString() + ".jpg";
                                   getpic gp = new getpic();
                                   gp.crawlpic(imgURL,imgdir);
                        line = br.readLine();
                     br.close();
                     rd.close();
                     in.close();
                        if(html==null)
                             html = "";
                        if(html.length()>0){
                             String saveTo = save_dir+ url_id_list.get(i).toString() +".html";
                             try {
                                  new outPut(html, saveTo);
                             } catch (IOException e) {
                                  e.printStackTrace();
                             System.out.println((i+start) + ". Saved " + url_list.get(i) + " as " + (i+start) + ".html");
                        else
                             System.out.println((i+start) + ". failed at " + url_list.get(i));
                   if(br!=null)
                        br.close();
              }catch (Exception e){
                   e.printStackTrace();
    the outPut.java is :
    import java.io.*;
    public class outPut {
            public outPut(String content, String outPutFile)throws IOException{
                    FileWriter fl = null;
                    BufferedWriter bw = null;
                    try{
                            File f = new File(outPutFile);
                            if(!f.exists())
                                    f.createNewFile();
                            fl = new FileWriter(outPutFile);
                            bw = new BufferedWriter(fl);
                            bw.write(content);
                    finally{
                            if(bw!=null)
                                    bw.flush();
                            if(fl!=null)
                                    fl.flush();
                            if(bw!=null)
                                    bw.close();
                            if(fl!=null)
                                    fl.close();
    the getpic.java is
    import java.io.*;
    import java.net.*;
    public class getpic {
            public synchronized void crawlpic(String url, String savedir)throws Exception {
                InputStream in = null;
                InputStream inBuffer = null;
                OutputStream out = null;           
                try{
                    URL this_url = new URL(url);
                    in = this_url.openConnection().getInputStream();
                        inBuffer = new BufferedInputStream(in);
                        out = new FileOutputStream(savedir);
                        while(true){
                        int bytedata = inBuffer.read();
                        if(bytedata == -1)
                        break;
                        out.write(bytedata);
                finally{
                    if(out != null)
                            out.close();
                    if(inBuffer != null)
                            inBuffer.close();
                    if(in != null)
                            in.close();
    }above are all my code .
    On the other hand, the codes can be run at JDB, but it will lose some thread after run for some minute or seconds.

    Hi aarthi,
    SELECT can be used to fetch data only from database tables/views. in your case you used SELECT from an INTERNAL table,which is not allowed.
    SELECT  *
           FROM <DBTABLE NAME>
           INTO TABLE EXPORT_REC
           WHERE KEY = IMPORT_ PARAMETER AND   
           IMPORT_PARAM_DATE BETWEEN FROM_DATE AND TO_DATE.
    HERE Instead of <DBTABLE NAME>,you have to give your Database table,which stores these values.
    then your data will comes into EXPORT_REC.
    and remember to give EXPORT_REC in TABLES parameters of that FUNCTION MODULE and give associated Type for that.
    Regards
    Srikanth

  • Can someone help me with this Error ?

    When I start up my Thinkpad 600E it shows 301 on the first screen and then it goes to the diagnostic/Test screen.
    I run a test on the system board and it comes up with this :
    FRU 0086
                 22
             0010
    I know that there is some issue with the Harddisk. The trackpoint is broke so I have disabled and use an external mouse.
    When I do the keyboard test, the key for F8 keeps blinking (even without pressing it). Could this be an issue ? Is there a work around like disabling the keyboard and using an external one ?
    Or could it be because of the hard disk ?
    Pls help
    Thanks
    Alex

    Is your datacontrol being called? I'd pad it with logs and see if maybe that's throwing an exception and causing a jsf error stack to be generated.

  • Can someone help me with the error : " ORA-00942"

    Hello there!
    I try to run this script and I get the error "table or view does not exists". I can`t figure out why :( Could someone please help me?
    First of all I have the table:
    drop table A_Vanzare
    create table A_Vanzare(
    IdVanzare NUMBER(3),
    IdProdus NUMBER(3),
    IdClient NUMBER(3),
    Cantitate NUMBER(5) CHECK(Cantitate>=0),
    DataV DATE
    ...and I want to backup the data in this table by creating another table, something like a history table. Here is the script that gives me the error:
    SET SERVEROUTPUT ON;
    DELETE FROM A_BackupVanzare;
    DECLARE
         varIdCursor NUMBER; --cand e apelat OPEN_CURSOR => i se atribuie valoare
         varCreateTableString VARCHAR2(1000); --sql sir de create
         varInsertValues VARCHAR2(1000);--sql sir pt inserarea valorilor
         varNrRows INTEGER;
         CURSOR cursorVanzare IS SELECT IdVanzare,IdProdus,IdClient,Cantitate,DataV FROM A_Vanzare;
         varIdVanzare A_Vanzare.IdVanzare%TYPE;
         varIdProdus A_Vanzare.IdProdus%TYPE;
         varIdClient A_Vanzare.IdClient%TYPE;
         varCantitate A_Vanzare.Cantitate%TYPE;
         varDataV A_Vanzare.DataV%TYPE;
    BEGIN
         varIdCursor := DBMS_SQL.OPEN_CURSOR;--ia id`ul cursorului
         varCreateTableString := 'CREATE TABLE A_BackupVanzare (
                                            bckIdVanzare NUMBER(3),
                                            bckIdProdus NUMBER(3),
                                            bckIdClient NUMBER(3),
                                            bckCantitate NUMBER(5),
                                            bckDataV DATE)';
         DBMS_SQL.PARSE(varIdCursor, varCreateTableString, DBMS_SQL.V7);
         varNrRows := DBMS_SQL.EXECUTE(varIdCursor);
    --exec cod SQL
         EXCEPTION
         WHEN OTHERS THEN
              IF SQLCODE!=-955 THEN --exista tabela
                   RAISE;--erors
              ELSE
                   DBMS_OUTPUT.PUT_LINE('Tabelul exista deja!');
              END IF;
    --popularea tabelei
    BEGIN
         varInsertValues := 'INSERT INTO A_BackupVanzare(bckIdVanzare, bckIdProdus, bckIdClient, bckCantitate, bckDataV) VALUES (:IdA,:IdP,:IdC,:Cant,:Data)';
         DBMS_SQL.PARSE(varIdCursor, varInsertValues,DBMS_SQL.V7);
         OPEN cursorVanzare;
              LOOP
                   FETCH cursorVanzare INTO varIdVanzare, varIdProdus, varIdClient, varCantitate, varDataV;
                   EXIT WHEN cursorVanzare%notfound;
                   DBMS_SQL.BIND_VARIABLE(varIdCursor,':IdA',varIdVanzare);
                   DBMS_SQL.BIND_VARIABLE(varIdCursor,':IdP',varIdProdus);
                   DBMS_SQL.BIND_VARIABLE(varIdCursor,':IdC',varIdClient);
                   DBMS_SQL.BIND_VARIABLE(varIdCursor,':Cant',varCantitate);
                   DBMS_SQL.BIND_VARIABLE(varIdCursor,':Data',varDataV);
                   varNrRows := DBMS_SQL.EXECUTE(varIdCursor);
                   --executie cod
                   DBMS_OUTPUT.PUT_LINE('Numarul inregistrarilor transferate in backup este:'||varNrRows);
              END LOOP;
         CLOSE cursorVanzare;
         DELETE FROM A_Vanzari;
    EXCEPTION
              WHEN OTHERS THEN
                        RAISE;--erori
         DBMS_SQL.CLOSE_CURSOR(varIdCursor); --close cursor
         COMMIT;
         END;
    END;
    The error rises up at the line with "END LOOP;" and I don`t understand why.
    Thank u a whole lot!!!

    Irina,
    Don`t be too hard on me, it`s just a small part of my homework.I'm sorry, I didn't want to be hard... :-)
    ...but it still does not work from the first execution, even with that BEGIN-END block inserted. Nevertheless, the code given earlier should work :
    SQL> drop table A_Vanzare
      2  /
    Table dropped.
    SQL> create table A_Vanzare(
      2  IdVanzare NUMBER(3),
      3  IdProdus NUMBER(3),
      4  IdClient NUMBER(3),
      5  Cantitate NUMBER(5) CHECK(Cantitate>=0),
      6  DataV DATE
      7  )
      8  /
    Table created.
    SQL>
    SQL> insert into A_Vanzare
      2  select 1,1,1,1,sysdate from dual union all
      3  select 2,2,2,2,sysdate from dual union all
      4  select 3,3,3,3,sysdate from dual ;
    3 rows created.
    SQL>
    SQL> SET SERVEROUTPUT ON;
    SQL> DROP TABLE A_BackupVanzare;
    Table dropped.
    SQL> --First execution
    SQL> DECLARE
      2     varIdCursor NUMBER; --cand e apelat OPEN_CURSOR => i se atribuie valoare
      3     varCreateTableString VARCHAR2(1000); --sql sir de create
      4     varInsertValues VARCHAR2(1000);--sql sir pt inserarea valorilor
      5     varNrRows INTEGER;
      6     CURSOR cursorVanzare IS SELECT IdVanzare,IdProdus,IdClient,Cantitate,DataV FROM A_Vanzare;
      7     varIdVanzare A_Vanzare.IdVanzare%TYPE;
      8     varIdProdus A_Vanzare.IdProdus%TYPE;
      9     varIdClient A_Vanzare.IdClient%TYPE;
    10     varCantitate A_Vanzare.Cantitate%TYPE;
    11     varDataV A_Vanzare.DataV%TYPE;
    12 
    13  BEGIN
    14     BEGIN
    15         DBMS_OUTPUT.PUT_LINE('1st begin');
    16         varIdCursor := DBMS_SQL.OPEN_CURSOR;--ia id`ul cursorului
    17         varCreateTableString := 'CREATE TABLE A_BackupVanzare (
    18         bckIdVanzare NUMBER(3),
    19         bckIdProdus NUMBER(3),
    20         bckIdClient NUMBER(3),
    21         bckCantitate NUMBER(5),
    22         bckDataV DATE)';
    23         DBMS_SQL.PARSE(varIdCursor, varCreateTableString, DBMS_SQL.V7);
    24         varNrRows := DBMS_SQL.EXECUTE(varIdCursor);
    25         --exec cod SQL
    26     EXCEPTION
    27     WHEN OTHERS THEN
    28        IF SQLCODE!=-955 THEN --exista tabela
    29           RAISE;--erors
    30        ELSE
    31           DBMS_OUTPUT.PUT_LINE('Tabelul exista deja!');
    32        END IF;
    33     END;
    34     --popularea tabelei
    35    
    36     BEGIN
    37        DBMS_OUTPUT.PUT_LINE('2nd begin');
    38        varInsertValues := 'INSERT INTO A_BackupVanzare(bckIdVanzare, bckIdProdus, bckIdClient, bckCantitate, bckDataV) VALUES (:IdA,:IdP,:IdC,:Cant,:Data)';
    39       
    40        DBMS_SQL.PARSE(varIdCursor, varInsertValues,DBMS_SQL.V7);
    41       
    42        OPEN cursorVanzare;
    43        LOOP
    44           FETCH cursorVanzare INTO varIdVanzare, varIdProdus, varIdClient, varCantitate, varDataV;
    45           EXIT WHEN cursorVanzare%notfound;
    46           DBMS_SQL.BIND_VARIABLE(varIdCursor,':IdA',varIdVanzare);
    47           DBMS_SQL.BIND_VARIABLE(varIdCursor,':IdP',varIdProdus);
    48           DBMS_SQL.BIND_VARIABLE(varIdCursor,':IdC',varIdClient);
    49           DBMS_SQL.BIND_VARIABLE(varIdCursor,':Cant',varCantitate);
    50           DBMS_SQL.BIND_VARIABLE(varIdCursor,':Data',varDataV);
    51           varNrRows := DBMS_SQL.EXECUTE(varIdCursor);
    52           --executie cod
    53           DBMS_OUTPUT.PUT_LINE('Numarul inregistrarilor transferate in backup este:'||varNrRows);
    54        END LOOP;
    55        CLOSE cursorVanzare;
    56        DELETE FROM A_Vanzare;
    57       
    58     EXCEPTION
    59     WHEN OTHERS THEN
    60          RAISE;--erori
    61          DBMS_SQL.CLOSE_CURSOR(varIdCursor); --close cursor
    62          COMMIT;
    63     END;
    64  END;
    65  /
    1st begin
    2nd begin
    Numarul inregistrarilor transferate in backup este:1
    Numarul inregistrarilor transferate in backup este:1
    Numarul inregistrarilor transferate in backup este:1
    PL/SQL procedure successfully completed.
    SQL>
    SQL> select * from A_BackupVanzare;
    BCKIDVANZARE BCKIDPRODUS BCKIDCLIENT BCKCANTITATE BCKDATAV
               1           1           1            1 06/01/07
               2           2           2            2 06/01/07
               3           3           3            3 06/01/07
    3 rows selected.
    SQL> insert into A_Vanzare
      2  select 4,4,4,4,sysdate from dual union all
      3  select 5,5,5,5,sysdate from dual ;
    2 rows created.
    SQL> --Second execution
    SQL> DECLARE
      2     varIdCursor NUMBER; --cand e apelat OPEN_CURSOR => i se atribuie valoare
      3     varCreateTableString VARCHAR2(1000); --sql sir de create
      4     varInsertValues VARCHAR2(1000);--sql sir pt inserarea valorilor
      5     varNrRows INTEGER;
      6     CURSOR cursorVanzare IS SELECT IdVanzare,IdProdus,IdClient,Cantitate,DataV FROM A_Vanzare;
      7     varIdVanzare A_Vanzare.IdVanzare%TYPE;
      8     varIdProdus A_Vanzare.IdProdus%TYPE;
      9     varIdClient A_Vanzare.IdClient%TYPE;
    10     varCantitate A_Vanzare.Cantitate%TYPE;
    11     varDataV A_Vanzare.DataV%TYPE;
    12 
    13  BEGIN
    14     BEGIN
    15         DBMS_OUTPUT.PUT_LINE('1st begin');
    16         varIdCursor := DBMS_SQL.OPEN_CURSOR;--ia id`ul cursorului
    17         varCreateTableString := 'CREATE TABLE A_BackupVanzare (
    18         bckIdVanzare NUMBER(3),
    19         bckIdProdus NUMBER(3),
    20         bckIdClient NUMBER(3),
    21         bckCantitate NUMBER(5),
    22         bckDataV DATE)';
    23         DBMS_SQL.PARSE(varIdCursor, varCreateTableString, DBMS_SQL.V7);
    24         varNrRows := DBMS_SQL.EXECUTE(varIdCursor);
    25         --exec cod SQL
    26     EXCEPTION
    27     WHEN OTHERS THEN
    28        IF SQLCODE!=-955 THEN --exista tabela
    29           RAISE;--erors
    30        ELSE
    31           DBMS_OUTPUT.PUT_LINE('Tabelul exista deja!');
    32        END IF;
    33     END;
    34     --popularea tabelei
    35    
    36     BEGIN
    37        DBMS_OUTPUT.PUT_LINE('2nd begin');
    38        varInsertValues := 'INSERT INTO A_BackupVanzare(bckIdVanzare, bckIdProdus, bckIdClient, bckCantitate, bckDataV) VALUES (:IdA,:IdP,:IdC,:Cant,:Data)';
    39       
    40        DBMS_SQL.PARSE(varIdCursor, varInsertValues,DBMS_SQL.V7);
    41       
    42        OPEN cursorVanzare;
    43        LOOP
    44           FETCH cursorVanzare INTO varIdVanzare, varIdProdus, varIdClient, varCantitate, varDataV;
    45           EXIT WHEN cursorVanzare%notfound;
    46           DBMS_SQL.BIND_VARIABLE(varIdCursor,':IdA',varIdVanzare);
    47           DBMS_SQL.BIND_VARIABLE(varIdCursor,':IdP',varIdProdus);
    48           DBMS_SQL.BIND_VARIABLE(varIdCursor,':IdC',varIdClient);
    49           DBMS_SQL.BIND_VARIABLE(varIdCursor,':Cant',varCantitate);
    50           DBMS_SQL.BIND_VARIABLE(varIdCursor,':Data',varDataV);
    51           varNrRows := DBMS_SQL.EXECUTE(varIdCursor);
    52           --executie cod
    53           DBMS_OUTPUT.PUT_LINE('Numarul inregistrarilor transferate in backup este:'||varNrRows);
    54        END LOOP;
    55        CLOSE cursorVanzare;
    56        DELETE FROM A_Vanzare;
    57       
    58     EXCEPTION
    59     WHEN OTHERS THEN
    60          RAISE;--erori
    61          DBMS_SQL.CLOSE_CURSOR(varIdCursor); --close cursor
    62          COMMIT;
    63     END;
    64  END;
    65  /
    1st begin
    Tabelul exista deja!
    2nd begin
    Numarul inregistrarilor transferate in backup este:1
    Numarul inregistrarilor transferate in backup este:1
    PL/SQL procedure successfully completed.
    SQL>
    SQL> select * from A_BackupVanzare;
    BCKIDVANZARE BCKIDPRODUS BCKIDCLIENT BCKCANTITATE BCKDATAV
               1           1           1            1 06/01/07
               2           2           2            2 06/01/07
               3           3           3            3 06/01/07
               4           4           4            4 06/01/07
               5           5           5            5 06/01/07
    5 rows selected.
    SQL> HTH,
    Nicolas.

  • Can someone help me with the error to prepare my project?

    "This project contained a sequence that could not be opened. No sequence preview preset file or codec could be associated with this sequence type."
    I get this error when I want to open my project file in adobe cs6.
    The project file is only psd-formats, because I'm making a animation..
    Two days ago I open it and there was nothing wrong.. But now when I want to open it, I get this error..
    I did nothing with my MacBook Pro and it is my end project of school..
    So please someone can help me?
    (Sorry for the bad english.. I'm a Dutch boy)
    - Jordy

    Might want to read this:
    http://helpx.adobe.com/premiere-pro/kb/missing-sequence-presets.html
    http://helpx.adobe.com/premiere-pro/kb/features-presets-missing-premiere-pro.html

  • Please help me with the error ASAP

    I am trying to write an ABAP statement for the below requirement.
    Function has two import parameters. 1. key and 2. date.
                                Export parameter: export_rec like TAB.
    Req:  I need to select a record from a table where key = input parameter and input date lies between the from and to date fields in the table. (since table is time dependent).
    EXPORT_REC like TAB,
    I_T_TAB like TAB OCCURS 0 WITH HEADER LINE.
    SELECT  SINGLE * FROM I_T_TAB INTO EXPORT_REC WHERE KEY = IMPORT_ PARAMETER AND IMPORT_PARAM_DATE BETWEEN FROM_DATE AND TO_DATE.
    But, I am getting errors. It says the I_T_TAB is not defined in the Abap dictionary as table, view or projection.
    I defined it as an internal table. But, even then I am getting this error.
    Can anyone please help me out with this issue,
    Thanks,
    Regards,
    aarthi
    [email protected]

    Hi aarthi,
    SELECT can be used to fetch data only from database tables/views. in your case you used SELECT from an INTERNAL table,which is not allowed.
    SELECT  *
           FROM <DBTABLE NAME>
           INTO TABLE EXPORT_REC
           WHERE KEY = IMPORT_ PARAMETER AND   
           IMPORT_PARAM_DATE BETWEEN FROM_DATE AND TO_DATE.
    HERE Instead of <DBTABLE NAME>,you have to give your Database table,which stores these values.
    then your data will comes into EXPORT_REC.
    and remember to give EXPORT_REC in TABLES parameters of that FUNCTION MODULE and give associated Type for that.
    Regards
    Srikanth

  • Please help me with AS error

    I am using a class called DrawingUtilities.as and the file is
    placed at the same root level as my .fla file, but I get an error
    when testing the movie. The error is:
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 20: The
    class or interface 'actionscriptbible.drawing.DrawingUtilities'
    could not be loaded.
    var duDrawer
    rawingUtilities = new DrawingUtilities(mButton);
    Total ActionScript Errors: 1 Reported Errors: 1
    why can't it find the damn class!?
    here is the entire AS code I am using if that helps...
    import actionscriptbible.drawing.DrawingUtilities;
    var mLoginButton:MovieClip;
    var mSaveButton:MovieClip;
    makeLoginScreen();
    //the drawButton() function makes a new MovieClip object with
    a nested
    //label TextField object.
    function drawButton(mParent:MovieClip, sLabel:String,
    nWidth:Number, nHeight:Number):MovieClip {
    //Make a movieclip object nested in the parent object. Use a
    unique
    // instance name and depth.
    var nDepth:Number = mParent.getNextHighestDepth();
    var mButton:MovieClip =
    mParent.createEmptyMovieClip("mButton" + nDepth, nDepth);
    //Draw a rectangle in the MovieClip object
    var duDrawer
    rawingUtilities = new DrawingUtilities(mButton);
    duDrawer.beginFill(0xFFFFCC, 100);
    duDrawer.drawRectangle(nWidth, nHeight, nWidth/2, nHeight/2);
    duDrawer.endFill();
    // Add a TextField object to the MovieClip. Apply the label.
    var tLabel:TextField = mButton.createTextField("tLabel",
    mButton.getNextHighestDepth(),0,0, nWidth, nHeight);
    tLabel.Selectable = false;
    tLabel.text = sLabel;
    return mButton;
    function makeLoginScreen():Void {
    //Create the TextField and MovieClip Objects.
    this.createTextField("tUsername", this.getNextHighestDepth(),
    100, 100, 200, 20);
    this.createTextField("tPassword", this.getNextHighestDepth(),
    100, 140, 200, 20);
    this.createTextField("tMessage", this.getNextHighestDepth(),
    100, 60, 200, 20);
    mLoginButton = drawButton(this, "Login", 100, 25);
    //Set the properties of the TextField Objects.
    tUsername.border = true;
    tPassword.border = true;
    tUserName.type = "input";
    tPassword.type = "input";
    tPassword.password = true;
    tMessage.textColor = 0xFF0000;
    //Place the button
    mLoginButton._x = 100;
    mLoginButton._y = 180;
    mLoginButton.onRelease = function():Void {
    //Check to see if the user has entered the correct username
    //and password. If so, call the login() function.
    //otherwise, display
    //a message to the user and clear the values from the login
    //TextField objects.
    if(tUserName.text =="admin" && tPassword.text
    =="admin") {
    login();
    else {
    tMessage.text = "Try again.";
    tUsername.text = "";
    tPassword.text = "";
    function login(): Void {
    //Remove the TextField and MovieClip objects that made up
    the
    //login screen.
    tUsername.removeTextField();
    tPassword.removeTextField();
    mLoginButton.removeMovieClip();
    //Create the TextField and MovieClip for the notes screen.
    this.createTextField("tNotes", this.getNextHighestDepth(),
    100, 100, 350, 200);
    mSaveButton = drawButton(this, "Save", 100, 25);
    //Set the properties of the TextField Object.
    tNotes.border = true;
    tNotes.type = "input";
    //Place the button
    mSaveButton._x = 100;
    mSaveButton._y = 320;
    //Open a local shared object.
    var lsoNotes:SharedObject = SharedObject.getLocal("notes");
    // Assign the stored text, if any.
    tNotes.text = (lsoNotes.data.notes == undefined) ? "" :
    lsoNotes.data.notes;
    //When the user clicks and releases the button store the
    current
    //current notes. in the shared object
    mSaveButton.onRelease = function():Void {
    lsoNotes.data.notes = tNotes.text;
    lsoNotes.flush();

    thanks,
    I can get my form to dispay now, but the first input isn't
    alowing any text input
    here is tha code
    import DrawingUtilities;
    var mLoginButton:MovieClip;
    var mSaveButton:MovieClip;
    makeLoginScreen();
    //the drawButton() function makes a new MovieClip object with
    a nested
    //label TextField object.
    function drawButton(mParent:MovieClip, sLabel:String,
    nWidth:Number, nHeight:Number):MovieClip {
    //Make a movieclip object nested in the parent object. Use a
    unique
    // instance name and depth.
    var nDepth:Number = mParent.getNextHighestDepth();
    var mButton:MovieClip =
    mParent.createEmptyMovieClip("mButton" + nDepth, nDepth);
    //Draw a rectangle in the MovieClip object
    var duDrawer
    rawingUtilities = new DrawingUtilities(mButton);
    duDrawer.beginFill(0xFFFFCC, 100);
    duDrawer.drawRectangle(nWidth, nHeight, nWidth/2, nHeight/2);
    duDrawer.endFill();
    // Add a TextField object to the MovieClip. Apply the label.
    var tLabel:TextField = mButton.createTextField("tLabel",
    mButton.getNextHighestDepth(),0,0, nWidth, nHeight);
    tLabel.Selectable = false;
    tLabel.text = sLabel;
    return mButton;
    function makeLoginScreen():Void {
    //Create the TextField and MovieClip Objects.
    this.createTextField("tUsername", this.getNextHighestDepth(),
    100, 100, 200, 20);
    this.createTextField("tPassword", this.getNextHighestDepth(),
    100, 140, 200, 20);
    this.createTextField("tMessage", this.getNextHighestDepth(),
    100, 60, 200, 20);
    mLoginButton = drawButton(this, "Login", 100, 25);
    //Set the properties of the TextField Objects.
    tUsername.border = true;
    tPassword.border = true;
    tUserName.type = "input";
    tPassword.type = "input";
    tPassword.password = true;
    tMessage.textColor = 0xFF0000;
    //Place the button
    mLoginButton._x = 100;
    mLoginButton._y = 180;
    mLoginButton.onRelease = function():Void {
    //Check to see if the user has entered the correct username
    //and password. If so, call the login() function.
    //otherwise, display
    //a message to the user and clear the values from the login
    //TextField objects.
    if(tUserName.text =="admin" && tPassword.text
    =="admin") {
    login();
    else {
    tMessage.text = "Try again.";
    tUsername.text = "";
    tPassword.text = "";
    function login(): Void {
    //Remove the TextField and MovieClip objects that made up
    the
    //login screen.
    tUsername.removeTextField();
    tPassword.removeTextField();
    mLoginButton.removeMovieClip();
    //Create the TextField and MovieClip for the notes screen.
    this.createTextField("tNotes", this.getNextHighestDepth(),
    100, 100, 350, 200);
    mSaveButton = drawButton(this, "Save", 100, 25);
    //Set the properties of the TextField Object.
    tNotes.border = true;
    tNotes.type = "input";
    //Place the button
    mSaveButton._x = 100;
    mSaveButton._y = 320;
    //Open a local shared object.
    var lsoNotes:SharedObject = SharedObject.getLocal("notes");
    // Assign the stored text, if any.
    tNotes.text = (lsoNotes.data.notes == undefined) ? "" :
    lsoNotes.data.notes;
    //When the user clicks and releases the button store the
    current
    //current notes. in the shared object
    mSaveButton.onRelease = function():Void {
    lsoNotes.data.notes = tNotes.text;
    lsoNotes.flush();

  • Can someone help me with this error 2001 problem ?

    i have a problem with my iphone 4s that my doesnt work at all unless i plug it to  the charger cable, and then once i plug it, it shows on the screen that the battery is 100%  and i cant turn on the wifi. Once i unplug the cable the iphone turns off immedately! so i tried to restore my iphone, and then when i try to restore it, it says that there is an error called "2001".. so what should i do ?? thanks.

    Hi Randomkilla,
    If you are getting a 2001 error when trying to restore you iPhone, you may find the troubleshooting in the following article helpful:
    Apple Support: Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/TS3694
    Regards,
    - Brenden

Maybe you are looking for

  • Internal tables

    what is the difference between sy-index and sy-tabix?can any one provide me with some points on this ?

  • If I move my iTunes media folder to the Shared folder....

    Hello I'd like to share my music libary with my wife's user account on our MacBook Pro so she can get some of my music onto her iPhone. I've read the article on the Apple site as well as similar articles from other reputable Mac user websites and it

  • How do I know if my laptop is completely up to date, and working efficiently/correctly

    A few questions, kind of computer challenged! 1.I am unsure if my laptop is running on the most up to date software. I have a mid-2010 Macbook pro, and it says that I am running on OS X 10.9.2. 2. What are the best Mac Apps I need in order to ensure

  • Why are photos hiding behind background color on pages?

    I am building a large book with over 350 photos as a gift for my 93 year-old father. I've done a number of books in iPhoto and am fairly experienced with the software. After the last system upgrade, this book seemed to be missing over half the photos

  • Presenter Notes formatting is lost

    The previous topic on this was closed. I am using Keynote '09 to generate training materials. Before I used Powerpoint with presenter notes, the output being a PDF file of the "Notes" pages. Using Keynote, however, every time I "print" to PDF the for