User access to VIEW in oracle database

Hi,
We have an issue with the user gpdashboard. I have explicitly given the select on view gpcomp1.OPENDISPUTES. It can query the table but returns 0 rows (no error). Whereas gpcomp1, when queries this view, returns 8000+ rows. Do you know what could be the issue?

user503988 wrote:
Thanks for your reply. I have granted the select privileges on all the underlying tables as well but still the same issue. Can you please let me know if there is a way to know that I have given select privilege to all underlying tables and not missed any!You have tables. We don't
You have data. We don't
You have SQL. We don't
You have error code & message. We don't.
I find it impossible to fix code I can not see.
why do you expect any solution when you provide no useable details?
How do I ask a question on the forums?
SQL and PL/SQL FAQ
Handle:     user503988
Status Level:     Newbie (10)
Registered:     Apr 18, 2006
Total Posts:     52
Total Questions:     25 (16 unresolved)
I extend to you my condolences; since you rarely get your questions answered here.

Similar Messages

  • User access logging for my Oracle database 9.2.0.3 and Linux server

    Hi Friends,
    I would like to have a record of users who had accessed my oracle apps database(9.2.0.3).Please let me know the method.
    Also i would like to record the users who had connected to my linux server (using putty) please suggest a method.
    Regards,
    Arun

    user564706 wrote:
    I would like to have a record of users who had accessed my oracle apps database(9.2.0.3).Please let me know the method.Perhaps sed (man sed) and records in listener.log, default at OH/network/log/, could help you to find a method.
    Also i would like to record the users who had connected to my linux server (using putty) please suggest a method.Take a look in /var/log e.g. wtmp (if such file name exists, and use man command on the file names to learn their usage). Should at least help identify telnet/ssh sessions.

  • "Error while accessing porting layer for ORACLE database via getSessionId()

    Hi,
    My ejb3.0 Entity is created from Emp table in scott/tiger schema of an Oracle 10g database. I am guessing I made some mistake creating the datasource or uploading the driver, because when I run my application, I get a long exception stack trace. The bottom-most entry in the stack trace is:
    Caused by: com.sap.sql.log.OpenSQLException: Error while accessing porting layer for ORACLE database via getSessionId().
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:148)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createPooledConnection(DirectConnectionFactory.java:527)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:158)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:118)
         at com.sap.sql.connect.factory.PooledConnectionFactory.createPooledConnection(PooledConnectionFactory.java:119)
         at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:38)
         at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:685)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPool(DBDataSourcePoolImpl.java:1081)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPooledConnection(DBDataSourcePoolImpl.java:919)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.getConnection(DBDataSourcePoolImpl.java:67)
         at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.getConnection(DatabaseDataSourceImpl.java:36)
         at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
         ... 90 more

    Actually, now (after the GRANT described in my reply before) the Exception has changed to:
    Caused by: com.sap.sql.log.OpenSQLException: Error while
    accessing porting layer for ORACLE database via
    <b>getDatabaseHost</b>().
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException
    (Syslog.java:148)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.
    createPooledConnection(DirectConnectionFactory.java:527)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.
    createDirectPooledConnection(DirectConnectionFactory.java:158)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.
    createDirectPooledConnection(DirectConnectionFactory.java:118)
         at com.sap.sql.connect.factory.PooledConnectionFactory.
    createPooledConnection(PooledConnectionFactory.java:119)
         at com.sap.sql.connect.factory.DriverPooledConnectionFactory.
    getPooledConnection(DriverPooledConnectionFactory.java:38)
         at com.sap.sql.connect.datasource.DBDataSourceImpl.
    createPooledConnection(DBDataSourceImpl.java:685)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
    matchPool(DBDataSourcePoolImpl.java:1081)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
    matchPooledConnection(DBDataSourcePoolImpl.java:919)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
    getConnection(DBDataSourcePoolImpl.java:67)
         at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.
    getConnection(DatabaseDataSourceImpl.java:36)
         at com.sap.engine.services.dbpool.spi.
    ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
         ... 90 more

  • Can't access tables in other Oracle database schemas

    Hi. We got our Oracle database admin to install APEX in our Oracle database. She created a login and schema for my Oracle database user so that I could work with APEX a little. Here's the information on the version of APEX we have installed:
    Database Version Information
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    I've found that my user is only able to access Oracle tables within my own Oracle database schema. Most of our main tables are in 3 other schemas and I'd need access to all tables in all these schemas. Right now whenever I encounter a drop list of values for Schema, only by own schema is available in the list of values.
    Is there something our Admin can do to make these tables in other schemas available to my user account?

    Sharpe,
    This documentation should point you in the right direction. It will show you how to add multiple schemas to a workspace.
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21678/adm_mg_wrkspc.htm#CHDBDCCJ
    Cheers,
    Tyson Jouglet

  • Login page user name and password for Oracle Database

    Hi,
    I created a login.jsp page with username,password and a submit button. How can I validate this username and password from my Oracle database username and password?
    I am using NetBeans5.5 with Tomcat5.5.17. Right now I have hardcoded username and password in my persistence.xml.
    Anyhelp?

    Thnx BalusC for ur reply. Let me explain my issue.
    I have created a login page. and user is able to enter user name and passowrd on this page. User is supposed to press a 'submit' button when user enters username and password to connect to database. What should I write in 'submit' button's action to let user allow to proceed if username and password are correct i.e. username and password of my oracle database. (usename=scott and passowrd=tiger).
    plz help.

  • Access Reports, Forms in Oracle Database

    Hi,
    I want to migrate one application from MS-Access to Oracle(8.1.5) Database.
    I know, migration of database is possible,but I want to keep the existing Access reports and forms as it is.
    Is it possible, Can Access reports and forms run under oracle database.

    Initially you write 12345 and when you modify you are modiyfing only 3 bytes from offset 1 and hence the results. When you modify oracle will not erase the complete lob you need to use erase before you modify (write)
    Following doc give you an insight into pl/sql lob functions
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_lob.htm#sthref4428
    Following is the Pro*C Lobs Guide
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28427/pc_16lob.htm#i998068

  • Access vba problem with ORACLE database via ODBC

    I get a problem when using MS-Access 2007 DAO recordset built on table hosted by an Oracle database 10g and connected thru an ODBC link (the id is generated by a sequence/trigger associated to the table).
    The code I use is :
    Private Sub Commande0_Click()
    Dim rs As DAO.Recordset2
    Dim bm As Variant
    'Set rs = CurrentDb.OpenRecordset("select * from table1", dbOpenDynaset, dbSeeChanges, dbPessimistic)
    Me.Recordset.AddNew
    Me.Recordset!libelle = CStr(Rnd)
    Me.Recordset!code = “”
    Me.Recordset!actif = True
    Me.Recordset!idCollege = 1
    Me.Recordset.Update
    Me.Recordset.MoveFirst
    Me.Recordset.Bookmark = Me.Recordset.LastModified
    Dim idtemp As Long
    idtemp = Me.Recordset.idPartenaire
    Me.Requery
    Me.Recordset.FindFirst "idPartenaire = " & idtemp
    Set rs = Nothing
    End Sub
    When I run this code, I get an error 3167 (current record is deleted) on the line :
    idtemp = Me.Recordset.idPartenaire
    If I change the ligne :
    Me.Recordset!code = “”
    By :
    Me.Recordset!code = “xxxx”
    Or if I comment this line, the error does not appear and I get the right value in idtemp variable.
    I tried also with the same table in a SQL Server database table. In this case it works fine in all cases.
    So, I seems that the problem is due to the Oracle ODBC driver.
    I search on Internet but I have not found any explanation or solution.
    Does anybody experiment the same problem (and find a solution)?
    Gilles Roussel.

    There is a dediacted forum for Oracle ODBC driver issues.
    Please post your problem at:
    http://forums.oracle.com/forums/categoryHome.jspa?categoryID=84

  • ACCESS can't TO Oracle Database 10g Release 2 (10.2.0.1) by fedora8

    hi,I'm a japanese,and my english isn't good,but Could you please help me.
    I can't access from windows xp professional to fedora8(linux).
    my windows xp installed Oracle Database 10g Release 2 (10.2.0.1) express edition.
    my fedora8(linux) installed Oracle Database 10g Release 2 (10.2.0.1) express edition.
    I could use from windows to fedora8 on ffftp.
    name of tnsnames.ora file is XE both windows and fedora8.
    port of tnsnames.ora file is 1521 both windows and fedora8.
    error is ORA-12154.
    tnsping ip address of server
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 15-6月 -
    2008 19:14:45
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    エイリアスを解決するためにHOSTNAMEアダプタを使用しました。
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTO
    COL=TCP)(HOST=address of server)(PORT=1521)))
    OK (20ミリ秒)
    tnsping XE
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 15-6月 -
    2008 19:19:33
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    エイリアスを解決するためにTNSNAMESアダプタを使用しました。
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = サーバのipアドレス)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = XE)))
    OK (20ミリ秒)
    tnsnames.ora is
    windows
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ip address of server)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = XE)
    fedora is
    # tnsnames.ora Network Configuration File:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ip address of server)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    I'm looking forward to hearing from you!
    Thank you.

    Thank you so much Ankit!
    That's right!
    1. Where is the database residing where you are trying to connect? Is it on SW1 or SL1 or some other Server?
    I'm staying on SW1.
    2. How are you trying to connect? Using sqlplus? Please paste complete commands and error messages.
    I'm using sqlplus and japanese si object browser.
    When I use sqlplus,
    SQL*Plus: Release 10.2.0.1.0 - Production on 水 6月 18 01:33:54 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    username: fedoraserver
    password: ******
    ERROR:
    ORA-01017: invalid username/password; logon denied
    username:
    When I use japanese si object browser,
    username fedoraserver
    password ******
    database XE
    ORA-12154
    Thanks,
    yoshi

  • CANNOT GRANT A USER ACCESS TO VIEW A SCHEMA USING PORTAL API'S

    Hi, we are using portal 3.0.9.8.3(UNIX middle tier) on a 8.1.7.3 database (UNIX backend).
    We would like to be able to grant a group of users the rights to view only a specific table or view using the functionality of the wwexp_api_engine package. However the only way to do this seems to be to give the users "view data" privilege to "all schemas" within the portal admin. This presents a large security hole since users can could potentionaly pass in different table names (to a url) and get access to undesired tables.
    Granting executable privileges on the package(and sub packages) to the application database schema(whether public or explicit) still yields the above
    message: Error: Insufficient privileges. (WWV-10600)
    So does anyone know of a way to use the wwexp_api_engine package and restrict it to only a certain table or view of a schema? Or possibly what grants may be needed to allow the package to access the table without giving "view data" portal access to "all schemas".
    Any help would be appreciated.

    Hi,
    Try to grant "Create" global privilege to user and grant explicit privileges on the tables to the user. This way the user can create objects, but can view only those tables on which he has a privilege.
    Thanks,
    Sharmila

  • Error while accessing a Table on Oracle Database 10.2

    Hi Experts,
    We have a table that contains a CLOB datatype in one of its column. However when i tried to access the table i get the below error.
    <b>Table Name:</b> discrete_jobs
    <b>Error:</b>
    (Error starting at line 1 in command:
    select * from [email protected]
    Error report:
    SQL Error: ORA-22992: cannot use LOB locators selected from remote tables
    22992. 00000 - "cannot use LOB locators selected from remote tables"
    *Cause:    A remote LOB column cannot be referenced.
    *Action:   Remove references to LOBs in remote tables.)
    Pleas Help!
    Regards,
    Ravi R

    See some work arounds - "How to select table from remote database having clob field</a>

  • Access BLOB field in Oracle database

    Dear Sir,
    I am using Pro* C to access oracle blob fields
    I write "12345" to Oracle Blob field, when I read it it is fine.
    I then modify this record to "ABC", when I read it, I get "ABC45",
    How can I set blob field to the initial state to modify BLOB field correctly ?
    Many Thanks
    Liang

    Initially you write 12345 and when you modify you are modiyfing only 3 bytes from offset 1 and hence the results. When you modify oracle will not erase the complete lob you need to use erase before you modify (write)
    Following doc give you an insight into pl/sql lob functions
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_lob.htm#sthref4428
    Following is the Pro*C Lobs Guide
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28427/pc_16lob.htm#i998068

  • FAGLB03 - Restrict user access to view only two GL accounts.

    We want certain users to access only two GL accounts using transaction FAGLB03. Any help will be highly appreciated.

    Hi
    I do not think we have any authorization object based on GL Account value for T Code FAGLB03. However, you could probably write an FI validation rule based on GL Account No and user id. You can maintain the user id in a set
    Prerequisite
    Company Code = XXXX and System T Code = FAGLB03 and GL Account = XXXXXX
    Check User ID = ABCD
    If the check fails, system should throw an error message
    Regards
    Sanil Bhandari

  • Error in viewing snapshots Oracle database 10g

    Database 10g rl 2 (RAC)
    Os hp-ux 11i
    I am trying to collect snapshot of database using ADDM, getting following error.
    The details for this snapshot cannot be displayed. Either the snapshot is purged/deleted, or it is the first snapshot after an instance shutdown

    Hi,
    I checked the snapshot id and now when i am taking the snapshot it is giving the following error:
    SQL Error
    ORA-13509: error encountered during updates to a AWR table ORA-01691: unable to extend lob segment ORA-01691: unable to extend lob segment SYS.SYS_LOB0000008938C00038$$ by 128 in tablespace SYSAUX . by in tablespace ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 10 ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 33 ORA-06512: at line 1

  • Access of oracle database through sys user

    Hi All,
    Can any one suggest me what are the possibility to access database through SYS user...I install oracle database 10.2.0.4 on Win-2003 SE.
    Now I want to make restrict that no one can be able to logged in database as a sys user so I do one thing that in sqlnet.ora file at server side make none in sql authentication line. What are the other possible way that user can access through sys user?
    Please suggest me...
    Thanks...

    user505 wrote:
    Hi All,
    Can any one suggest me what are the possibility to access database through SYS user...I install oracle database 10.2.0.4 on Win-2003 SE.
    Now I want to make restrict that no one can be able to logged in database as a sys user so I do one thing that in sqlnet.ora file at server side make none in sql authentication line. What are the other possible way that user can access through sys user?One other possibility can be to come from the remote system as the Sys user. So you can set remote_loginpasswordfile to shared. This will ensure that without knowing the password, person won't be able to connect.
    That said, there is no stopping for the person who would be knowing the credentials of your o/s or sys user.
    HTH
    Aman....

  • How to Link Oracle database in MS Access Programmatically

    We had an application written in MS Access and has using Oracle database as back-end. Tables are linked manually using the ODBC link. Everytime we run the MS Access form it will always prompt for ODBC connection window that asks for username and password.
    Is there any way to programmatically (code) do it so as it wont prompt anymore for ODBC username and password?
    Thanks.

    'You will probebly need to change some things but this is a good start
    Dim db As DATABASE
    Dim rs As Recordset
    Dim retval As Variant
    Dim DSNName As String, DSNUser As String, DSNPassword As String
    retval = SysCmd(1, "Connection Oracle...", 16)
    DSNName = "" 'fill those 3 next lines
    DSNUser = ""
    DSNPassword = ""
    On Error GoTo Event_Err
    retval = SysCmd(2, 4)
    DoCmd.TransferDatabase acLink, "ODBC", "ODBC;DSN=" & DSNName & ";UID=" & DSNUser & ";PWD=" & DSNPassword & ";DBQ=edr1;DBA=W;APA=T;FEN=T;QTO=T;FRC=10;FDL=10;LOB=T;RST=T;FRL=F;MTS=T;CSR=F;PFC=10;TLO=0;;TABLE=CRJDACTDATA.TBL_EXPORT", acTable, "CRJDACTDATA.TBL_EXPORT", "Test1", False
    DoCmd.DeleteObject acTable, "Test1"
    retval = SysCmd(2, 16)
    retval = SysCmd(3)
    Event_Exit:
    Exit Function
    Event_Err:
    MsgCritical "Vous ne pouvez accéder au suivi du dossier d'action que si DDA est installé sur cet ordinateur."

