Problem creating view with parameters

Hello

I'm new with PL/SQL and I am trying to create a view that accepts parameters. I have two tables that I merged with UNION first of all, I would like to notice what to do with the query parameters. It looks like this:

TABLE 1
col1,
col2,
COL3

TABLE2
col1,
col2,
col3,
COL4,
col5

View:
CREATE VIEW ALL_ADM_VIEW AS SELECT COL1, COL2, COL3 FROM
(SELECT COL1, COL2, COL3 FROM TABLE1
UNION COL1, COL2, COL3 FROM TABLE2
WHERE CURRENT_DATE IN TABLE2. COL4 AND TABLE2. COL5) U
WHERE U.COL3 = 'PARAMETER';

I need to put the value of the parameter 'PARAMETER' for the view. Any help?

Thanks in advance

Create your view like this:

CREATE VIEW ALL_ADM_VIEW AS
SELECT COL1
      ,COL2
      ,COL3
FROM   TABLE1
UNION
SELECT COL1
      ,COL2
      ,COL3
FROM   TABLE2
WHERE  CURRENT_DATE BETWEEN COL4 AND COL5
;

When you use the view in your code, this is where you use your variable:

select ...
from   ALL_ADM_VIEW
where  COL3 = 'PARAMETER';

Tags: Database

