Regarding privilege to view tables in database

hi,
since i am just a begginer in my job as DBA,so any body could help me.The problem is i connected to database and created my own user and granted privilege to view and select particular table in the database.But later when i connected through my user to same database i could not select the table.pleaze any one could give me solution..

Ensure if you have created the table/view in that new user's schema or using dba sys schema.
In any case, you can use schema.table/view_name to select and view the contents of the table.
Or you can login as sysdba and find the table by querying the dba_tables view.
Hope that helps
Z.K.

Similar Messages

  • Unable to view tables in Database Expert

    When I connect to one of my Oracle database servers via ODBC and expand the schema of interest, only see Stored Procedures displayed.  No tables or views available.
    Checked the Options and under 'Data Explorer' the Tables & Views are checked.
    Any suggestions on what is wrong with the configuration?  Am able to connect to another database server and have no problems in viewing the tables/views.
    Thanks in advance.

    Lewis,
    By default CR will only read the first 8000 objects from a database. Try unchecking stored procedures and views. This will only return the tables from the DB.
    If you can see the tables after this then there is a registry key that determines how many objects will be returned to CR. You can increase this amount. It is recommended that you back up your registry before editing though.
    HKEY_Current_User > Software > Business Objects > Suite ?? > Crystal Reports > Fetch Options > NTablesMax

  • Need to find total no fo  tables/index/m.views in my database

    Hello Everyone ;
    How can i find total no fo  tables/index/m.views in my database ?
    when i  google  i have seen  following  command ;
    SQL> Select count(1) from user_tables where table_name not like '%$%' /
      COUNT(1)
             but i dont understand  what  '%$%'  indicates ?
    Thanks all ;

    Hello Everyone ;
    How can i find total no fo  tables/index/m.views in my database ?
    when i  google  i have seen  following  command ;
    SQL> Select count(1) from user_tables where table_name not like '%$%' /
      COUNT(1)
             but i dont understand  what  '%$%'  indicates ?
    Thanks all ;
    consider to simply Read The Fine Manual YOURSELF!
    Oracle Database Search Results: like

  • Problems with viewing employees table in database

    Can any help me to be able to view all the tables in database: Employees, countries and so on?
    I think it is due inability to login as hr user.
    Thanks,
    Peter

    Peter,
    You will need to give us more information:
    Oracle Version?
    Platform?
    Interface you are trying to log in from? (SQL*Plus or iSQL*Plus?)
    Error messages?
    Steps you took to produce the error?
    The HR user will have been set up with a default password, if it is set up at all. Did you install the database? Did you unlock the HR user?
    This chapter might help you figure out if the HR schema is installed:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96539/installa.htm
    Alison

  • Attach User define tables and view table need add to database into my add-o

    Hi there,
    I want to deploy an addon, there are User define tables and view table need add to database.
    I need some advice on some issues..
    1. Can I attach User define tables and view table need add to database into my addon.
    2. I wonder which chance is properly to add them, if add these user define objects in time of install and I can't get the enough information that connect to SQL server
    Thanks for any help.

    Hi Weerachai,
    Here's an example of how to create a user-defined table in code. My suggestion would be to check if it exists when your add-on starts up and then if not, create the tables, fields and objects.
    'User Table
        Private Sub CreateTable(ByVal sTable As String, ByVal sDescription As String, ByVal oObjectType As SAPbobsCOM.BoUTBTableType)
            Dim oUserTablesMD As SAPbobsCOM.UserTablesMD
            Dim iResult As Long
            Dim sMsg As String
            oUserTablesMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
            If Not oUserTablesMD.GetByKey(sTable) Then
                oUserTablesMD.TableName = sTable
                oUserTablesMD.TableDescription = sDescription
                oUserTablesMD.TableType = oObjectType
                iResult = oUserTablesMD.Add()
                If iResult <> 0 Then
                    oCompany.GetLastError(iResult, sMsg)
                    MessageBox.Show("Error Creating Table: " & sTable & " Error: " & sMsg)
                End If
            End If
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserTablesMD)
        End Sub
    'User Field
        Private Sub CreateField(ByVal sTable As String, ByVal sName As String, ByVal sDescription As String, _
                                ByVal iSize As Integer, ByVal aFieldType As SAPbobsCOM.BoFieldTypes, _
                                ByVal aSubType As SAPbobsCOM.BoFldSubTypes, ByVal sLink As String, _
                                ByVal bMandatory As SAPbobsCOM.BoYesNoEnum)
            Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
            Dim oTable As SAPbobsCOM.UserTable
            Dim iResult As Long
            Dim sMsg As String
            Dim i As Integer
            Dim x As Integer
            Dim bFound As Boolean = False
            Dim oField As SAPbobsCOM.Field
            oTable = oCompany.UserTables.Item(sTable)
            For i = 0 To oTable.UserFields.Fields.Count - 1
                oField = oTable.UserFields.Fields.Item(i)
                'MessageBox.Show(oField.Name)
                If oField.Name = "U_" & sName Then
                    bFound = True
                End If
            Next
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oTable)
            If Not bFound Then
                oUserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
                oUserFieldsMD.TableName = "@" & sTable
                oUserFieldsMD.Name = sName
                oUserFieldsMD.Description = sDescription
                oUserFieldsMD.Type = aFieldType
                If aFieldType = SAPbobsCOM.BoFieldTypes.db_Alpha Or aFieldType = SAPbobsCOM.BoFieldTypes.db_Numeric Then
                    oUserFieldsMD.EditSize = iSize
                Else
                    oUserFieldsMD.SubType = aSubType
                    oUserFieldsMD.Mandatory = bMandatory
                End If
                oUserFieldsMD.LinkedTable = sLink
                iResult = oUserFieldsMD.Add()
                If iResult <> 0 Then
                    oCompany.GetLastError(iResult, sMsg)
                    MessageBox.Show("Error Creating Field: " & sTable & "." & sName & " Error: " & sMsg)
                End If
                System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserFieldsMD)
            End If
        End Sub
    If you want to create a View I think you would have to use the RecordSet object. This will ensure that you don't have to log in to the database again
    Hope it helps,
    Adele

  • View on "Transparent Table and DataBase View" ????

    Hi
    I have three transparent tables and four database views in R/3.
    Is it possible to create the view on "Transparent Table and DataBase View". Please let me know
    kumar

    no it's not possible.

  • MVC: Create a view which populates two (or more) joined tables in a single view table

    I am beginner in MVC and I would like to create a view which populates two (or more) joined tables in a single view table as described below.
    I have two tables:
    1 - Bloggers: - bloggerID (int);
                        - bloggerName (string)
    2 - Blogs: - blogID (int);
    bloggerID (int);
                    - blogTitle (string);
                    - blogImage (string)
    A blogger can have one or more blogs while one blog must be related to only one blogger.
    I would like to have a view table on my webpage as the following:
    Blogger Name
    Blog Title
    Blog Image
    Noris Gang
    Virus
    virus.jpg
    Noris Gang
    Desktops
    desktop.jpg
    Gauthier
    Books
    books.png
    John Leon
    NNNMHJhjdhj
    Nmbj.jpg
    I'm using MVC 4 (or at least 3).
    Thanks for your help.

    Hello,
    From your description, it is not very clear that what you mean about the View, if it means the View concept in database as SQL Server, your required view should be as below:
    Create view
    as
    Select Bloggers.bloggerName, Bloggers.blogTitle, Bloggers.blogImage
    From Bloggers join Blogs on Bloggers.bloggerID = Blogs. bloggerID
    If it means the UI view in MVC concept, I suggest you could ask it on the MVC forum:
    http://forums.asp.net/1146.aspx
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Include or create a view in the database and use this view?

    Well, I need to get related data of the main table from another related tables, so one way to do that is to use the Include method in Entity Framework to get this related data.
    However, I am thinking in another option, create a view in the database and use this view in entity framework. In this way, I avoid the needed of the include, because I think that is expensive in resources. But I am no very sure about that.
    I would like to know if the use of views on entity framework is a good idea to improve the performace or is better to use the include.
    For example, if I use the include I have the advantage that I get only one the main record and all the related data I have in the navigation properties, so the info is more shorted.
    Which is the advanteges and disadvantages of both methods to get related data in entity framework?
    Thank so much.

    Hello ComptonAlvaro,
    >>I would like to know if the use of views on entity framework is a good idea to improve the performace or is better to use the include.
    If your view would use a Join syntax to query master-child relationship tables, it actually is similar with the Include() method which actually results a duplicate records from master table, you could check this
    link for detail description.
    >>Which is the advanteges and disadvantages of both methods to get related data in entity framework?
    One visible difference is that records from Views are not editable by default(if you want edit them, you could refer to this
    blog).
    In your case, my suggestion that you could use the lazying load which will load the matter table once and disable the trace if you only need to display data.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • UNION on two views in Different databases

    Hi All,
    Could you please help me in sorting out this requirement.
    We have two views in one database and two more views in another database. Now I want to create one view which should give the union of all these four views. We have DB links. Is it possible? If yes please send me the script.
    Thanks in advance to all.
    Thanks & Regards
    Rajesh Amathi

    Hi and welcome to OTN.
    please refer to Oracle books, your question is simple and also a few hard explained.
    You can use union, union all, intersec and of course many join methods. Which one is for you, you should decide it, or let us know what exactly do you need.
    If objects separated different databases, of course db link is necessary.
    example of creation view:
    CREATE VIEW sample_view AS
    SELECT e1.Ename, e2.Empno, e1.Deptno
    FROM table1 t1, table2 t2, table3@remotedb t3, table4@remotedb t4
    WHERE t1.id = t2.id and t3.id=t4.id; --you can join all tables as you want
    to overview of view please refer to : http://www.dba-oracle.com/concepts/views.htm
    Edited by: Ulfet Tanriverdiyev on Aug 3, 2010 2:56 AM

  • Joining tables across databases in OBIEE Physical Layer

    I was facing this problem of joining tables across databases in Physical layer of OBIEE admin tool.
    I had a requirement to combine two tables from 2 different databases A and B respectively. I had created one database object (OBIEE Object) in the physical layer and I had created two connection pools under that pointing to the required databases. I was able to view the data (right click on the table object --> popup menu option "View Data" ) though I had to go through the "Select connection Pool" window and select the required connection pool. I was able to join the tables and was able to complete the star schema in BMM and bring them up to the presentation layer. Conistency check was also successful. Everything went fine so far.
    But when I started building the report, I started getting error whenever I chose the table which was supposed to be queried by using the second connection pool. The error message was something like "table or view does not exist at OCI call OCIStmtExecute". I assume that this was happening because the systm was not able to understand which connection pool to choose (because there were two pools defined under one database object) and by default the server was choosing the first one. If anybody is having a different opinion or definite information about this, kindly update with your reply.
    I could resolve this problem after creating a separate database object with a separate connection pool defined under it, which points to the second database. Imported the required table under this database object. (Infact it was reverse. When I re-imported the table, OBIEE Admin tool, by default created its own database object and the connection pool separately for the imported table).
    Once this was done then I went ahead as usual by joining the tables across these two different database objects and modelling was already done (ofcourse with a little more tweaking since the mapping had to be redone between BMM and Physical layers). Now I could build the report in the reporting layer without encountering any error.
    Appreciate and welcome any further additions/updations/corrections regarding this issue(?).
    -MMishra.
    Edited by: user13483341 on Nov 29, 2011 8:20 AM
    Edited by: user13483341 on Nov 29, 2011 8:20 AM
    Edited by: user13483341 on Nov 29, 2011 8:24 AM

    Hi Deepak, Thanks for your reply.
    Appreciate if you can help me with another thread "possibility of multi-currency in OBIA 7.9.6.2 financial anlytics".
    - MMishra.

  • Crystal view table or SQL view table

    In Crystal and SQL there have lot of View tables.  What kind of table called View table?  What's the difference with tables without view prefix?
    I think view tables are few tables linked together for designers to use instead need to link few tables by themselves.  
    How to create view table and the purpose using view tables?

    Hi,
    A view tables is, in essence, a virtual table. It does not physically exist. Rather, it is created by a query joining one or more tables.
    [click here|http://en.wikipedia.org/wiki/View_(database)]
    You can search on the web for more samples.
    Regards,
    Clint
    Edited by: Clint T. Pauyon on Jul 13, 2009 7:58 AM

  • Bug when viewing tables?

    There seems to be a bug when viewing tables with identical names in different schemas in SQL Developer. When I view table information in one schema and then go to a table with identical name in another schema the view isn't updated, it still shows the information for the table from the first schema. I have to select another table in the second schema before I select the table I want to look at to get the information correct.
    I have the same problem with views, so this is probably the case for all kinds of objects.
    Regards,
    Sveinung

    I have found that the problem is even more specific. It occurs only when I view schemas in different databases.
    I am not sure that I understand what you mean about abstracted script. I have tried to create a simple test case with two scripts, one for each database, that creates a table, inserts some data and creates a view on the table.
    I have not found a way to upload files, so I have pasted the contents into this thread along with a description of the steps in the GUI. I have run the scripts on Oracle 10g (10.2.0.3.0) databases.
    -- SCRIPT 1
    CREATE TABLE test_table
    col_1 NUMBER,
    col_2 VARCHAR2(6)
    INSERT INTO test_table VALUES (1, 'ROW 1')
    INSERT INTO test_table VALUES (2, 'ROW 2')
    INSERT INTO test_table VALUES (3, 'ROW 3')
    INSERT INTO test_table VALUES (4, 'ROW 4')
    INSERT INTO test_table VALUES (5, 'ROW 5')
    COMMIT
    CREATE VIEW test_view AS SELECT * FROM test_table
    -- END SCRIPT 1
    Run script 1 in some schema in a database.
    -- SCRIPT 2
    CREATE TABLE test_table
    col_1 NUMBER,
    col_2 VARCHAR2(6),
    col_3 VARCHAR2(12)
    INSERT INTO test_table VALUES (1, 'ROW 1', 'COL 3 ROW 1')
    INSERT INTO test_table VALUES (2, 'ROW 2', 'COL 3 ROW 2')
    INSERT INTO test_table VALUES (3, 'ROW 3', 'COL 3 ROW 3')
    INSERT INTO test_table VALUES (4, 'ROW 4', 'COL 3 ROW 4')
    INSERT INTO test_table VALUES (5, 'ROW 5', 'COL 3 ROW 5')
    INSERT INTO test_table VALUES (6, 'ROW 6', 'COL 3 ROW 6')
    INSERT INTO test_table VALUES (7, 'ROW 7', 'COL 3 ROW 7')
    COMMIT
    CREATE VIEW test_view AS SELECT * FROM test_table
    -- END SCRIPT 2
    Run script 2 in some schema in another database.
    Connect to the two databases in SQL Developer.
    Select the table in the first database, then select Data.
    Then select the table in the other database. In my system the data are not refreshed. This is also the case when I look at the views.
    Hope this description is good enough.
    Sveinung

  • Is application to view tables and relationships?

    Hi for all?
    I'm beginner DBA. I don't find apllications to view tables and relationships!

    Hello PraveenSastry,
    >> When I connect to the Database using Server Explorer and select "New Query" from the options…
    From your description, it is not very clear to know what happens, if you could share a screenshot, we can understand this issue more clearly.
    By the way, it seems that you are developing with Data Designer Extensibility (DDEX) SDK, I suggest that you could post VSX related issue to
    this forum, the current forum is for issues regrding ADO.NET managed providers, especially System.Data.SqlClient, System.Data.Odbc and System.Data.Oledb.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • DB Connect Error - There is no table in database system

    I am trying to get DB Connect to work in our BI 7.0 system.  I believe I have the DB Connect source system setup correctly.  In BI, I execute the following steps:
    1. Right-click on the DB Source system and select Additional Functions > Select Database Tables (3.x)
    2. Enter my DB Source System
    3. Check Select Tables and Select Views
    4. I get the message 'There is no table in database system'.
    Can some please make some suggestions on what I have done wrong?
    Thanks.
    Regards,
    Ron

    Whatever the Database user name you define in SAP the views/tables in the DB system should have the same owner.
    Ex: If connection between BW and DB is defiend under user SAP1 then the owner of the database should also be SAP1.
    Also check this doc:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b031fd32-f109-2a10-5486-ccddf1660ce5
    Edited by: sam hennry on Feb 22, 2008 12:36 PM

  • Error while creating materialized view which using database link

    Helo!
    I'm getting error "ORA-00942: table or view does not exist" when I want to create materialized view.
    Details:
    1. On destination database I create a database link:
    CREATE DATABASE LINK SDATABASE
    CONNECT TO MYUSER
    IDENTIFIED BY MYUSERPASS
    USING 'ORCL';
    => Command "SELECT * FROM TABLE1@SDATABASE" returns data normally!
    2. On source database I create MATERIALIZED VIEW LOG:
    CREATE MATERIALIZED VIEW LOG
    ON TABLE1
    WITH PRIMARY KEY
    INCLUDING NEW VALUES;
    3. Now, when I want to create MATERIALIZED VIEW on destination database:
    CREATE MATERIALIZED VIEW TABLE1
    REFRESH FAST
    START WITH SYSDATE
    NEXT SYSDATE + 1/1440
    WITH PRIMARY KEY
    AS SELECT * FROM TABLE1@SDATABASE;
    ...I get error "ORA-00942: table or view does not exist"!
    How is that possible if command "SELECT * FROM TABLE1@SDATABASE" returns data normally?
    Thanks,
    Voranc

    And, I'm using Oracle 10g.
    Voranc

Maybe you are looking for

  • MacBook Pro Mid-2010 15" Frequent Kernel Panics

    Hello all, I have been experiencing frequent kernel panic shutdowns (2-3 a day) since upgrading to Yosemite. To compound matters, after each panic is an additional restart as my computer is already in the process of restarting, so I never get the cra

  • Using nested Joins in abap prog

    Hi All, please help me  out in using nested joins in abap progrmaming. I dont know about joins in abap.specially in case of outer join.   I have 5 internal tables.. mara ,marc, mvke,mbew,ampl. am using  a  select query with certain fields from all th

  • Client Result Cache Question

    Hi, i am not sure, whether the new feature "Client Result Cache" for OCI - Connections is an enterprise only feature or not. The Licensing Information at http://docs.oracle.com/cd/E11882_01/license.112/e10594/editions.htm#CJACGHEB shows this three fe

  • Why does cs6 freeze when i try to open a psd file?

    I have two files that will not open, the program just freezes and i have to control alt delete out. how can i open this file?

  • Itunes crash when opening the store, windows xp, error in "***.dll"

    Hi, every time, when I select in iTunes 11.1.5.5, windows XP (32 Bit) the store's start page (menu store/start page), it crashes. All information I can get from windows after that, is that itunes crashed in w.t.f.dll. (sorry , this board does not all