the basic sql question

Hi all I have a basic sql question
Watch below two querries
1.  select 1 from dual where 1 in (select 1 from dual union all select null from dual) 

It gives output  as 1

but below one 

2.   select 1 from dual where 1 not in  (select 2 from dual union all select null from dual)

It gives output as no data found 
I think as operator will not compare with all the values, but not the outcome it will compare with all values... When comparing with the value null, the result is automatically null

I'm wrong
Please help me on this

and why performance wise in operator is more better than no of?

Thanks to all in advance

Thanks for posting your explain plan command

Execution Plan
----------------------------------------------------------
Plan hash value: 3249215828

-----------------------------------------------------------------------------
| Id  | Operation        | Name     | Rows  | Bytes | Cost (%CPU)| Time     |
-----------------------------------------------------------------------------
|   0 | SELECT STATEMENT |          |     2 |     6 |     4   (0)| 00:00:01 |
|   1 |  NESTED LOOPS    |          |     2 |     6 |     4   (0)| 00:00:01 |
|   2 |   FAST DUAL      |          |     1 |       |     2   (0)| 00:00:01 |
|   3 |   VIEW           | VW_NSO_1 |     2 |     6 |     2   (0)| 00:00:01 |
|   4 |    SORT UNIQUE   |          |     2 |       |     2   (0)| 00:00:01 |
|   5 |     UNION-ALL    |          |       |       |            |          |
|   6 |      FAST DUAL   |          |     1 |       |     2   (0)| 00:00:01 |
|*  7 |      FILTER      |          |       |       |            |          |
|   8 |       FAST DUAL  |          |     1 |       |     2   (0)| 00:00:01 |
-----------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   7 - filter(NULL IS NOT NULL)

02:12:54 SQL> select 1 from dual where 1 not in  (select 2 from dual union all select null from dual);
Elapsed: 00:00:00.01

Execution Plan
----------------------------------------------------------
Plan hash value: 3291682568

-----------------------------------------------------------------
| Id  | Operation        | Name | Rows  | Cost (%CPU)| Time     |
-----------------------------------------------------------------
|   0 | SELECT STATEMENT |      |     1 |     4   (0)| 00:00:01 |
|*  1 |  FILTER          |      |       |            |          |
|   2 |   FAST DUAL      |      |     1 |     2   (0)| 00:00:01 |
|   3 |   UNION-ALL      |      |       |            |          |
|*  4 |    FILTER        |      |       |            |          |
|   5 |     FAST DUAL    |      |     1 |     2   (0)| 00:00:01 |
|   6 |    FAST DUAL     |      |     1 |     2   (0)| 00:00:01 |
-----------------------------------------------------------------

Tags: Database

