Help on creating the view to the oracle10g@redhat4 platform

Hello

I tried to create a view for a table that is specified at the client level Oracle10g that I previously installed on a platform of linux redhat4.

If anyone can guide me how to do this.

It is to show some nsuffisante privillage


So how do I solve this problem

More details needed...

For the syntax.

Create View view-name as Select...

EG-
CREATE VIEW view_emp
AS
SELECT EmpID FROM emp;

Tags: Database

Similar Questions

  • Help to create the view - error: ORA-00955: name is already used by an existing object

    Hello

    I am trying to create the following view but sqlplus displays a message and point of view has not been created. I use 11g Express.

    SQL > create view (client, f_pedido, total) orders as

    2     (

    3 select usr, date, sum (rising) as important

    4 of

    5             (

    6 select lineas_any.usuario as usr, lineas_any.fecha_pedido as date, lineas_any.cantidad * as rising referencia.precio

    7 of lineas_any

    inner join 8

    referencia 9

    10 on lineas_any.referencia = referencia.codbarras

    11             )

    Group 12 by usr, date

    13)

    14 order by date asc, usr;

    of lineas_any

    *

    ERROR on line 7:

    ORA-00955: name is already used by an existing object

    There are also descriptions of the two tables involved:

    SQL > describe lineas_any

    Name                                          Null?    Type

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

    USER NOT NULL VARCHAR2 (60)

    FECHA_PEDIDO NOT NULL DATE

    REFERENCIA NOT NULL VARCHAR2 (15)

    AMOUNT NUMBER (2)

    SQL > describe referencia

    Name                                          Null?    Type

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

    CODBARRAS NOT NULL VARCHAR2 (15)

    PRODUCT NOT NULL VARCHAR2 (50)

    FORMATO NOT NULL VARCHAR2 (20)

    SILTING NOT NULL VARCHAR2 (15)

    PRECIO NOT NULL NUMBER (7.2)

    STOCK NUMBER (5) NOT NULL

    MIN_STOCK NOT NULL NUMBER (5)

    MAX_STOCK NOT NULL NUMBER (5)

    Please, could someone help me in this matter?

    Thanks in advance.

    Kind regards

    It means that it is already an object named peridos. Question:

    Select object_type from user_objects where object_name = 'PERIDOS;

    to find out what type of object it is. Any chance you try to change the existing definition of peridos view? If so, use

    CREATE or REPLACE view orders (customer, f_pedido, total) as...

    SY.

  • Need help to create the calendar...

    I have a project, and in this project, I have a script.  However, when I go to create a calendar, the dialog box does not display my script.  Without a script, there is no way to create a schedule, so I'm stuck.  The sample project works as expected and I can see the scripts inside but Adobe Story does not see my script, when I created a new calendar.  My script is not well and I can access/modify if necessary but I can't create a schedule for it.  Would appreciate suggestions.

    ED

    Hello

    Schedules can be created scripts for Film or television. You must have permissions to modify the script (which, it seems, you have). My guess would be that you are trying to create the AV script planning or more columns. It is not possible currently.

    Kind regards

    Sunny

  • SQL help with creating a view

    Hi, I am looking to create a view that needs, based on a table.
    Table:
    Roll, Code, Qual, Date
    1 05 KO 112010
    1 35 01 112010
    1 98 01 132011
    etc...
    I need only the row (roll) code 05 and ko but this roller should have a line with Code 35 Qual 01 with the same Date. I am able to get all the lines have the right Codes (05 and KO with 35 and 01). I don't know how I can then join it on itself to give me just the line 05/ko where correspond to the date and rollers.

    Try this not tested.

    In addition, the date of which as column name isn't suggestable. Change it if possible.

    create view v1
    as
    select * from rolltable r
    where code=05
    and qual='KO'
    and exists (select * from rolltable where code= 35 and Qual='01' and roll=r.roll and date=r.date);
    
  • Need help to create the shape that people have to go to a page

    Hello

    I am trying to create a form that people would have to complete and submit to access a specific page. The info they need to go to an e-mail address. Does anyone have the simplest solution for this? It should not be stored in a database simply go to an e-mail. Any help would be appreciated. I am not great with the backend of things.

    Thanks for getting back to me. What I have is a pricing page. The feedback form is so that we can see who views or interested in the services. We don't want people who fill out this form in order to see it. I created simple contact forms that are sent to an email and directed to another page. The problem I have is trying to find a way where I hope that if the same person comes back they will not have to fill out the form again. I don't know if they will fill and create a login/username that could be a possible solution, but I try to make it simple. I'm just starting to learn PHP/XML (which I copied from other sources) and wrote my own. Maybe create a cookie which is verified once the page is loaded? I don't know how do either if... I'm a front-end "designer" and much of this is Greek to me.

  • need help to create the exe in our test project

    We create a web test in VS2010, we need to know if there is a way that we can create an Exe from our test document (it's like a script something), so that other people can run it without using visual studio.please I would like to know how to do this. Thank you!

    Just a thought. Have you tried Iexpress by right click on the shortcut to the program or the .exe, and then selecting the option "Run As Administrator"?  Perform, even if your user name is an administrator.

    Have you tried a more specific Forum for help?

    Visual Studio forum
    http://social.msdn.Microsoft.com/forums/en-us/category/VisualStudio, vsarch, vsdbg, vstest, vstfs, vsdata, vsappdev, visualbasic, visualcsharp, end

    http://www.Google.com.au/search?q=Visual+Studio+Forum&SourceID=IE7&RLS=com.Microsoft:-to THE: IE-address & ie = & oe = & redir_esc = & ei = 8WYpUK79Mo-XiQfK7IGACQ

  • Need help to create the logo graphic text saved as a PDF. (Beginner)

    I use Photoshop CC 2015.

    I want to create a logo using the part of a chart in a PDF (no copyright issues).

    The chart in PDF document looks like Word of the text with a rectangular colored background. I think the word was created with the help of a police and a couple of letters have been adjusted by the designer to make it better. I just want to use the word itself for my logo, but I don't know how to extract the information.

    Once I extracted the image I want to save it as an SVG file so I can use the Glyphter online services to convert it to a font that I can use the Apple Motion 5 for inclusion in an intro scene.

    Export as SVG option will work to allow me to use Glyphter?

    Guidance have really enjoyed.

    Hi there must be many ways to do this, including just draw your screenshot in Illustrator. If you are comfortable with the tool pen which is by far the most accurate way to do it, but its also very long. What I did was to use your perforated CAP and make a selection by using the magnetic lasso tool by using the default settings. This tool works very well for this kind of thing.

    Then in the palette drawn convert selection to path.

    What you have now is a quick alternative and dirty to the use of the pen tool. Indeed I had to change the path above

    with the pen tool to get the bend on some of the correct letters. Typographers spend days to address these

    forms so that they are fair, so, as you can see above the contours are not perfect, but it comes down to how

    a lot of time, you have to spend.

    Then, you convert the path to a selection. In Photoshop, go to select change smooth and use smoothing 2px

    in an attempt to get out of the irregular bumps or the strangeness of the track.

    Create a transparent layer and fill the section "" with black.

    With the layer selected, go to export as and select SVG and you will get a SVG file. I don't know if

    It works with the Glyphter, but I downloaded what I've done here, so you can try it for yourself.

    Checkin.svg - box

    Hope this works for you

    Terri

  • Help to create the image preview for flv player

    Hello

    I created an application that includes a selection of the videos menu system and a video player.  Currently the flv player video when the application opens begins loading.  I would change this option to display a preview image which would not disappear until my users click on a button to display a video.

    I tried to use the preview image in the flv player and received this error message:

    "The preview image is displayed only during the creation. To generate a preview image of runtime, use the button export and load the image back by writing your own ActionScript. »

    Can anyone help me please with actionscript, I need to load my image in the player?

    Thank you

    :

    Fl.video import. *;
    Import fl.video.VideoEvent;

    showPosterFrame (null);

    display.autoPlay = false;

    function showPosterFrame(event:Event):void {}
    myPoster.visible = true;
    }
    function hidePosterFrame(event:Event):void {}
    myPoster.visible = false;
    }
    function playMovie(event:MouseEvent):void {}
    hidePosterFrame (event);
    Display.Play ();
    }

    myPoster.addEventListener (MouseEvent.CLICK, regarderMovie);

    Create variables
    var safeVideo:String = ' Videos/Fotolia_12024529_V_M (video security) .flv ";
    var safeVideoPlaying:Boolean = false;

    var videoToPlay:String;

    Manage the complete video events
    function videoCompletedHandler(event:VideoEvent):void {}
    If the security video has completed, and then play the video selected
    If {(safeVideoPlaying)


    safeVideoPlaying = false;
    Display.source = videoToPlay;
    } else {}
    showPosterFrame (null);
    }
    }
    display.addEventListener (VideoEvent.COMPLETE, videoCompletedHandler);
    display.addEventListener (VideoEvent.PLAYING_STATE_ENTERED, hidePosterFrame);

    Respond to a button click
    function buttonClickedHandler(event:MouseEvent):void {}
    var videoNum:String = event.currentTarget.name.substr (6).
    videoToPlay = ' videos/video' + videoNum + '.flv ';

    display.autoPlay = true;

    Safe video game
    safeVideoPlaying = true;
    Display.source = safeVideo;
    }
    for (var i: uint = 1; i<>
    This ["Button" + i.ToString ()] .addEventListener (MouseEvent.CLICK, buttonClickedHand ler);

    }

    p.s., make sure that there no artifacts as spaces in the variable object/forum names.

  • Help to create the draw system

    Pls help me in creating a system of drawing lots. the system will pick a random name in the table.

    Thanks in advance.

    It is a way http://baigsorcl.blogspot.com/2010/05/return-random-rows-from-table-by-sql.html

  • need help to create the insert statement

    I have customer_priv of table which has 4 columns (login, privilize_id, adate, added_by)

    the stmt insert like "insert into customer_priv values('JDOE',951.sysdate,admin);

    I have 100 users and for each user, I need to add to the 15 privilize_id

    I have the list of connections and roles, what is the best way to create a massive insert for all those users statement and

    any help is very appreciated

    Thank you

    user11984714 wrote:
    Thanks Frank

    I get the below now.what Miss. Also is it possible to reel in a file insert rather directly the data.am I missing values?

    Sorry, I don't understand what you want.
    You say you want to write something in a HOLD file instead of insert? Of course, you can do it. Change the INSERT statement in a SELECT statement and add commands to the COIL.

    SQL > @c:\insert_many.sql
    33 old: SELECT ' & 1' priv_id, 'admin', sysdate)
    33 News: SELECT sysdate, "BNELSON", "admin", priv_id)

    Of all_priv_id
    *
    ERROR on line 34:
    ORA-00923: THE KEYWORD not found where expected
    Thank you

    Published by: user11984714 on August 9, 2010 18:40

    Sorry, there was a typing error in my previous post.
    Remove the ')' the end of the

    SELECT     '&1', privilze_id, SYSDATE, 'admin')
    

    I hope that you have more problems, but if you do, post your code, even if you think that you just copied it from this site.

  • Help to create the effect of digital noise

    Hello everyone, thank you very much in advance for watching my post.

    I'm a graphic designer with experience of After Effects, but mainly work with Photoshop/Illustrator/InDesign. I want to create a series of charts that have been "glitched" and there is a very specific type of glitch look I'm after.

    If you take a look at this video you can see the kind of effect I want.

    My idea is that I have a glitch animation in After Effects. I would then use it as a filter for the videos and/or still look charts to give them a random bug. Unfortunately, I do not really know where to start. I was able to find some plug-ins Digital glitch for After Effects, but none of them are quite the same look I'll make. And I can create a fixed image of glitch with the look I'm after, but he wouldn't have the motion or random that I want.

    Anyone have any ideas on how to achieve this effect?

    Best,

    Matt

    Again, start by the bad TV preset animations and see what they do. Create your own preset is much easier to write a plug-in.

    Here's what a raw 24 MP image added to a timeline with a bad TV applied and adjusted a bit then duplicated enhanced, scaling slightly and cut into pieces a pre-comp with curves and Fractal noise Fractal noise apply used as matte looks like. Maybe this will give you some ideas.

    You can adjust the fractal demo to get any desired size mattes, and then animate the fractal or use posterize time to blow the mattes around the screen. It's just a matter of layers.

  • Need help to create the sequential LIST of IP

    Dear friends...

    Please help meet the following requirement:

    Table IP_POOL

    USER NAME NOT NULL VARCHAR2 (30)

    STATIC_IP VARCHAR2 (4000)

    LASTOCT VARCHAR2 (4000)

    MASK VARCHAR2 (4000)

    NOFIP                                              NUMBER

    The sample lines

    username, static_ip, lastoct, mask, nofip

    insert into ip_pool values ('ABC@a', ' 10.56.16.0', '0', ' 29 ", 8);

    insert into ip_pool values ('DEF@a', ' 10.63.254.84', '84', '30', 4);

    Desired output:

    ABC@a, 10.56.16.0

    ABC@a, 10.56.16.1

    ABC@a, 10.56.16.2

    ABC@a, 10.56.16.3

    ABC@a, 10.56.16.0

    ABC@a, 10.56.16.0

    ABC@a, 10.56.16.0

    ABC@a, 10.56.16.0

    DEF@a, 10.63.254.84

    DEF@a, 10.63.254.85

    DEF@a, 10.63.254.86

    DEF@a, 10.63.254.87

    Thanks in advance please.

    Ashwin

    Try this

    Select the user name

    static_ip

    lastoct

    mask

    nofip

    regexp_replace (static_ip '(\.) [^.] *$', '\1' || TO_CHAR (lastoct + (level - 1))) new_static_ip

    of ip_pool

    connect

    by level<=>

    and prior username = username

    and prior sys_guid() is not null;

  • Help to create the MXML component

    I can't understand how to create a simple component in FB4:

    I create a folder in the src folder, called "components".

    I click with the right button on components and select new > MXML component

    In the resulting dialog box, in front of the light, when I pess the search button, all I get is a choice, "spark.components.Group.

    I don't know where to go from there.

    So how, exactly, I created a component based on, say, ComboBox?

    Just type "Combo" in the text field to the light and select ComboBox spark or MX ComboBox control from the drop-down.

    Peter

  • Need help to create the package

    Table A
    Column1 Column2
    2B
    1 b
    3A
    4 B

    Table B (aggregate of table A)
    Column1 Column2
    A 3
    B 1

    Table C is new data for Table A and Table A.column1 = Table B.column1
    Column1 Column2
    1 C
    2 C
    3 C
    4 D

    I need to make a package that aggregates data in table C, update existing records in Table B, and insert records in Table B. The result should look like this:
    Table A
    Column1 Column2
    A 0 (3-3)
    B 0 (1-1)
    A q
    D 1

    Hello

    Assuming that the same id (like 'A', 'B',...) never occurs in table_b and table_c (which is the case in your test data):

    WITH     a_summary     AS
    (
         SELECT       column2     AS id
         ,       COUNT (*)     AS cnt
         FROM       table_a
         GROUP BY  column2
    )
    ,     b_c_summary     as
    (
         SELECT     column1          AS id
         ,     COLUMN2          AS cnt
         FROM     table_b
              --
        UNION ALL
              --
         SELECT    column2     AS id
         ,       COUNT (*)     AS cnt
         FROM       table_c
         GROUP BY  column2
    )
    SELECT     bc.id               AS column1
    ,     bc.cnt - NVL (a,cnt, 0)     AS column2
    FROM              b_c_summary  bc
    LEFT OUTER JOIN      a_summary    a          ON     bc.id     = a.id
    ;
    

    If there is an overlap between b and c, you have to change b_c_summary; It may involve a FULL OUTER JOIN instead of UNION all. If so, after a new series of sample data (CREATE TABLE and INSERT statements) and the results desired from these data.

    As Anurag said, you don't need a package or any kind of PL/SQL to get these results, but you can use a query like this in a package, if you want.

    Published by: Frank Kulash, December 10, 2009 10:46
    If you need to change table_b, you can use a query like this as a subquery in a MERGE statement, as Beijing says.

  • Please help me create a view

    Hi guru

    IAM trying to write a view to achieve the below o/p

    CUST_UID MASTER_FLAG GROUP_ID
    AAAE55 1 001
    DDDE55 NULL 001
    AE56 1 002
    DDE56 NULL 002
    AAAE57 1 003
    AAAE58 1 004



    O/p: expected

    CUST_UUID MASTER_UUID GROUP_ID

    AAAE55 AAAE55 001
    DDDE55 AAAE55 001
    AE56 AE56 002
    DDE56 AE56 002
    AAAE57 AAE57 003
    AAAE58 AAE58 0004


    Thanks in advance


    REDA

    Sorry, it should be first_value,

    SELECT M.CUSTOMER_UUID "CUSTOMER_UUID",
           FIRST_VALUE (M.MATCHED_UUID) OVER (PARTITION BY M.GROUP_ID ORDER BY M.CUSTOMER_UUID) "MATCHED_UUID",
           M.MASTER_FLAG "MASTER_FLAG",
           M.GROUP_ID "GROUP_ID",
           M.BRAND "BRAND",
           M.FIRST_NAME "FIRST_NAME",
           M.LAST_NAME "LAST_NAME",
           M.EMAIL "EMAIL",
           M.ADDRESS_1 "ADDRESS_1",
           M.HOME_PHONE "HOME_PHONE",
           M.STD_FIRST_NAME "STD_FIRST_NAME",
           M.WINDOW_KEY_02 "WINDOW_KEY_02"
      FROM (SELECT M.*, CASE WHEN master_flag = 1 THEN CUSTOMER_UUID END AS MATCHED_UUID
              FROM INT.BRAND_GUEST_MATCHED M) M;
    

Maybe you are looking for