Table or View List
Hello All,
I have a Table called u2018Au2019.I want the list of reports which are using Table u2018Au2019. Is there a way to check in CE (manually or via query)? If so please let me know how to do it.
Note: I am using CR10 and CE.
Thank you
Regards
Manish Tiwari
Hi,
Take a look on this link: http://www.petefinnigan.com/tools.htm
Cheers
Similar Messages
-
How can I list all users who have access to a particular TABLE or VIEW
Hi,
Can someone tell me how I can list all users who have access to a particular TABLE or VIEW.
AbhishekHi,
Take a look on this link: http://www.petefinnigan.com/tools.htm
Cheers -
Dreamweaver CS5, MySQL, PHP: Why are views listed under tables in the connection
Using Dreamweaver C5 against a remote server with MySQL and PHP, I notifce the views I defined in the database, are list under tables in the connection window, not under views. Probably doesn't really matter, but I was wondering if there is a way to influence this - keeping views listed separately from tables.
Hi
This has to do with the way MySQL stores the views in the database, (a similar problem occurs with procedures) in that they are stored as part of the entire database.
View on there own are not natively supported in dreamweaver.
PZ -
View list of tables created by user
How can I see a list of tables that I, as a user, have created in Oracle9i (assuming that I am just a user and not an administrator)?
Thanks,
Pattie'select table_name from user_tables' will give you list of all the tables you own.
'select object_name,object_type from user_objects' will show you all objects (tables,indexes,views,synonyms,procedures,triggers etc) that you own. -
Maximum number of columns in a table or view is 1000
Post Author: TinaReifer
CA Forum: Formula
I am trying to create a direct link from Tririga / Oracle database into Crystal XI. The data I am attempting to pull is from the RETransaction (Escalations). The error I keep receiving is shown below. Has anyone run across this problem and found a solution that can be shared?
Very Appreciative for any feedback.
Tina Reifer
"Failed to retrieve data from the database.
Details: HY000:[Oracle][ODBC][Ora]ORA-01792: maximum number of columns in a table or view is 1000
[Database Vendor Code: 1792]"Post Author: synapsevampire
CA Forum: Formula
Try posting your software, its version, and the type of connectivity you're using for oracle.
Older versions of Crystal used a proprietary Oracle ODBC driver that came with Crystal, but you should SWITCH away from using ODBC anyway, not sure why you elected to use it, it's slower and more problematic.
You'll see Oracle Server listed as a data source, that is generally the best connectivity to use.
Also, what version of Oracle is it, and what Oracle client are you using?
You might need your Oracle dbas assistance here.
Anyway, the error is not a Crystal error, it's being raised by the ODBC driver, and Oracle used to have a maximum of 1024 colums I think it was...been a while...
-k -
Creating a selectable HTML table with Sahrepoint list data dind
Hi All,
I m creating an app for sharepoint2013 , on my app I want to read data from SP list and display on something like HTML table/ grid view.
What I have done is as follows.
<table cellpadding="0" cellspacing="0" border="0" class="display" id="TermList">
<thead>
<tr>
<th>Start Date</th>
<th>End Date</th>
<th>Term Type(s)</th>
<th>Specialty</th>
<th width="12%">Sub Specialty</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
var context = SP.ClientContext.get_current();
var user = context.get_web().get_currentUser();
var Termsitems, web, hostcontext, currentusertitle;
var hosturl;
(function () {
$(document).ready(function () {
gethostdata();
getUserName();
$('#TermList').dataTable(
"sScrollY": 200,
This will enable jQuery UI theme
"bJQueryUI": true,
will add the pagination links
"sPaginationType": "full_numbers"
getTermdetails();
function gethostdata() {
hosturl = decodeURIComponent(getQueryStringParameter("SPHostUrl"));
context = new SP.ClientContext.get_current();
hostcontext = new SP.AppContextSite(context, hosturl);
web = hostcontext.get_web();
context.load(web, 'Title');
context.executeQueryAsync(onSiteLoadSuccess, onQueryFailed);
function onSiteLoadSuccess(sender, args) {
// alert("site title : " + web.get_title());
function onQueryFailed(sender, args) {
alert('request failed ' + args.get_message() + '\n' + args.get_stackTrace());
function getQueryStringParameter(urlParameterKey) {
var params = document.URL.split('?')[1].split('&');
var strParams = '';
for (var i = 0; i < params.length; i = i + 1) {
var singleParam = params[i].split('=');
if (singleParam[0] == urlParameterKey)
return decodeURIComponent(singleParam[1]);
// This function prepares, loads, and then executes a SharePoint query to get the current users information
function getUserName() {
context.load(user);
context.executeQueryAsync(onGetUserNameSuccess, onGetUserNameFail);
// This function is executed if the above call is successful
// It replaces the contents of the 'message' element with the user name
function onGetUserNameSuccess() {
currentusertitle= user.get_title();
$('#message').text('Hello ' + user.get_title());
// This function is executed if the above call fails
function onGetUserNameFail(sender, args) {
alert('Failed to get user name. Error:' + args.get_message());
function getTermdetails() {
var Termlist = web.get_lists().getByTitle("TraineeTermsSPlist");
context.load(Termlist)
var camlQuery = new SP.CamlQuery();
camlQuery.set_viewXml('<View><Query><Where><Eq><FieldRef Name="Title" />' +
'<Value Type="Text"> + currentusertitle + </Value></Eq></Where></Query></View>');
Termsitems = Termlist.getItems(camlQuery);
context.load(Termsitems);
context.executeQueryAsync(getTermdetailsQuerySuccsess, getTermdetailsQueryFails)
function getTermdetailsQuerySuccsess(sender, args) {
var listEnumerator = Termsitems.getEnumerator();
var datatable = document.getElementById("TermList");
while (listEnumerator.moveNext()) {
var oListItem = listEnumerator.get_current();
var startdate = listEnumerator.get_current().get_item('startdate');
var enddate = listEnumerator.get_current().get_item('Enddate');
var termtype = listEnumerator.get_current().get_item('TermType');
var Specialty = listEnumerator.get_current().get_item('Specialty');
var Specialty = listEnumerator.get_current().get_item('Subspecialty');
$("#TermList").append("<tr align='middle' class='gradeA'>" +
"<td align='left'>" + startdate +
"</td>" +
"<td align='left'>" + enddate + "</td>"
+
"<td align='left'>" + termtype + "</td>"
+
"<td align='left'>" + Specialty +
"</td>" +
"<td align='left'>" + Specialty +
"</td>" + "</tr>");
function getTermdetailsQueryFails(sender, args) {
alert(' Error:' + args.get_message());
Now what I want to do is allow user to select rows on the table. Once they select a row I want to get that selected row and search SP list based on the selected value. Also I would like to make this table with search area to search records.
Can someone please help me to do this, or are there any easy way to do this. Sample code or useful link much appreciate.
Thank you very much.
d.n weerasingheInstead of writing in dive each and every time directly,
just have a div in html, and inside the while loop
write and store in the variable like
output += "<li><a href='#' style='display:none'>" + usernames[i] + " </a> "
+ "<table id='results' width='100%'>"
+ "
<tr style='border-bottom:1px silver solid;'>"
+ "
<td style='width:60px;height:70px;' >"
+ "
<img alt=\"profile pic\" src= '" + pictureuri[i] + "' style='width:60px;height:60px;'/>"
+ "
</td>"
+ "
<td >"
+ "
<table style='height:100%'>"
+ "
<tr>"
+ "
<td style='padding-padding-vertical-align:top;height:10px' >"
+ "
<a href='" + personaluri[i] + "' classq='ms-bold ms-subtleLink' style='color: gray; font-size: 12px; font-weight: bold;'>" + tempnames[i] + "</a>"
+ "
</td>"
+ "
</tr>"
+ "
<tr>"
+ "
<td style='padding-vertical-align:top;height:50px;color:#ADAEAD;font-size:14px;' >" + deptNames[i]
+ "
</td>"
+ "
</tr>"
+ "
</table>"
+ "
</td>"
+ "
</tr>"
+ "</table>"
+ "</li>"
and finaly oyutside the loop
$(#div).html(output); -
Error(20,22): PL/SQL: ORA-00942: table or view does not exist
I am getting currently getting an error when I try and insert into a table from a different schema from my Stored Procedure:
Error(20,22): PL/SQL: ORA-00942: table or view does not exist
I am explicitly calling the table with the schema name infront i.e.
INSERT INTO SAPSR3.ZTREC_NAME_TYPE
MASTER_ID,
NAME_TYPE,
FAMILY_NAME,
FIRST_NAME,
MIDDLE_NAME,
TITLE
VALUES
In_MasterID,
In_NameType,
In_FamilyName,
In_FirstName,
In_MiddleName,
In_Title
I only get this error when I try and compile my stored procedure. If I try this insert not within a stored procedure (i.e. a blank script) it works perfectly.
Can anyone tell me what Im doing wrong?
Thanks.Hi,
It sounds like you (the procedure owner) have privileges on that table only through a role.
Roles don't count in stored procedures created with AUTHID OWNER (which is the default).
Either
(1) Have user SAPSR3 grant the necessary privileges directly to you (or to PUBLIC), or
(2) change the procedure so that it runs with the caller's privileges, by adding AUTHID CURRENT_USER after the argument list but before the keyword IS (os AS) like this:
CREATE OR REPLACE PROCEDURE foo
( x IN NUMBER
AUTHID CURRENT_USER
IS ... -
Where do i see all the default tables and views in oracle 10g
hi,
I have installed oracle 10g in the linux os.
I just wanna see the list of deffault tables and views created by oracle.
can anyoone hlep me on this
thanx in advance....Check DBA_OBJECTS for all seeded objects in an Oracle database. For tables, check DBA_TABLES. For views, check DBA_VIEWS. All of this is documented in the fine documentation - take some time out to read thru it.
http://docs.oracle.com/cd/E11882_01/server.112/e25513/statviews_4156.htm#REFRN23146
http://docs.oracle.com/cd/E11882_01/server.112/e25513/statviews_5056.htm#sthref2482
http://docs.oracle.com/cd/E11882_01/server.112/e25513/statviews_5085.htm#sthref2521
HTH
Srini -
Can't get Sequencing working (table or view does not exist...)
Hello,
I'm running JDeveloper 10.1.2 on a Oracle 9i database.
All my mappings are correct, i mean, i can query the database using the Toplink API and list all the objects on teh database. What it's not working is inserting new objects due to this sequencing problem.
This is what i'm doing:
myClass newObject = (myClass) uow.newInstance(myClass.class);
uow.assignSequenceNumber(newObject);
But this is generating this Exception:
Local Exception Stack: Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseExceptionException Description: java.sql.SQLException: ORA-00942: table or view does not exist
Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
Error Code: 942
I figured this could be a problem with the sequencing configuration and all that stuff (I don't have a sequence table). So i checked my configurations...
'Toplink Mappings' is setup to 'Use Native Sequencing', as per Notes on http://www.boku.ac.at/oradoc/ias/10g(9.0.4)/web.904/b10313/dataaccs.htm. This page also states this:
"When using native sequencing with Oracle, specify the name of the sequence object (the object that generates the sequence numbers) for each descriptor. The sequence preallocation size must also match the increment on the sequence object" (...) "Use preallocation and native sequencing for Oracle databases.
And this is exactly what i'm doing. On myClass mappings, the 'Use Sequencing' checkbox is checked, the correct sequence name is typed correctly, once this is the same sequence i've been using for years prior to Toplink, the selected table is the correct one, just as the id field on the table.
Another thing is that the 'Preallocation Size' on Toplink Mappings match the increment value on the database sequence.
I must be missing something...
Can anybody shed some light on this?
Thanks a lot to all.Hello
The method accessing check box tells TopLink to use the get/set methods on your object to set its attributes - If it is unselected, TopLink will set the attribute directly. Great if you have business logic in your get/set methods that you don't want TopLink to hit each time it creates an object after a read from the database (or registers, etc).
The problem you are encountering seems like you have sequencing set to "Use Default Sequencing Table". This option is on the "TopLink Mappings" page on the "Database info" tab just below where you would have set which connection to use. You will need to ensure you have the "use Native sequencing" selected. If you set this information instead through code, be sure you do it on the database login before you login to the session.
If this doesn't help, try turning on TopLink logging to see the SQL statement that causes the problem. The knowing the table name and SQL being used might help figure out where it is being set.
Best Regards,
Chris -
10gLiteR3 publishing ORA-00942: table or view does not exist error
Hi All,
I am encountering table or view does not exist error while publishing using the api.
Below is the code:
try {
consolidatorManager.openConnection("MOBILEADMIN","PASSWORD", ADMIN_JDBC_URL);
mobileResourceManager = new MobileResourceManager("MOBILEADMIN","PASSWORD",ADMIN_JDBC_URL);
consolidatorManager.createPublicationItem(EXT_CONN, "RMT_TEST_TABLE" , "MOBILEADMIN","RMT_TEST_TABLE", "F", "SELECT * FROM MOBILEADMIN.RMT_TEST_TABLE", null, null);
consolidatorManager.addPublicationItem(mobileResourceManager.getPublication("/mobileApp"),"RMT_TEST_TABLE",null, null, "S", null, null);
} catch (Exception e) {
e.printStackTrace();
When I execute the above code it does not throw any exceptions but I see the below error in err.log. I,U,D triggers are getting created on the remote table, CMP, CFM, CVR,CLG tables are also created, I also see primary key for this table in VPKS. Publishing seems to be fine but I see the below error in err.log.
java.sql.SQLException: ORA-00942: table or view does not exist
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1451)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:651)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2117)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2331)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:422)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:366)
at oracle.lite.sync.Subscription.getVirtualTablePrimaryKey(Subscription.java:7522)
at oracle.lite.sync.Subscription.getTablePrimaryKey(Subscription.java:7365)
at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2334)
at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2157)
at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2129)
at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2108)
at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2093)
at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2079)
at oracle.lite.sync.ConsolidatorManager.createPublicationItem(ConsolidatorManager.java:1253)
I am not able to figure out what table it is looking for. Any ideas why this is happening?check the MGP compose process, is it also showing the error?
If it is them at some point in 10.2 Oracle introduced a 'feature' (ie: bug) that causes problems to the housekeeping routines when new versions of publication items are published
In 10.0 and early 10.2 when making changes to publication items VIEWS called CPV$.. were created to log the column list for each version of a publication item, and check if you are making changes when you publish. In the case of old versions, once all clients have synchronised and been moved to the latest version it tries to delete this view.
at some point the publish started creating TABLES instead of views (but using the same naming convention ie: CPV$..). This works fine as far as the logging of changes and old column lists, but the housekeeping called at the end of the publish and GP process still trieds to do a DROP VIEW and this causes the error.
The only way of clearing this i have found is to look at the log file to get the name of the object that it is trying to drop, set up a view script to create a dummy view with the list of columns in the table, drop the table and then create the view. It then gets dropped on the next MGP cycle and the error goes away
If the error is not showing up in the MGP process, only in the publish, and your changes appear to be publishing OK, then the problem is likely to be with a snapshot definition AFTER the change you have made - real pain to identify on re-publish - possibly missing schema name in the snapshot definition -
hi ,
I want to privelege only Grant SELECT ALL tables,views....
I have written A procedure.....given below....
CREATE OR REPLACE PROCEDURE GRANT_SELECT_ALL_PROC
IS
l_obj VARCHAR2(60);
l_obj_type VARCHAR2(60);
CURSOR Cur_Obj IS
SELECT OBJECT_NAME,OBJECT_TYPE
FROM USER_OBJECTS
WHERE USER ='OWNER';
BEGIN
For i in Cur_Obj Loop
l_obj := i.OBJECT_NAME;
l_obj_type := i.OBJECT_TYPE;
IF l_obj_type IN ('TABLE','VIEW')
THEN
EXECUTE IMMEDIATE 'GRANT SELECT ON' || l_obj ||'TO TEMP’;
ELSIF l_obj_type IN('FUNCTION','PROCEDURE','PACKAGE') THEN
EXECUTE IMMEDIATE 'GRANT EXECUTE ON'|| l_obj ||'TO TEMP’;
END IF;
END LOOP;
END GRANT_SELECT_ALL_PROC;
procedure is working fine.....
OWNER there are some table and views......
But After creation of User name TEMp....
When I m giving GRANT SELECT to TEMP(by procedure)..... ALL tables and views of OWNER....
when I coonecte to TEMP...
Not getting table,view List...
not even data of table or Views.....
can anybdy help me.......advance thanx ...
sanjayhi ,
I want to privelege only Grant SELECT ALL
tables,views....
have written A procedure.....given below....
CREATE OR REPLACE PROCEDURE GRANT_SELECT_ALL_PROC
IS
l_obj VARCHAR2(60);
l_obj_type VARCHAR2(60);
CURSOR Cur_Obj IS
SELECT OBJECT_NAME,OBJECT_TYPE
FROM USER_OBJECTS
WHERE USER ='OWNER';
BEGIN
For i in Cur_Obj Loop
l_obj := i.OBJECT_NAME;
l_obj_type := i.OBJECT_TYPE;
IF l_obj_type IN ('TABLE','VIEW')
THEN
EXECUTE IMMEDIATE 'GRANT SELECT ON' || l_obj ||'TO
TEMP’;
ELSIF l_obj_type IN('FUNCTION','PROCEDURE','PACKAGE')
THEN
EXECUTE IMMEDIATE 'GRANT EXECUTE ON'|| l_obj ||'TO
TEMP’;
END IF;
END LOOP;
END GRANT_SELECT_ALL_PROC;
procedure is working fine.....
OWNER there are some table and views......
But After creation of User name TEMp....
When I m giving GRANT SELECT to TEMP(by
procedure)..... ALL tables and views of OWNER....
when I coonecte to TEMP...
Not getting table,view List...
not even data of table or Views.....
can anybdy help me.......advance thanx ...
sanjayQuery SELECT * FROM USER_TAB_PRIVS_MADE from the user from which you are executing the procedure
and Query SELECT * FROM USER_TAB_PRIVS_RECD from the TEMP user. -
Tables and Views are not displaying any objects.
I have tried both Filtered and non-filtered for tables and view but it won't list any tables or view.
I can run a query and it shows all the tables/views in the query window.
SELECT table_name FROM dba_tables
select view_name from all_viewsWho owns the objects?
The browser only shows objects owned by the current logged in user in the main section. You need to go into the Other Users node to find objects owner by other users. -
Hi All,
I want to view all sets created in the company code. Please let me know the table to view the same.
LakshmiHi,
There is no table to view the sets because every set you create will have its own table and will be stored in that particular table.
To view the list of sets:
Goto T Code GS03
Go to Utilities menu->Set Directory
Give table name or created by or date or the selection parameters as you need
execute
This will show you the list of sets.
Regards,
B. Radhika. -
Create table from view giving error
i am trying to creating a table from view it is giving following error. can you please help
create table jd as
select * from A.ab_v where 1=2;
error
ORA-01723
zero columns not allowedAs others already pointed out you have NULL as view column(s). You need to either modify view and use CAST(NULL AS desired-type). For example:
SQL> create or replace
2 view v1
3 as
4 select null new_date
5 from dual
6 /
View created.
SQL> create table tbl
2 as
3 select *
4 from v1
5 /
select *
ERROR at line 3:
ORA-01723: zero-length columns are not allowed
SQL> create or replace
2 view v1
3 as
4 select cast(null as date) new_date
5 from dual
6 /
View created.
SQL> create table tbl
2 as
3 select *
4 from v1
5 /
Table created.
SQL> drop table tbl
2 /
Table dropped.
SQL> create or replace
2 view v1
3 as
4 select cast(null as number) new_number
5 from dual
6 /
View created.
SQL> create table tbl
2 as
3 select *
4 from v1
5 /
Table created.
SQL> Or list individual view columns with NULL CASTing in CTAS:
SQL> create or replace
2 view v1
3 as
4 select null new_date
5 from dual
6 /
View created.
SQL> create table tbl
2 as
3 select cast(new_date as date) new_date
4 from v1
5 /
Table created.
SQL> desc tbl
Name Null? Type
NEW_DATE DATE
SQL> set null NULL
SQL> select *
2 from tbl
3 /
NEW_DATE
NULL
SQL> SY. -
What is the table to view all sub-areas within a company code?
Hi Experts!
What is the table to view all sub-areas within a company code?
I just need as detailed of a list as possible of ALL the sub-areas within a specific company code.
Thanks!Txn SPRO
IMG --> Enterprise structure --> Definition --> Human Resources Mgmt --> Personnel Subareas --> Copy, delete, check personnel subarea
Button "Structure", then "Navigation", check next screen.
You'll get all Personnel Subareas
Then, menu "Edit - Display all objects" and choose "Company Code"
Choose your company code... you'll get a screen with Company Codes with Personnel Area and Personnel Subarea
Regards.
Maybe you are looking for
-
Hi, While i'm creating product group i'm getting the error message like The field is defined as required field; it does not contain an entry. plz help me.
-
Add single file to a configuration; simple steps?
we're creating configurations to spec what a release is comprised of. We need to add a single file to a configuration. Oddly we've been guessing about and can't figure this out. I'm creating a configuration from a PWA, stripping out all but one file.
-
How to get the folder ID of SAP Inox folder
Hi I want to access the document(mail) which is there in one of the shared folders of SAP inbox through program. Can anyone suggest me, how to get the folder ID?
-
Mail contacts are different from my addressbook
When im composing a mail in my ipad 2, i start to type a name in the "to" and many contacts appear, even contacts not in my "contacts" app. I even cheked the mail servers, so i deleted my gmail contacts and it doesn't change anything! Please help!
-
Although I know there are many threads about similar issues, I've tried possible solutions found in other threads but no success. My case might be different, so that's why I feel justified in posting my specific case about this common problem. Runnin