Similar Questions

  • Create view with different schemas

    Hello

    I would like to create a view using data on different patterns.

    For example, user A has a table1 and user B has also a table1.
    On the schema user C, I would make a union of two table in the same point of view as:

    If user C is running:

    Select * from A.table1
    Union
    Select * from B.table1

    It's ok, but when I try:

    CREATE or REPLACE view view_table1 AS FORCE
    Select * from A.table1
    Union
    Select * from B.table1

    It returns the ERROR at line 0: ORA-01031: insufficient privileges

    But the C user has SELECT ANY TABLE, update ANY TABLE, DELETE ANY TABLE,... rights

    Someone has an idea?

    Thank you!

    Published by: bushi893 on August 30, 2010 19:53

    When you create a view containing the object of different owners, the other owners have to grant "with grant option" to the owner of the view. Thus, the view owner can grant to other users or patterns...

    Example: The latter is the owner of a table called mine_a User_b is the owner of a table called yours_b

    Let's say user_b want to create a view with a join of mine_a and yours_b

    To see it working properly, it must give "grant select on mine_a to user_b with grant option.

    Then user_b may grant select on this point of view to everyone.

  • How to create view with tabs using the screens?

    Hello friends,

    I am aware of the view by using Manager tabs. I want to create the view tab by using the display instead of Manager.

    What is someone is aware of this kind of stuff?

    Thank you

    Salvi Alexander

    and what made features screen offer Manager does not offer?
    I've set up a couple of tabs, but it would be difficult to do with several screens.

    the advantage of using managers, is that you have a single control bar. If you use multiple screens each would need an instance of the command bar, you have to take care that they all display the same status and management of the screen would be difficult.

  • I have a viewer with a link button problem with vimeo

    I have a viewer with a vimeo link, so when the video plays the darkened background. The problem Im having is the button to launch the video is just Gray, I can't change it. I want her to be in the form of a graph not a thumbnail of the video if possible

    This isn't the Image that creates the gray line. Its the fill color of the relaxation.

    If you created it with LightBox view Composition so the following test

    1. Select the trigger in question

    2. Select None in the fill in the toolbar such as mentioned in the screesnshot below

    3. make sure to do this for all States of relaxation. Particularly active state.

    Let me know if you have it created with the help of the jQuery slideshow.

    Kind regards

    Vivek

  • Create the view with the dynamic from clause

    Hi all

    you might have some ideas to help me out of my problem I just "created myself" ;-)

    I have an unknown quantity and not constant of the tables using the same structure of the table and I have a main table
    that contains all the names of these table types. Now, I want to create a unique view that contains all the columns in each table
    and an extra column name containing the name of the corresponding table.

    I found a solution for this but only if I knew that all the table names while creating my view.

    Here is what I currently have:

    master_table:
    TABLENAME ID
    1 table_01
    2 table_02


    table_01:
    ID NAME
    1 eins
    zwei 2
    drei 3


    table_02:
    ID NAME
    1 a
    2 two
    3 three


    I think 'tab1tab2' on these 2 table looks like this:

    ID NAME TABLENAME
    1 table_01 eins
    2 zwei table_01
    3 drei table_01
    1 a table_02
    2 two table_02
    3 three table_02


    I have reached this point of view with:

    CREATE OR REPLACE VIEW TAB1TAB2 ('ID', 'NAME', 'TABLENAME')
    AS
    SELECT id, name, 'table_01' AS table_01 FROM tablename
    UNION
    SELECT id, name, 'table_02' AS tablename FROM table_02;



    Is it possible to create as many select statements and union that I entered (tablenames) into my master_table to achieve the same results as my opinion hard?

    Thank you very much in advance for your help

    Best regards

    Majo

    create or replace view v_alltables
    Select * from v_all;

    These two statement contradict each other in some way, Don't they?

    path ID number name 'id', varchar2 (20) 'name' of the path) x;

    the column names are case sensitive - try

      id number path 'ID' , name varchar2(20) path 'NAME' ) x;
    

    assuming that the names of the columns are named like that.

  • How to create Table View with even a column name but another Table?

    Hi all

    I have the problem to create a tableview with the same column name, but in the other table.

    Table I: -.

    Table - PAC051MPROFORMA

    Column - MNR, visitid

    Table - PAC051TPROFORMA
    Column - MNR, visitid

    Table - PAC052MTRANSBILL
    Column - MNR, visitid

    Then, I want to create a table for this table. It comes to my SQL

    Pacviewproforma CREATE VIEW (MNR, visitid, MNR, visitid, MNR, visitid)

    Like some PAC051MPROFORMA.mrn, PAC051MPROFORMA.visitid, PAC051TPROFORMA.mrn, PAC051TPROFORMA.visitid, PAC052MTRANSBILL.mrn, PAC052MTRANSBILL.visitid

    where

    * (a.PAC051MPROFORMA.mrn = PAC051TPROFORMA.mrn) *.
    and
    * (a.PAC051TPROFORMA.mrn = PAC052TRANSBILL.mrn) *.

    SQL return this error ORA-00957 =: duplicate column name

    Can I change this SQL for

    Pacviewproforma CREATE VIEW (MNR, visitid)

    Like some PAC051MPROFORMA.mrn, PAC051MPROFORMA.visitid, PAC051TPROFORMA.mrn, PAC051TPROFORMA.visitid, PAC052MTRANSBILL.mrn, PAC052MTRANSBILL.visitid

    where

    * (a.PAC051MPROFORMA.mrn = PAC051TPROFORMA.mrn) *.
    and
    * (a.PAC051TPROFORMA.mrn = PAC052TRANSBILL.mrn) *.
    This time this error return = ORA-01730: number of column names specified invalid

    What should I do?

    Thank you...

    Hello

    SQL> CREATE VIEW pacviewproforma (mrn,visitid,mrn,visitid,mrn,visitid)
      2  As Select
      3  PAC051MPROFORMA.mrn,
      4  PAC051MPROFORMA.visitid,
      5  PAC051TPROFORMA.mrn,
      6  PAC051TPROFORMA.visitid,
      7  PAC052MTRANSBILL.mrn,
      8  PAC052MTRANSBILL.visitid
      9  from PAC051MPROFORMA,PAC051TPROFORMA,PAC052MTRANSBILL
     10  where
     11  (PAC051MPROFORMA.mrn=PAC051TPROFORMA.mrn)
     12  and
     13  (PAC051TPROFORMA.mrn=PAC052MTRANSBILL.mrn);
    CREATE VIEW pacviewproforma (mrn,visitid,mrn,visitid,mrn,visitid)
                                             *
    ERROR at line 1:
    ORA-00957: duplicate column name
    

    Please give different names to each column.

    Something like that...

    SQL> CREATE OR REPLACE VIEW pacviewproforma (MPROFORMA_mrn,MPROFORMA_visitid,TPROFORMA_mrn,TPROFORMA
    _visitid,MTRANSBILL_mrn,MTRANSBILL_visitid)
      2  As Select
      3  PAC051MPROFORMA.mrn,
      4  PAC051MPROFORMA.visitid,
      5  PAC051TPROFORMA.mrn,
      6  PAC051TPROFORMA.visitid,
      7  PAC052MTRANSBILL.mrn,
      8  PAC052MTRANSBILL.visitid
      9  from PAC051MPROFORMA,PAC051TPROFORMA,PAC052MTRANSBILL
     10  where
     11  (PAC051MPROFORMA.mrn=PAC051TPROFORMA.mrn)
     12  and
     13  (PAC051TPROFORMA.mrn=PAC052MTRANSBILL.mrn);
    
    View created.
    
    SQL> DESC  pacviewproforma;
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     MPROFORMA_MRN                                      NUMBER
     MPROFORMA_VISITID                                  NUMBER
     TPROFORMA_MRN                                      NUMBER
     TPROFORMA_VISITID                                  NUMBER
     MTRANSBILL_MRN                                     NUMBER
     MTRANSBILL_VISITID                                 NUMBER
    

    ORA-01730: number of column names specified invalid

    The list of the nmae column you specified for the CREATE VIEW must correspond with the list of SELECTION in the view.

    Twinkle

  • create a view with subquery generating insufficient privileges!

    Hello
    I want to create a view by a DB user with DBA role, the view is based on a query that extracts data from 2 users, next to the query contains the subquery. When I run the query itself - without clause CREATE VIEW - it works and gets the data, but when I try to create a view based on this request, it generates ORA-01031: insufficient privileges pointing to the subquery.
    Any suggestion.

    Saad,

    Hello

    To use the table in a view, privileges must be granted directly to the owner of the view (or public). Privileges granted to a role are not enough to use the table in a view.

  • How to create components of ADF BC as EO 'view with INSTEAD of trigger.

    I have a 'vision with INSTEAD OF trigger' on an external schema. is it possible to create the ADF EO on top of this point of view in my local schema?. If possible, then it is possible to insert/update this portal uses standard data ADF controls and module application.? I'm trying to see if it is possible with the standard controls of ADF without calling pl/sql API for insert/update this external table. any ideas are appreciated.


    --

    Kind regards

    Surya

    http://stegemanoracle.WordPress.com/2006/03/15/using-updatable-views-with-ADF/

  • create a view with the double data type

    I have Windows XP with 10g 10.2.0.1.0

    I need to create a view of the double and with the type of data, such as NUMBER (5.2), NUMBER or VARCHAR2 (20).
    such as:
    create see test (view_test varchar2 (20)) as (select view_test from double)


    Help, please. Thanks in advance.

    It seems a little strange, but you can do something like this with the CAST function:

    SQL> create view dual_view as
      2  select cast(null as number(5,2)) col1
      3        ,cast(null as date)    col2
      4        ,cast(null as varchar2(30)) col3
      5  from   dual;
    
    View created.
    
    SQL> desc dual_view
     Name                                      Null?    Type
     ----------------------------------------- -------- -------------------------
     COL1                                               NUMBER(5,2)
     COL2                                               DATE
     COL3                                               VARCHAR2(30)
    

    I used the NULL values, but you can use the actual values if you wish.

  • create view does not work with the role of resource

    I just upgraded from 10.2.0.1 to 11.1.0.7

    the role of resource users could create views on the old database...
    now, they can't
    ORA-01031 insufficient privileges

    I have to give them create it all discovers the system privileges

    (1) I assume you mean that you gave them the CREATE VIEW privilege. Not CREATE ANY VIEW. The latter would allow them to create a view owned by another user who would be dangerous enough.

    (2) it is not related to the role of RESOURCE. It is almost certainly related to the CONNECT role. CREATE VIEW (among other privileges) has revoked the CONNECT role in point 10.2. I don't know why your 10.2 database was working, I guess that you updated from an earlier version, in which case the update may not have removed the privilege correctly (see Metalink: 317258.1).

    (3) you certainly don't want to use the CONNECT role or RESOURCES in the application of the production. Were the roles of the sample which have been overloaded with privileges for the various elements of the sample code. You should really create your own roles with of whatever your users must actually rather than using these predefined roles of privileges.

    Justin

  • With the help of SCORE on top of view with UNION

    Hi guys,.

    I explain what I'm trying to do it quickly:

    2 tables: table1 and table2 with the same structure and have both a multi_column_datastore ctxsys.context.

    1 view: View1

    Select * from table1

    Union

    Select * from table2

    If I run:

    Select * from View1 WHERE contains (view1. Column1, '% textext %', 1) > 0;

    It works fine, I get the correct result.

    If I try to use the PARTITION function, I got an error:

    Select * from View1 WHERE contains (view1. Column1, '% textext %', 1) > 0 ORDER by SCORE (1);

    ORA-29921: auxiliary operator not supported with query to configure block

    I understand the problem is in the UNION inside the view, is it possible to keep work, filtering the VIEW?

    Thanks in advance

    There is no score in the view, so you cannot reference the score when you query the view.  In order to put the note in the view, you need a contains the clause, which requires a value.  A method to do this is to use sys_context.  Please see the reproduction of the problem and solution below.

    Scott@orcl12c >-reproduction of the problem:

    Scott@orcl12c > create the table1 table:

    2 (column1 varchar2 (30))

    3.

    Table created.

    Scott@orcl12c > insert into table1 values ('textext")

    2.

    1 line of creation.

    Scott@orcl12c > create table table2

    2 (column1 varchar2 (30))

    3.

    Table created.

    Scott@orcl12c > insert into table2 values ('textext")

    2.

    1 line of creation.

    Scott@orcl12c > start

    2 ctx_ddl.create_preference ('test_ds', 'multi_column_datastore');

    3 ctx_ddl.set_attribute ('test_ds', 'columns', "column1");

    4 end;

    5.

    PL/SQL procedure successfully completed.

    Scott@orcl12c > create index table1_idx on table1 (column1)

    2 indextype is ctxsys.context

    3 parameters ("test_ds of the data store")

    4.

    The index is created.

    Scott@orcl12c > create index table2_idx on the table2 (column1)

    2 indextype is ctxsys.context

    3 parameters ("test_ds of the data store")

    4.

    The index is created.

    Scott@orcl12c > create or replace view View1

    2 as

    3 select * from table1

    4 union

    5 select * from table2

    6.

    Created view.

    Scott@orcl12c > select * from View1 where contains (view1.column1, '% textext %', 1) > 0

    2.

    COLUMN1

    ------------------------------

    textext

    1 selected line.

    Scott@orcl12c > select * from View1 where contains > 0 (view1.column1,'%textext%',1) order by score (1)

    2.

    Select * from View1 where contains > 0 (view1.column1,'%textext%',1) order by score (1)

    *

    ERROR on line 1:

    ORA-29921: auxiliary operator not supported with query to configure block

    Scott@orcl12c >-solution:

    Scott@orcl12c > create or replace view View1

    2 as

    3. Select the partition (1) score, table1.* from table1

    4 where contains (table1. Column1, sys_context ('text_query', 'query_value'), 1) > 0

    5 union

    6 select score partition (1), table2.* from table2

    7 where contains (table2.column1, sys_context ('text_query', 'query_value'), 1) > 0

    8.

    Created view.

    Scott@orcl12c > create or replace context text_query using text_proc

    2.

    Context that is created.

    Scott@orcl12c > create or replace procedure text_proc

    2 (p_val in varchar2)

    3 as

    4 start

    5 dbms_session.set_context ('text_query', "query_value", p_val);

    6 end text_proc;

    7.

    Created procedure.

    Scott@orcl12c > text_proc exec ('% textext %')

    PL/SQL procedure successfully completed.

    Scott@orcl12c > set autotrace on explain

    Scott@orcl12c > select * from View1 by score

    2.

    MARK THE COLUMN1

    ---------- ------------------------------

    3 textext

    1 selected line.

    Execution plan

    ----------------------------------------------------------

    Hash value of plan: 4090246122

    ----------------------------------------------------------------------------------------------

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

    ----------------------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |            |     2.    60.     8 (0) | 00:00:01 |

    |   1.  SORT ORDER BY |            |     2.    60.     8 (0) | 00:00:01 |

    |   2.   VIEW                          | VIEW1.     2.    60.     8 (0) | 00:00:01 |

    |   3.    UNIQUE FATE |            |     2.    58.     8 (50) | 00:00:01 |

    |   4.     UNION-ALL |            |       |       |            |          |

    |   5.      TABLE ACCESS BY INDEX ROWID | TABLE1.     1.    29.     4 (0) | 00:00:01 |

    |*  6 |       DOMAIN INDEX | TABLE1_IDX |       |       |     4 (0) | 00:00:01 |

    |   7.      TABLE ACCESS BY INDEX ROWID | TABLE2.     1.    29.     4 (0) | 00:00:01 |

    |*  8 |       DOMAIN INDEX | TABLE2_IDX |       |       |     4 (0) | 00:00:01 |

    ----------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    6 - access("CTXSYS".") CONTAINS "(" TABLE1".»)" Column1', SYS_CONTEXT ('text_query ',' query_v)

    Alou '), 1) > 0)

    8 - access("CTXSYS".") CONTAINS "(" TABLE2".»)" Column1', SYS_CONTEXT ('text_query ',' query_v)

    Alou '), 1) > 0)

    Note

    -----

    -the dynamic statistics used: dynamic sampling (level = 2)

    Scott@orcl12c >

  • ADF:views with the user in the project template settings

    I develop my login on ADF Mobile screen which calls the methods of a Web Service. Our web service is created on the ADF Model project. (Exhibitor on AppModule service interface). Here's the question. I have a LoginView I created in the model. This display request is:

    SELECT COUNT (*) lgn
    USERS
    WHERE username =: uname AND password =: pwd

    uname and pwd are added as binded variable in the next screen and NGLS is added as an attribute.

    We want to consume this view of the Web Service data command. However unlike tutorials when we drag and drop pview of the data control to the AMX page is unable to detect the parameters and the return variable. Problem seems to be on the model side because there is no function on the page web service test as well.

    I appreciate if we can can tell me how to present data (or create views side model) and expose a service interface that contains the parameter of the user (for example, uname and pwd) in where clause and a return variable (lgn for example).

    Thanks in advance

    Instead of using a VO with a fixed where clause, use a VO with a criterion for the view.
    Then, when you create the service interface you will be able to add to the criteria of the view to your interface.
    This will add a method that you can use and pass parameters too.

  • Calling stored procedures with parameters with the database connectivity Toolkit

    Hi all

    I'm new to the forum and struggling to find a solution to a particular problem I have in this respect, using the LabVIEW Database Connectivity Toolkit on a project, I am currently working on my work.  I have a database in which I tables and stored procedures with parameters.  Some of these stored procedures have input, output and return parameters.

    I tried to follow this example, but to no avail: http://digital.ni.com/public.nsf/allkb/07FD130746083E0686257300006326C4?OpenDocument

    Such a stored procedure I am working on the implementation is named "dbo.getAllowablePNs", running "SELECT * from DeviceType" (DeviceType is the table).  In this case, it requires no input parameter, it has an output parameter that generates the table [cluster] and has a return parameter that returns an integer value (status code for execution) to show if an error occurred.  The DeviceType table has 3 columns; ID (PK, int not null), PN (nvarchar ((15), null) and NumMACAddresses (int, null).)  I have surpassed many examples and I talk to the support OR try to implement this and similar procedures stored in LabVIEW but have not been successful.  I am able to connect to the database with the VI of open connection without error, but spin in some confusion as a result of this step.  I then try to use the VI of parameter query create to call the stored procedure and set the parameters.  I guess I would then use the Set parameter value for each parameter that is connected to the entry of parameters on the previous query with parameters VI VI?  I am also having some confusion during and after these steps as well.  I would greatly appreciate advice or suggestions that anyone could have in this situation because I am not a SQL expert.  Also, I would be happy to provide more information that might be useful.

    Kind regards

    Jon

    Here's what I use to do this.  I think I had to change him create parameterized query VI for him to work.  There is a post on the forum about this somewhere.

  • Problems creating a PeopleTools datababse only 8.55 on Oracle 12 c

    I have problems of creation of a database of PeopleTools only 8.55 on Oracle 12 c.

    When you run the utlspace.sql script I can see locks and waiting periods:

    Select * from gv$ memory_resize_ops

    *

    ERROR on line 2:

    ORA-04021: timeout period exceeded while waiting to lock object

    Select * from gv$ memory_resize_ops

    *

    ERROR on line 2:

    ORA-04021: timeout period exceeded while waiting to lock object

    The synonym is created.

    Grant select on gv_$ memory_resize_ops to select_catalog_role

    *

    ERROR on line 1:

    ORA-04021: timeout period exceeded while waiting to lock object

    Created view.

    The synonym is created.

    Grant succeeded.

    Select * from gv$ memory_dynamic_components

    *

    ERROR on line 2:

    ORA-04021: timeout period exceeded while waiting to lock object

    I solved the problem by logging EM Express.

    I followed the database with EM Express, but it seems that there was a problem of lock with scripts.

  • Problems when views containing subqueries and the parentheses of engineering reverse

    I am running questions when using Data Modeler to reverse engineer Oracle views.  A problem occurs if the SQL view contains a subquery, one more question if the SQL view contains parentheses more than necessary.  Unwanted results include: views not valid, the main request being removed from view, leaving just the subquery, the schema name be stripped from the SQL and produces an error when testing the query and the view SQL completely deleted/ignored.

    Thanks in advance for your suggestions.

    Environment:

    Version 4.0.2.840 SQL Developer Data Modeler, build 840

    Running on Windows 7 Professional SP1

    Oracle Database 11.2.0.4, running on Oracle Exadata

    Steps to reproduce:

    1. the installer for the test:

    Create table 1A. for points of view

    CREATE TABLE test

    (col1 VARCHAR2 (10))

    Col2 NUMBER

    col3 DATE

    );

    1B. create a view with a subquery and parentheses "extra".

    VIEW to CREATE or REPLACE test1a

    AS

    (SELECT * FROM biuser2.test WHERE the col3 =)

    (SELECT MAX (test.col3) FROM biuser2.test

    )

    );

    1 create a view with a subquery, without the parentheses 'extra '.

    VIEW to CREATE or REPLACE test1b

    AS

    SELECT * FROM biuser2.test WHERE the col3 =

    (SELECT MAX (test.col3) FROM biuser2.test

    )

    ;

    1. create a view by specifying different column names, followed by parentheses 'extra '.

    VIEW to CREATE or REPLACE test2a (vcol31, vcol32, vcol33)

    AS

    (SELECT col1, col2, col3 FROM biuser2.test

    );

    1. create a view by specifying the names of different columns, without the parentheses 'extra '.

    VIEW to CREATE or REPLACE test2b (vcol31, vcol32, vcol33)

    AS

    SELECT col1, col2, col3 FROM biuser2.test

    ;

    2. run Data Modeler (stand alone, although the built-in SQL Data Modeler developer seems to work the same)

    Import of data, including the test table and all dictionary the views of trial 4.

    Any import, all 4 views have yellow triangle! icon indicating the points of view that must be analyzed, Parse old views of Style.

    3. right click and select "Parse of old views of Style" for each of the 4 views.

    Status of views are now:

    TEST1A: red triangle! icon

    TEST1B: disabled icon

    TEST2A: still has the yellow triangle! icon

    TEST2B: disabled icon

    TEST1A 4A.

    Right-click, selected Validate views has no effect.

    Examine the properties TEST1A

    Examine the query Query Builder

    Warning window will appear: parse error: could not parse the SQL query. Invalid SELECT statement. Unexpected token ') "in line 2, pos 7

    Click ok, the displayed query is:

    SELECT MAX (test.col3) OF biuser2.test

    )

    )

    Result of 'test the query.

    SQL:

    SELECT MAX (test.col3) OF biuser2.test

    )

    ^

    )

    Error at line 2, column 6:

    ORA-00933: SQL not correctly completed command.

    TEST1B 4 b.

    Examine the properties TEST1B

    Examine the query Query Builder

    displayed query is:

    SELECT

    TEST. COL1,

    TEST. COL2,

    TEST. COL3

    Of

    TEST

    WHERE

    TEST. COL3 =

    (

    SELECT

    MAX (TEST.) COL3)

    Of

    TEST

    )

    Results of 'test the query:

    SQL:

    SELECT TEST. COL1,

    TEST. COL2,

    TEST. COL3

    OF THE TEST

    ^

    WHERE TEST. COL3 = (SELECT Max (TEST.) (COL3) TEST)

    Error on line 4, column 5:

    ORA-00942: table or view does not exist

    Preferences for the Data Modeler: DDL: include the defined schema in DDL

    Note that BIUSER2 schema name was stripped from the SQL

    4 c. TEST2A

    Examine the TEST2A properties

    Look at the generator query of query

    No SQL appears

    Results of 'test the query:

    Nothing, if you use "test application" of the display properties window.

    Query executed successfully, so by clicking the green checkmark in the query designer window

    4 d. TEST2B

    Examine the properties TEST2B

    Look at the generator query of query

    displayed query is:

    SELECT

    TEST. COL1,

    TEST. COL2,

    TEST. COL3

    Of

    TEST

    Results of 'test the query:

    SQL:

    SELECT TEST. COL1,

    TEST. COL2,

    TEST. COL3

    OF THE TEST

    ^

    Error on line 4, column 5:

    ORA-00942: table or view does not exist

    Hello

    It seems that the problems with validate selected views and Parse old views of Style both TEST1A and TEST2A occur as a result of the view being defined with the SELECT initial placed in brackets.

    I logged a bug about this.

    Regarding the result of your Test request, you should be able to get this works using a connection that uses your username biuser2.

    When the Test Query window, you must set the login field at the top of this window to your biuser2 connection.

    In the case of TEST2A, it has "successfully" carried out an empty SQL string!

    David

Maybe you are looking for

  • With regard to F10 - 136 - straps on screen

    Hello I've been thinking about upgrading the bios, but my bios version 1.30 and on page Web from Toshiba is available only in version 1.20. It's really upwards (downwards) rank of the bios?I still have this straps on screen, and the instalation of th

  • Speaker blackBerry VM-605 Smartphones will not play through the car radio

    Greetings: My new pairs of speakerphone VM-605 fine with my Tour 9630 (Verizon) and works fine for calls via the microphone/speaker.  However, I can not play music files or Slacker Radio by radio of my vehicle.  I followed the instructions and all th

  • Creation of a periodicity in the creative cloud to adobe illustrator

    OK, so here's the deal.  I did successfully before repetition patterns in Illustrator and I want to do more... and I have success in "trial" basis those, but the minute I create a really pretty and I have all four sides of my place correct stretch Ja

  • Using KVM Image

    I created using KVM on Red hat linux guest windows 7 and I would use on workstation or fusion (fusion preference). Is this possible? If not, can you point me to another program that will run on Mac or Windows image? I have 5 of fusion and the image i

  • CC CC2014 0?

    mi ritrovo 2 versioni di photoshop cc installate perch? CC e CC2014, sono tutte e 2 necessary o posso disinstallarne una?