Maybe you are looking for

  • New Macbook video import problem.

    Hi all, I have just gone and bought myself a new Macbook Pro and I am very pleased with it. From a video standpoint I plan to use it to import and edit HD video from my Canon HV20. The new Macbook only has a Firewire 800 port and so the cable that I

  • Open image in PS CS6 from LR 4.4 - found different PS app

    Something weird happened today... I was in LR 4.4 and made the choice to open an image into PS CS6.  I received the message that the Photoshop app had changed location, would I like to open the image.  Without giving it much thought, I clicked on YES

  • Change the thin white border in lights-out mode?

    It'd be nice if you could get rid of this border, or change it to grey or something... I couldn't find any way to adjust this, nor (surprisingly) much mention of it in this forum. Anyway, I find the bright white quite distracting.

  • J2sdk installation problem-Program too big to fit in memory

    I downloaded the J2SDK software from sun website. The file name is j2sdk-1_4_1-windows-i586.exe. The file size matches with the one specified in the website. However I am unable to install the package either from 'my computer' or from dos.I have WIN

  • Making input selection fields mandatory in Z-reports

    Hello Experts,   We have a query on Z-reports: 1)Suppose if we have some 8 to 10 selection parametrs in input screen of a Z-report & we have certain defined output fields,then we make certain fields as mandatory in input selection screen. 2)If client