Similar Questions

  • On the basic ACL question

    I have a few question ACL. I'm not clear on the source address and the destination address in the following cases.

    Case 1

    My IP WAN1 is 1.1.1.1, my FTP server is 192.168.1.2 port 23

    If I have access to FTP from internet, use ftp://1.1.1.1:23, so what's my IP ACL of source and destination IP? 1.1.1.1 is source? destination is 192.168.1.2? or any?

    Internet-(Outside 1.1.1.1) ASA (inside 192.168.1.1) - FTP (192.168.1.2)

    Case 2

    My WAN1 is always 1.1.1.1 and FTP is 192.168.1.2 port 23

    If I use the ftp://1.1.1.1:8023internet FTP access, what the ACL source IP address and destination?

    I tested in both cases = any source and destination = everything is OK.

    But I confused. I still think the Source address is IP WAN1.

    Hello

    You access the server FTP from the Internet and most likely, you won't know what ip address you will be source. In this case, your source ip address will be everything. If you know the ip address on the Internet that will have access to your FTP server, and then you specify it as the source. You access list will be as follows:

    access-list extended 100 permit tcp any host 1.1.1.1 eq 21

    access-list extended 100 permit tcp any host 1.1.1.1 eq 20

    or

    access-list extended 100 permit tcp x.x.x.x y.y.y.y host 1.1.1.1 eq 21

    access-list extended 100 permit tcp x.x.x.x y.y.y.y host 1.1.1.1 eq 20

    (if you know the network or host who will have ftp access)

    You must also make sure that you have configured static NAT and inspection of the request to your FTP server

    Thank you

    John

  • Basic SQL question

    CREATE TABLE test_table_1
    AS
       (    SELECT ROWNUM col
              FROM DUAL
        CONNECT BY ROWNUM <= 10);
    

    CREATE TABLE test_table_2
    AS
       (    SELECT ROWNUM col2
              FROM DUAL
        CONNECT BY ROWNUM <= 10);
    

    DELETE FROM test_table_1
          WHERE col IN (SELECT col                      ---------------------- There is no such column called col in test_table_2
                          FROM test_table_2);
    
    10 rows deleted!
    
    COMMIT;
    

    The column inside the subquery has never existed...

    SELECT col FROM test_table_2;                                ---  ORA-00904: "COL": invalid identifier
    

    How is it possible that a non-existent column is not followed while the application is being analyzed

    Can someone explain this if you please...

    Thanks for reading!

    Oracle version: 11.2.0.3.0

    See you soon,.

    Manik.

    1. DELETE FROM test_table_1
    2. WHERE col IN (SELECT col - there is no such column called col in test_table_2
    3. OF test_table_2);

    Quite expected behavior.  Cervical in your subquery refers to the same pass in your outer query.

    If you called your columns with a table alias (or the name of the entire table if you wish) the error would have been taken:

    SQL > DELETE FROM test_table_1 T1

    2. WHERE T1.col IN (SELECT T2.col

    3 test_table_2 T2);

    WHERE T1.col IN (SELECT T2.col

    *

    ERROR on line 2:

    ORA-00904: "T2." "" COL ": invalid identifier

  • 7 HR to the basic PDF question

    Hello

    My company has a payment application developed in Java. The UIS is dynamic jsp.
    They look a good help online application system in the server environment. and I'm looking at RH7 to
    WebHelp format. We may have to output PDF for the installation guides or other smaller texts.

    There are no tools yet; only of MS office.

    -Convert files to the output format RH7 PDF do we need Acrobat 9 Pro? Or is a PDF Converter provided with RH7.
    -If if it generates bookmarks and links of cross-references too?
    -If at some point, the customer requests for PDF format help online (or WebHelp) is it possible to reach with less effort?

    This sounds like a fundamental question. but I ask for your help because I couldn't find things on Google.

    Thank you
    Radha Laermans

    Welcome to the forum.

    1] RH comes with a PDF generator.

    [2] all hyperlinks in the source will work in Word and PDF files.

    [3] I don't know what you ask the third question. You seem to be aware that the HR can create PDFs as your first question was about how to sort that leaves "less effort". If you mean "little effort", it is a simple process.

  • The Basic Installation question

    Instructions for installing an ovf file, but the download is a tar file.   I know almost nothing about Linux or what a tar file.  How to make an ovf file?

    In computing, tar (derived from tape the archive) is both a file format (in the form of a type of archive bitstream) and the name of a program to manage these files.

    You can "unzip" the file with one of the programs listed here: http://en.wikipedia.org/wiki/Comparison_of_file_archivers

    Rick Blythe

    Social media specialist

    VMware Inc.

    http://Twitter.com/vmwarecares

    http://Twitter.com/vmwarekb

  • Not able to post a question on the Forum SQL

    Hello

    I'm trying to post a question on the SQL forum, tried 2 times, but it does not appear.

    I am able to see my question on my Inbox, but this issue does not appear in the SQL forum.

    This is the link to my thread: transpose columns in lines

    Please help me,

    Kind regards

    Jitendra

    Indeed, it is a loophole.

    If you go to SQL and then click on the 'Content' link, you will see that need you the space of PL/SQL and if you post a discussion there, it will appear in the list of threads space the SQL and PL/SQL.

    ---

    Ping moniquevdb-Oracle and Oracle-hocinebelatreche to ask that they please untangle this loophole (or someone who can ping).  I can confirm that, following steps of Jitendra, people are still able to create threads in the old list of SQL thread when they should go to list of PL/SQL threads.

    Essentially, this means that the messages of the people will be lost to most of the community.

    I don't always put the purpose of actually having a separate SQL space, as it doesn't really seem to offer much to the what it was associated with the PL/SQL space.

  • Apex SQL question - weeks of the month

    I have a sql question.
    I want to create a dynamic list.

    If the user select may2009, then I want a dynamic list of show

    04/27/2009-05/03/2009
    05/04/2009-05/10/2009
    05/11/2009-05/17/2009
    05/18/2009-05/24/2009
    05/25/2009-05/31/2009

    If the user selects Jun 2009, then the list will be
    06/01/2009-06/07/2009
    06/08/2009-06/14/2009
    06/15/2009-06/21/2009
    06/22/2009-06/28/2009
    06/29/2009-07/05/2009

    Thank you.

    Using this SQL statement, you can get this list:

    SELECT w_start || ' - ' || w_end d, w_start r
      FROM (SELECT     (week_start_list + (LEVEL - 1) * 7) + 1 w_start,
                       week_start_list + (LEVEL) * 7 w_end
                  FROM (SELECT TO_CHAR (TRUNC (TO_DATE (:my_date, 'dd.mm.yyyy'),
                                               'mm'
                                              ),
                                        'IW'
                                       ) week_begin,
                               TRUNC (TO_DATE (:my_date, 'dd.mm.yyyy'),
                                      'mm'
                                     ) m_begin,
                               TO_CHAR
                                  (TRUNC (TO_DATE (:my_date, 'dd.mm.yyyy'), 'mm'),
                                   'd'
                                  ) day_month_begin,
                               TO_CHAR
                                  (TRUNC (ADD_MONTHS (TO_DATE (:my_date,
                                                               'dd.mm.yyyy'
                                                              ),
                                                      1
                                                     ),
                                          'mm'
                                         ),
                                   'IW'
                                  ) week_end,
                               TRUNC (ADD_MONTHS (TO_DATE (:my_date, 'dd.mm.yyyy'),
                                                  1
                                                 ),
                                      'mm'
                                     ) m_end,
                               TO_CHAR
                                  (TRUNC (ADD_MONTHS (TO_DATE (:my_date,
                                                               'dd.mm.yyyy'
                                                              ),
                                                      1
                                                     ),
                                          'mm'
                                         ),
                                   'd'
                                  ) day_month_end,
                                 TRUNC (TO_DATE (:my_date, 'dd.mm.yyyy'),
                                        'mm'
                                       )
                               - TO_NUMBER
                                          (TO_CHAR (TRUNC (TO_DATE (:my_date,
                                                                    'dd.mm.yyyy'
                                                                   ),
                                                           'mm'
                                                          ),
                                                    'd'
                                                   )
                                          ) week_start_list,
                                 TRUNC
                                    (ADD_MONTHS (TO_DATE (:my_date, 'dd.mm.yyyy'),
                                                 1
                                                ),
                                     'mm'
                                    )
                               + TO_NUMBER
                                    (TO_CHAR
                                        (TRUNC
                                              (ADD_MONTHS (TO_DATE (:my_date,
                                                                    'dd.mm.yyyy'
                                                                   ),
                                                           1
                                                          ),
                                               'mm'
                                              ),
                                         'd'
                                        )
                                    )
                               - 1 week_end_list
                          FROM DUAL)
            CONNECT BY LEVEL <=
                          (SELECT   TO_NUMBER
                                       (TO_CHAR
                                           (TRUNC
                                               (ADD_MONTHS (TO_DATE (:my_date,
                                                                     'dd.mm.yyyy'
                                                                    ),
                                                            1
                                                           ),
                                                'mm'
                                               ),
                                            'IW'
                                           )
                                       )
                                  - TO_NUMBER
                                          (TO_CHAR (TRUNC (TO_DATE (:my_date,
                                                                    'dd.mm.yyyy'
                                                                   ),
                                                           'mm'
                                                          ),
                                                    'IW'
                                                   )
                                          )
                             FROM DUAL))
    

    It is a question of SQL and has nothing to do with the Apex.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • The basic coverage of the hinge/m7-j010dx TouchSmart pop question

    My TouchSmart from HP ENVY m7-j010dx laptop on the left side at the bottom the Black cover case began to appear when I open/close the cover. It is not completely broken, I can hold closed while closing or opening the lid (screen), but it worries me.

    Don't know that I need to change the hinge or the basic coverage. My warranty expired July 2014.

    HP Experts please help.

    Thank you very much.

    Kind regards

    Rachman

    Rachman

    Just got the laptop HP Tech Center fixed. They fixed the problem of hinge hardware.

    I personally thank Jenn (case manager) of elevation of the matter and follow-up to ensure that everything goes smoothly. Hats off!

    I also thank @george-p, @JeffHelp, @Futoji for the support.

    Care more!

  • SQL question - define multifields to a variable to use in the select query

    Hello

    I classified a, b, c, d, e,... good fields in Table1.

    my query is: select d, f, g, a, c from Table1

    I want to set these fields in a variable like y and use in a query select as below;

    y = "d, f, g, a, c '.

    Select y from Table1

    How can I achieve this?

    Kind regards

    Mustafa

    Hi, Mustafa,

    Sorry, I don't know anything about SQL Developer.

    Close this thread and start a new thread in the forum SQL Developer:

    https://forums.oracle.com/community/developer/english/development_tools/application_development_in_pl_sql/sql_developer _(not_for_general_sql_plsql_questions)

  • Basic Flash question: Add skin and always keep the link hyper

    Using Creative Suite CS4. I have little or no action script skills.

    I created a 2 minute flash .fla file. In the end, I've added a button that, when clicked, opens a window onto another site. When I exported a .swf file, the button worked fine. When I added the file .swf into an html page, that it worked well also. The problem came when I tried to add a skin with video controls.

    I went through the tutorial that says I need to import the my video in FLV or F4V format. The ony way I could do was to export my FLA file in MOV format and convert it to an FLV file in Adobe Media Encoder CS4. But when I did I lost my link at the end. The video controls excellent work, but how do I add the hyper link in?

    And why hell can one export a Flash FLV file?

    Thank you!

    (this message is so old the answers were lost during a conversion adobe a few years ago.)

    the answer to the op's question, is that you cannot create a flv that executes actionscript.  However, you can create a flv that contains cuepoints and the cuepoints can trigger actionscript to run.

    so, the op should add a cuepoint until the end of the flv (or, if using as3, just use an Event.COMPLETE event listener for the flvplayback component) to detect the end of the flv and trigger the navigateToURL code.

  • Question on the PL/SQL and substitution of variables

    Good evening

    I just started studying the PL/SQL (currently at page 13 of the book), I typed the following example from the book:
    declare
      v_student_id          number          := &sv_student_id;
      v_first_name          varchar2(35);
      v_last_name           varchar2(35);
    
    begin
      select first_name,
             last_name,
        into v_first_name,
             v_last_name
        from student
       where student_id = v_student_id;
    
    
      dbms_output.put_line('Student name : ' || v_first_name || ' ' v_last_name);
    
      exception
        when no_data_found then
          dbms_output.put_line('There is no such student');
    end;
    /
    that gets me the following error:
    SP2-0552: Bind variable "SV_STUDENT_ID" not declared.
    I thought that SQL * more would invite me for a value to be substituted for SV_STUDENT_ID but it does not, that caused the error. Why has no SQL * more invite me for the value of SV_STUDENT_ID and what is the correct way to do it than the code above?

    Thank you for your help,

    John.

    As a result, DDL for STUDENT table:
    CREATE TABLE STUDENT
     (STUDENT_ID NUMBER(8,0)
     ,SALUTATION VARCHAR2(5)
     ,FIRST_NAME VARCHAR2(25)
     ,LAST_NAME VARCHAR2(25)
     ,STREET_ADDRESS VARCHAR2(50)
     ,ZIP VARCHAR2(5)
     ,PHONE VARCHAR2(15)
     ,EMPLOYER VARCHAR2(50)
     ,REGISTRATION_DATE DATE
     ,CREATED_BY VARCHAR2(30)
     ,CREATED_DATE DATE
     ,MODIFIED_BY VARCHAR2(30)
     ,MODIFIED_DATE DATE
     )
    /

    You had a few syntax errors (lines 7 and 12), but after their attachment, your code worked for me:

    SQL> ed
    Wrote file afiedt.buf
    
      1  declare
      2    v_student_id          number          := &sv_student_id;
      3    v_first_name          varchar2(35);
      4    v_last_name           varchar2(35);
      5  begin
      6    select first_name,
      7           last_name
      8      into v_first_name,
      9           v_last_name
     10      from student
     11     where student_id = v_student_id;
     12    dbms_output.put_line('Student name : ' || v_first_name || ' ' || v_last_n
    ame);
     13    exception
     14      when no_data_found then
     15        dbms_output.put_line('There is no such student');
     16* end;
    SQL> /
    Enter value for sv_student_id: 1
    old   2:   v_student_id          number          := &sv_student_id;
    new   2:   v_student_id          number          := 1;
    
    PL/SQL procedure successfully completed.
    

    Did you happen to define set off?

    SQL> show define
    define "&" (hex 26)
    
    SQL> set define off
    SQL> /
    SP2-0552: Bind variable "SV_STUDENT_ID" not declared.
    SQL> set define on
    SQL> /
    Enter value for sv_student_id: 1
    old   2:   v_student_id          number          := &sv_student_id;
    new   2:   v_student_id          number          := 1;
    
    PL/SQL procedure successfully completed.
    

    Published by: Andy Klock on August 11, 2010 18:13 (sorry, line 7 means there was an error not 9...)

  • Are constants of body of the PL/SQL Package in the shared or private area

    Based on that it is not clear to me if body Package PL/SQL constants are stored in the shared or private area.

    http://docs.Oracle.com/CD/B28359_01/server.111/b28318/memory.htm

    "PL/SQL program units and the Shared Pool

    Oracle database treats PL/SQL program units (anonymous blocks, procedures, functions, packages and triggers in database) much the same way he treats the individual SQL statements. Oracle database allocates a shared area to hold the shape analyzed, compiled a program unit. Oracle database allocates a private space to hold values specific to the session who runs the program unit, including local, global and package variables (also known as the package is instantiated) and stamps of SQL execution. If more than one user is running the same program unit, a place unique and shared is used by all users, while each user runs a separate copy of his own private SQL area containing session-specific values.

    The individual SQL statements contained in a PL/SQL program unit are processed as described in the previous sections. Despite their origins within a PL/SQL program unit, these SQL statements use a shared area to hold their analysed representations and a private space for each session, who executes the statement. »


    I am also curious to know what are the differences in fine grain in a perspective of memory and performance (multisession) for the two examples below. One is more effective?


    Example 1.

    create or replace
    package body
    application_util
    as

    c_create_metadata constant varchar2 (6000): =...

    procedure process_xxx
    (
    )
    as
    Start
    ...
    end process_xxx;

    end application_util;

    vs.

    Example 2.

    create or replace
    package body
    application_util
    as

    procedure process_xxx
    (
    )
    as

    c_create_metadata constant varchar2 (6000): =...

    Start
    ...
    end process_xxx;

    end application_util;

    881398 wrote:

    But I still have to ask because it seems still more particularly in example 1 that the constant can be attributed to the use that the actual value could be a pointer to a constant string value in a table of symbols or something related to the compilation unit. I'm always curious in a perspective of management of memory if there is a difference between the example 1 and example 2, and if one is better and why.

    The storage is real, references to this storage internal to the PL/SQL engine. And irrelevant to the PL/SQL programmer.

    This question is really a disagreement over the shape is better: example 1 or example 2. I prefer the 1 example, for readability, testability, etc., and so the question is where is the performance of the memory/differences and or is it just preference of developer.

    I agree with rp0428 - he raised a very important point that it is a problem of scope and nothing else.

    Basically is there any trade-off between using one shape on the other insofar as the performance and memory management?

    Not really. Most runtime engines release not just actual system memory when a variable is out of range. the malloc() calls are expensive. Free() calls are expensive (and are not always the result in usable free memory which can be malloc'ed again).

    Several execution engines use what is called a managed heap. A malloc is made of a new process when it is initialized. The heap memory / managed malloc'ed is adjacent. Pointer allocation of memory for this process is initially pointing to the base of the managed heap. As the process allocates / uses memory, the pointer is moved just advance in the managed heap, which indicates the HWM as such - the beginning of the 'free' memory in the heap. Allocation is sequential.

    Reset of your variable execution, or releasing your runtime object, does not reset the HWM as other objects/variables can still be used and located after this place in the bunch. In this case set him free memory by releasing / resetting the language variables does not restore the kernel memory.

    Memory management is a sophisticated process entirely processed by the engine running - and best left to the runtime engine. As you as a programmer do not explicitly control the memory management, it is not a good idea to try to write code that artificially attempt to use 'better' for the runtime engine memory management. The next version of the runtime of that aura of new features, optimizations and so on — and your interference in your code to get the "valorisation" of memory can happen just bite you not bad after an upgrade to execution.

    Regarding the performance aspect - variable initialization is dependent on scope. In order to have a global scope means a one-time initialization, whereas a private scope (created each call) is a multiple unit. If the first is a little faster than the latter.

    However, the performance differences are tiny - IMO too small to justify this as a valid consideration to spend in addition to the decision of functional design on what possibilities a variable or a constant need to have.

    SQL> create or replace package FooLib1 as
      2          procedure Exec;
      3  end;
      4  /
    
    Package created.
    
    SQL>
    SQL> create or replace package body FooLib1 as
      2          const1  constant varchar2(32767) := rpad('-',10000,'-');
      3
      4          procedure Exec is
      5                  var1    varchar2(32767);
      6          begin
      7                  var1 := const1;
      8          end;
      9  end;
     10  /
    
    Package body created.
    
    SQL>
    SQL>
    SQL> create or replace package FooLib2 as
      2          procedure Exec;
      3  end;
      4  /
    
    Package created.
    
    SQL>
    SQL> create or replace package body FooLib2 as
      2          procedure Exec is
      3                  const1  constant varchar2(32767) := rpad('-',10000,'-');
      4                  var1    varchar2(32767);
      5          begin
      6                  var1 := const1;
      7          end;
      8  end;
      9  /
    
    Package body created.
    
    SQL>
    SQL> set timing on
    SQL> exec for i in 1..100000 loop FooLib1.Exec; end loop;
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:00.28
    SQL> exec for i in 1..100000 loop FooLib2.Exec; end loop;
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:00.74
    SQL> 
    

    A second difference 0.0000046 in a single execution for FooLib.Exec between the use of package for the constant scope, against increased private. Which means that the issue of the scope is not a decision of the performance. Not when improving performance overhead is 0,0046 millisecs.

  • APEX shortcuts using the source of the body of the PL/SQL function

    Hi all

    Recently, I came across the feature of "Shortcuts" in the "Shared components" section of the APEX and thought great, somewhere to set the common/standard items once, then use these several times in different pages of my application.

    This seemed to work correctly when you use the 'Source' of "HTML Text" or "HTML text with special characters escaped", but then I wanted to explore the use of the "Body of the PL/SQL function" option to create a more dynamic shortcut/variable on the base.

    This is where I came across a particular problem in the APEX (Version 3.2.1.00.10 on GR 11, 2 on Oracle Enterprise Linux). When I set my shortcut, and then perform a reference to my shortcut (using "MY_SHORTCUT") in an area of a page, the value of shortcut is back, but is added with the reference variable (ie. the 'MY_SHORTCUT' chain).

    For simplicity, my example looks like this (of course, my real world example is a bit more complicated, but this example produces the same error):
    (a) I define my shortcut called "MY_SHORTCUT" and using the body of the PL/SQL function under "Source Type", define my procedure as "htp.p(:USER)."
    (b) I then create a new page (basic HTML page), and a new region of the 'type'-> 'HTML Text (with shortcuts).
    (c) in the "Source region", I define my shortcut like - "MY_SHORTCUT".
    (d) I apply changes and then run the page.

    I'll be back will be name of the current user with "MY_SHORTCUT" appended/added immediately after the user name - for example. the string:-' BRAD «MY_SHORTCUT»»

    Question is - how to stop the shortcut/reference text "MY_SHORTCUT" to be added to the variable you want to see the and thereafter on your page? I am just wanting the variable, NOT the reference for the shortcut.  I do something wrong using the HTP package, and if yes, what should I use?

    If "MY_SHORTCUT" is defined as "HTML text with special characters escaped" (where I can refer to elements of application using the syntax '& USER.') so that everything works correctly. My reason for using the PL/SQL is to generate a more dynamic output variable, based on elements of application throughout the entire application - and of course the use of shortcuts to minimize coding and duplication.


    Thanks in advance,
    Brad

    Hello

    The body of the PL/SQL function must RETURN a value.

    Try:

    RETURN :APP_USER;
    

    Andy

  • LabVIEW base, protocols supported system of development and the basic features

    Hello

    I ask this question here because I can't find that information on the web, or I get the technical support e-mail response. We are interested in acquiring a license of basis of Labview to start development to develop test for simple automation systems. The basic idea is to have a card with digital, analogue i/o, common seria interfaces: RS232, Ethernet, I2C or SPI. All this to interface HW under test.  A single port for communication with the PC (USB, Ethernet, RS232).

    We would like to know:

    (1) what protocols are supported by the Labview Base development system package.

    (2) if the license mode allows you to integrate MATLAB/C/C++ code.

    (3) in general, where a document that provides details on the characteristics of the Labview. We were not able to find a manual for it. Just this very basic with informaton purchase link: http://sine.ni.com/nips/cds/view/p/lang/no/nid/1385.

    Kind regards

    Jose

    Have you looked at the page 'Buy' for LabVIEW? http://www.NI.com/LabVIEW/buy/

    Basically, I think that LabVIEW base supports everything in terms of basic Windows protocols, but does not include LabVIEW RT or FPGA (for CompactRIO/FPGA targets) but you can use series, ethernet, etc. DAQmx for windows (and also the instrument 3rd party drivers). It doesn't have the enhanced math library or the application Builder so that you can not create executables/installers - you will need run your code in the development environment.

    Alternatively, you can call external code .NET / C dll through the call library function node. You will not be able to incorporate Mathscript, because it is only in the complete edition upward.

  • The basic service of the TPM secure in Windows 2003

    The basic service of the TPM secure in Windows 2003 is configured to run automatically, but it stops. When you try to start it, I get the message "the TPM Base service on started and then stopped. Some services stop automatically if they have no work to do... "This is the normal behavior for this service? If supposed to work, what can I / check?

    Hello

    The question you have posted is related to the Server 2003 and would be better suited to the TechNet community. Please visit the link below to find a community that will provide the best support.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home

    Thank you.

Maybe you are looking for