AGA10.dll PL SQL help

Hello

I have a requirement where I need to write AGA10.dll on Oracle PL SQL code. But I feel very difficult to understand this logic AGA10 which is in C++ and convert it into Oracle PL SQL API.
Is there anything that we can call this dll directly in our SQL PL stored package?

(* AGA10 *-American Gas Association report No 10 to calculate the compressibility of the gas and the speed of sound)

Kind regards
Alka

Hi, as stated, this is the wrong forum. It's the Oracle Designer CASE tool that is forum. You need the place of SQL & PL/SQL

SQL and PL/SQL

Don't have an idea why this place is not in the same leg as a Designer

Published by: Johnreardon on April 6, 2012 01:53

Tags: Oracle Development

Similar Questions

  • . Implicit DLL that links help

    Hello

    I have a .dll file that I am trying to link implicitly (I tried to explicitly bind too), but I wanted to just check with people more knowledgeable before I complain to the developer of the .dll.  I looked at the examples in the example Finder OR read a few Web pages, including this one http://zone.ni.com/devzone/cda/tut/p/id/3341 so that I come with a little knowledge but not a lot about the .dll files.

    I have the .lib, .h file and the file .dll and there all located in the same folder as my project.  So all I've done is add the .h and .lib files to my project and written #include 'LEDdriver.h' in my source code.  I compile and it should work right? It shouldn't give me errors, since I have not written any code in myself that the include statement, but it does.

    Errors I get are from the .h file where it does not recognize the declaration of SDK_API which lies before the functions of export in the .h file, saying "Warning: empty declaration.»

    This is the code from the top of the .h file where I think is the problem since it is where the SDK_API is defined, but I think it looks perfect to me, so I don't know why it does not work.

    typedef int SDK_RETURN_CODE;

    #ifdef SDK_EXPORTS

    #define SDK_API extern "C" __declspec (dllexport) _cdecl SDK_RETURN_CODE

    #else

    #define SDK_API extern "C" __declspec (dllimport) _cdecl SDK_RETURN_CODE

    #endif

    Any help would be greatly appreciated, thank you.

    Its the old chestnut use extern "C" with a compiler not C++. There are elegant ways to handle this situation, but a quick and dirty option for the CVI is simply to delete the sentence.

    (If you find messages in the forum, you will find more descriptive discussions on the subject.)

    JR

  • Problem SQL HELP during the installation of aviation the interactive dvd course!

    try to download interactive dvd Aviation course and be sktc kingschool SQL error does not exist... Check the State of SQL express instance and I install the classes I get a SsRestart occurred must close and send error report... Any help would be great!    Help!

    I suggest that you contact the manufacturer of the interactive DVD software to help get the program installed.

    They would be better able to help with your problem.

    Thank you

    Marilyn

  • In XP get error in p17.dll, entry: p17 helper

    When starting, I get this:

    Error in p17.dll

    Entry: p17 helper

    * original title - what is error in p17.dll? *.

    If you boot in a clean boot state, which may make the message go away, but that it will not solve your problem.  So if you boot in normal condition, your problem will return.

    There is a difference in fixing the problem and fix the symptom of the problem - I hope it is your desire to solve the problem.

    The message comes from a Creative Technology (probably a card/audio device) device.

    If it is a new problem, what do you think the system has changed since the last time it worked?

    You have added/updated / changed something to do with your audio card/device lately?

    You should visit the site of creative technology WWW Support and make sure you have the latest audio driver for any device, you have installed.

    http://support.creative.com/welcome.aspx

    They have a friendly forum for help if you need it.

    If you are not sure which audio device you have installed to do this and maybe we can help you understand what you need:

    Please provide additional information on your system:

    Click Start, run and enter in the box:

    Msinfo32

    Click on OK and when the system info summary appears, click on Edition, select all, copy, and then paste the information here.

    For information about the audio drivers, expand components, click Sound Device, click on edit, select all, copy and then paste the information here.

    T - minus 7 days and counting.

  • When I have my window starup (error loading dll) I need help to solve this problem

    HPDV6871US LAPTOP

    I uninstall a program from the control panel but some how when the starup high tower it allway come with dll (error loading)

    Help, please

    Uninstall the Kodak software system and if you need then this step to install it again.

  • Message... BRS .exe program cannot start because msvcp71.dll missing. pls help.

    am under win 7, 64 bit. had something to do with HP 3 in 1 printer to the PC by using remove normal within devices/printers, as it had played all of a sudden, with difficulty (failed) reinstall removed!  a centuries-old HP drive for my system!, costumes to previous win and also not taken in charge now.

    also ran a file temporary cleaning via system tools and defragmented.  wake up message now on start... as above.  a scanner sfc, not found any internal breach. What is brs exe? and the dll file can be found somewhere in the SP and installed, which it is, why it is absent? reviewed 1 addictivetips.com solution proposal.  also found 1 suggestion to peer into MS Visual C ++ redistributable. Looks like once your out of warranty free very little real bug and help $free is available.

    Thank you.

    MG.

    msvcp71.dll is not a Windows file, it is a Visual Studio .net file and it is distributed by software vendors, you can have different versions of the file in the directories of different programs.

    John

  • Program crashes, kernalbase.dll's fault, help please?

    So, I downloaded PMD Editor and it worked the first time I opened it, but then after I closed it, it won't open.
    It keeps giving me this:

    --------------------
    Signature of the problem:
    Problem event name: APPCRASH
    Application name: PMDEditor.exe
    Application version: 0.1.3.9
    Application timestamp: 500bca2a
    Fault Module name: KERNELBASE.dll
    Fault Module Version: 6.1.7600.16850
    Timestamp of Module error: 4e21132b
    Exception code: e0434352
    Exception offset: 00009673
    OS version: 6.1.7600.2.0.0.768.3
    Locale ID: 1033
    Additional information 1: 0a9e
    More information 2: 0a9e372d3b4ad19135b953a78882e789
    Additional information 3: 0a9e
    Additional information 4: 0a9e372d3b4ad19135b953a78882e789

    Read our privacy statement online:
    http://go.Microsoft.com/fwlink/?LinkId=104288&clcid=0x0409

    If the online privacy statement is not available, please read our offline privacy statement:
    C:\Windows\System32\en-US\erofflps.txt
    --------------------

    I tried to uninstall and reinstall, that did not work. I tried someone another suggestion with a click on "Run as Administrator", that does not work either.
    I need for a project class. Please help me!

    Also, please keep in mind, that I'm not very tech-letter, so I'll need complete explanations. Thank you ~!

    One thing you might consider is to open Windows Update and "Check for Updates".

    Service Pack 1 for Windows 7 is available as an update?

    If so, consider installing Service Pack 1 which will update the KERNELBASE.dll and should ensure that it has a good copy working of this system file.

    I recommend, as a precautionary measure General, back up all critical files before installing a Service Pack.

  • SQL Help: Add flag for several tables

    Hello

    I have an existing SQL as follows:

    Select the storeId field,

    (select case when count (1) > 0 0 otherwise then 1 end)

    of tb_bbb

    where tb_bbb.id = tb_base.baseId) AS conInd

    of tb_base;

    I would now add the table tb_ccc for the value of conInd. I try the following SQL:

    Select the storeId field,

    (select case when count (1) > 0 0 otherwise then 1 end)

    Of

    (select tb_bbb.id where tb_bbb.id = tb_base.baseId)

    Union

    Select tb_ccc.id where tb_ccc.id = tb_base.basdId) AS conInd

    of tb_base;

    However, it does not work. Any idea on this SQL?  Thanks for your help!

    Hello

    Here is another way, which may be more effective because it uses EXISTS (which can quit smoking as soon as it finds a match) instead of COUNT (who continues to go, so he can tell you if there are 999 or 1000 matches, even if you don't care to).

    SELECT storeid

    CASE

    WHEN THERE IS)

    SELECT 1

    OF tb_bbb

    WHERE bbb_id = m.baseid

    ) 1 THEN

    WHEN THERE IS)

    SELECT 1

    OF tb_ccc

    WHERE ccc_id = m.baseid

    ) 1 THEN

    0 OTHERWISE

    END AS conlnd

    OF tb_base m

    ;

  • Updated SQL help

    Hi all

    I need correct column value serNo to the right as a result. It suppose to be the sequence number for each storeID. Any suggestion on the SQL?

    create table test1 (storeID number (5), number serNo (5));

    insert into table test1 values (100, 1);

    insert into table test1 values (200, 1);

    insert into table test1 values (100, 1);

    insert into table test1 values (200, 1);

    insert into table test1 values (100, 1);

    insert into table test1 values (100, 1);

    I want to have the following results in test1 after conversion:

    1 100

    2 100

    3 100

    4 100

    1 200

    2 200

    Thank you

    Hello

    942572 wrote:

    Hi all

    I need correct column value serNo to the right as a result. It suppose to be the sequence number for each storeID. Any suggestion on the SQL?

    create table test1 (storeID number (5), number serNo (5));

    insert into table test1 values (100, 1);

    insert into table test1 values (200, 1);

    insert into table test1 values (100, 1);

    insert into table test1 values (200, 1);

    insert into table test1 values (100, 1);

    insert into table test1 values (100, 1);

    I want to have the following results in test1 after conversion:

    1 100

    2 100

    3 100

    4 100

    1 200

    2 200

    Thank you

    Use the ROW_NUMBER analytic function to generate the new sernos, like this:

    MERGE INTO dst test1

    WITH THE HELP OF)

    SELECT ROWID AS r_id

    ROW_NUMBER () OVER (PARTITION BY storeid

    ORDER BY NULL

    ) AS serno

    OF test1

    )               src

    ON (summer time. ROWID = src.r_id)

    WHEN MATCHED THEN UPDATE

    SET dst.serno = src.serno

    ;

    Really, your table must have a primary key.  Because it's not working, I had to ROWID allows you to uniquely identify the lines.

  • SQL Help: How to collect summary number in group by?


    Hello

    I have the following table:

    create table tb_class_info (classNbr number (5), number (2) of ClassType, classTeacherNbr number (4));

    insert into tb_class_info values (101, 1, 12);

    insert into tb_class_info values (001, 2, 12);

    insert into tb_class_info_values (001, 2, 13);

    insert into tb_class_info_values (002, 2, 12);

    insert into tb_class_info_values (002, 2, 12);

    I would like to get statistics on the cnt, cnt for classType = 2 classTeacherNbr classNbr. I expect to have the following results:

    classNbr classType2Cnt classTeacherCnt

    101                0                         0

    001                2                          2

    002                2                          1

    The following SQL code I use:

    SELECT classNbr,

    SUM (CASE when classType = 2 THEN 1 ELSE END 0) as classTypeCnt,

    SUM (CASE when classType = 2 SO unique classTeacherNbr ELSE 0 END) as classTeacherCnt

    OF tb_class_info

    GROUP BY classNbr;

    However, I have the ' ORA-00905: lack of keyword ' error. Any suggestion on this subject?

    Thanks for your help!

    Select classnbr

    sum (case when classtype = 2 then 1 end)

    , count (distinct case when classtype = 2 then teachernbr end)

    of tb_class_into

    Classnbr group;

  • PL/SQL help

    I'm pretty new in pl/sql, I want to update a column with the next number.

    Here's an example-

    Table: political

    Policy_noSequenceCompany_name
    1010ABC PTY LTD.
    1010XYZ PTY LTD
    1030Test PTY LTD
    1040Test101 PTY LTD
    1010Pearl PTY LTD
    1040MyZore pty ltd

    I would get the date in the following format

    After Update - table

    Policy_noSequenceCompany_name
    1011ABC PTY LTD.
    1012XYZ PTY LTD
    1013Pearl PTY LTD
    1031Test PTY LTD
    1041Test101 PTY LTD
    1042MyZore pty ltd

    Basically, I want to update the column sequence based on the Policy_No group.

    Can someone please help.

    >

    Basically, I want to update the column sequence based on the Policy_No group.

    >

    This query will show you how to generate the values you need.

    >

    Select empno, deptno, row_number() over (partition by deptno) myRow arrested by deptno from EMP

    EMPNO, DEPTNO, MYROW

    7782,10,1

    7839,10,2

    7934,10,3

    7566,20,1

    7902,20,2

    7876,20,3

    7369,20,4

    7788,20,5

    7521,30,1

    7844,30,2

    7499,30,3

    7900,30,4

    7698,30,5

    7654,30,6

    >

    According to the number of rows in the table, you might be better to create a new table using DEC or a query like this.

  • Multiple Table join without loss of data - SQL help

    Hello
    I have the following tables 3 employee as indicated in the scripts below, please help in writing SQL that connects all these 3 tables and displays the output as shown below

    Required output
    EMP ID Loc Value 1 Value 2 Value 3                    
    1     A     3     1     6
    1 B 4 9 null
    Value null null 1 Wh 8
    2 Z 4 9 null
    3 R 0 null 1
    4 Y 1 null null
    5 O 7 7 null
    Value null null 5 Wh 5
    6 M 7 null 7
    6 B null null 8

    / * Create Tables * /.
    Create table Emp1 (Empid number, Loc Varchar2 (10), Value_1 number);
    Create the Emp2 Table (Empid number, Loc Varchar2 (10), Value_2 number);
    Create table emp3 (empid number, loc varchar2 (10), Value_3);

    / * Insert Scripts * /.
    Insert Into Emp1 Values (1, 'A', 3);
    Insert Into Emp1 Values (2, 'Z', 4);
    Insert Into Emp1 Values (3, 'R', 0);
    Insert Into Emp1 Values (4, 'Y', 1);
    Insert Into Emp1 Values (5, 'o', 7);
    Insert Into Emp1 Values (6, am', 7);

    Insert Into Emp2 Values (1, 'A', 1);
    Insert Into Emp2 Values (1, 'B', 4);
    Insert Into Emp2 Values (1, 'Wh', 8);
    Insert Into Emp2 Values (2, 'Z', 9);
    Insert Into Emp2 Values (5, 'o', 7);
    Insert Into Emp2 Values (5, 'Wh', 5);

    Insert Into Emp3 Values (1, 'A', 6);
    Insert Into Emp3 Values (1, 'B', 9);
    Insert Into Emp3 Values (3, 'R', 1);
    Insert Into Emp3 Values (6, am', 7);
    Insert Into Emp3 Values (6, 'B', 8);
    Commit;


    Thank you
    Varun

    Like this?

    SQL> select nvl(e.empid, e3.empid) empid
      2       , nvl(e.loc, e3.loc) loc
      3       , e.value_1
      4       , e.value_2
      5       , e3.value_3
      6    from (
      7            select nvl(e1.empid, e2.empid) empid
      8                 , nvl(e1.loc, e2.loc) loc
      9                 , e1.value_1
     10                 , e2.value_2
     11              from emp1 e1
     12              full join emp2 e2
     13                on e1.empid = e2.empid
     14               and e1.loc = e2.loc
     15         ) e
     16    full join emp3 e3
     17      on e.empid = e3.empid
     18     and e.loc = e3.loc
     19   order
     20      by empid
     21       , loc
     22  /
    
         EMPID LOC           VALUE_1    VALUE_2    VALUE_3
    ---------- ---------- ---------- ---------- ----------
             1 A                   3          1          6
             1 B                              4          9
             1 Wh                             8
             2 Z                   4          9
             3 R                   0                     1
             4 Y                   1
             5 O                   7          7
             5 Wh                             5
             6 B                                         8
             6 M                   7                     7
    
    10 rows selected.
    
    SQL> 
    
  • SQL help. Identify changes to a field.

    Greetings!
    PS/SQL is not an option for me. I need help to use SQL, if possible for the following scenario.
    Oracle 10G.

    Table: JOB_DATA

    EMPLID, DATE_EFF, DEPTID, JOBCODE
    100, 01/11/2012, 34567, MNG
    100, 01/10/2012, 34567, SUP
    100, 01/09/2012, 28967, MNG
    100, 15/08/2012, 28967, SUP
    100,6/30/2012,15879, MNG

    I need to get the following records only, in other words, every time that changes in the Department ID.

    100, 01/10/2012, 34567, SUP
    100, 15/08/2012, 28967, SUP
    100,6/30/2012,15879, MNG

    Thanks in advance.

    It looks like you want something like

    SELECT *
      FROM (SELECT j.*, lag(deptid) over (partition by emplid order by date_eff) prior_deptid
              FROM job_data j)
     WHERE prior_deptid IS NULL
        OR prior_deptid != deptid
    

    Justin

  • SQL help on taking in SHORT

    Hello

    I have the following table
    EmployeeID | ProjectID | Tasks
    EMP 01     | PID 01    | 5
    EMP 01     | PID 01    | 1
    EMP 01     | PID 02    | 8
    EMP 01     | PID 03    | 9
    EMP 02     | PID 01    | 7
    EMP 02     | PID 02    | 4
    EMP 02     | PID 02    | 3
    EMP 03     | PID 04    | 1
    EMP 04     | PID 04    | 8
    EMP 04     | PID 04    | 7
    I need to write the sql query to get the following results
    EmployeeID | ProjectID | EmpTasks | ProjectTasks
    EMP 01     | PID 01    | 23       | 6
    EMP 01     | PID 01    | 23       | 6
    EMP 01     | PID 02    | 23       | 8
    EMP 01     | PID 03    | 23       | 9
    EMP 02     | PID 01    | 14       | 7
    EMP 02     | PID 02    | 14       | 7
    EMP 02     | PID 02    | 14       | 7
    EMP 03     | PID 04    | 1        | 1
    EMP 04     | PID 04    | 15       | 15
    EMP 04     | PID 04    | 15       | 15
    Any help?

    Thank you

    This should do it:

    WITH t AS
    (SELECT 'EMP 01' EmployeeID, 'PID 01' ProjectID, 5 Tasks FROM dual UNION ALL
     SELECT 'EMP 01' EmployeeID, 'PID 01' ProjectID, 1 Tasks FROM dual UNION ALL
     SELECT 'EMP 01' EmployeeID, 'PID 02' ProjectID, 8 Tasks FROM dual UNION ALL
     SELECT 'EMP 01' EmployeeID, 'PID 03' ProjectID, 9 Tasks FROM dual UNION ALL
     SELECT 'EMP 02' EmployeeID, 'PID 01' ProjectID, 7 Tasks FROM dual UNION ALL
     SELECT 'EMP 02' EmployeeID, 'PID 02' ProjectID, 4 Tasks FROM dual UNION ALL
     SELECT 'EMP 02' EmployeeID, 'PID 02' ProjectID, 3 Tasks FROM dual UNION ALL
     SELECT 'EMP 03' EmployeeID, 'PID 04' ProjectID, 1 Tasks FROM dual UNION ALL
     SELECT 'EMP 04' EmployeeID, 'PID 04' ProjectID, 8 Tasks FROM dual UNION ALL
     SELECT 'EMP 04' EmployeeID, 'PID 04' ProjectID, 7 Tasks FROM dual)
    SELECT EmployeeID,
           ProjectID,
           SUM(Tasks) OVER (PARTITION BY EmployeeID) EmpTasks,
           SUM(Tasks) OVER (PARTITION BY EmployeeID, ProjectID) ProjectTasks
    FROM   t
    
  • REGEXP_LIKE sql help...

    I have a first_name column in my table of students with the following characteristics:

    REDA
    Kris
    Tanvi
    Shweta
    Rajendra
    Kapil
    Vipin
    Sandeep

    Now I'm trying to use the regexp_like function to find the names that begin the letter s and end with the letter p, but I am not able to achieve that I provided here my request please help:

    Select first_name
    the student
    where regexp_like (name, ' ^ sp$ ');

    Concerning
    Rahul

    Mac_Freak_Rahul wrote:
    where regexp_like (name, ' ^ sp$ ');

    Describe your regular expression is to find the string "sp". You do not include buildings for characters that could go p and between s. Here is an example that may help:

    SQL> WITH student AS
      2  (
      3          SELECT 'raj' AS first_name FROM dual UNION ALL
      4          SELECT 'kris' AS first_name FROM dual UNION ALL
      5          SELECT 'tanvi' AS first_name FROM dual UNION ALL
      6          SELECT 'shweta' AS first_name FROM dual UNION ALL
      7          SELECT 'rajendra' AS first_name FROM dual UNION ALL
      8          SELECT 'kapil' AS first_name FROM dual UNION ALL
      9          SELECT 'vipin' AS first_name FROM dual UNION ALL
     10          SELECT 'sandeep' AS first_name FROM dual
     11  )
     12  SELECT first_name
     13  FROM   student
     14  WHERE  REGEXP_LIKE(first_name,'^s.*p$')
     15  ;
    
    FIRST_NA
    --------
    sandeep
    

Maybe you are looking for