_V tables in the portal database
Does anyone know what function tables _v in the portal database are? I was research on weblogic portal preferences and connected to the portal pointbase database. I saw the following tables:pf_portlet_preference;
pf_portlet_preference_v;
pf_portlet_preference_value;
pf_portlet_preference_value_v;
It looks at the v and table v are the same in structure and content. Can someone explain what are the tables _v? That's the redundancy?
Output of select > >
SQL > select * from pf_portlet_preference;
CREATION_DATE MODIFIED_DATE IS_MODIFIA IS_MULTIVA PREFERENCE_DESCRIPTION PREFERENCE_NAME PORTLET_INS
----------- -------------------------------------------------------------------------------- ----------------------------- ----------------------------- ---------- ---------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
4002 remoteUrl 12-10-2011 13:29:31.0 2011-10-12 16:16:36.0 0 0 NULL
16001 HireYear 2011-10-25 13:00:20.0 2011-10-25 13:00:32.0 1 1 NULL
12001 FavoriteColor in 2011-10-26 11:12:20.0 2011-10-28 16:09:28.0 1 1 NULL
3 selected lines. Select * from pf_p..., Total dry 0, compile dry 0
SQL >
Select * from pf_portlet_preference_v;
CREATION_DATE MODIFIED_DATE IS_MODIFIA IS_MULTIVA PREFERENCE_DESCRIPTION PREFERENCE_NAME PORTLET_INS
----------- -------------------------------------------------------------------------------- ----------------------------- ----------------------------- ---------- ---------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
4002 remoteUrl 12-10-2011 13:29:31.0 2011-10-12 16:16:36.0 0 0 NULL
16001 HireYear 2011-10-25 13:00:20.0 2011-10-25 13:00:32.0 1 1 NULL
12001 FavoriteColor in 2011-10-26 11:12:20.0 2011-10-28 16:09:28.0 1 1 NULL
3 selected lines. Select * from pf_p..., Total dry 0, compile dry 0
SQL >
Select * from pf_portlet_preference_value;
PORTLET_PRE PORTLET_INS PREFERENCE_NAME CREATION_DATE MODIFIED_DATE PREFERENCE_VALUE
----------- ----------- -------------------------------------------------------------------------------- ----------------------------- ----------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
6 4002 remoteUrl 2011-10-12 16:16:36.0 12-10-2011 16:16:36.0 http://localhost:7001/POCClipperWAR/faces/index.jsp
8 16001 HireYear 2011-10-25 13:00:32.0 2011-10-25 13:00:32.0 2011
158 12001 FavoriteColor in 2011-10-28 16:09:28.0 2011-10-28 16:09:28.0 Red
159 12001 FavoriteColor in 2011-10-28 16:09:28.0 2011-10-28 16:09:28.0 Green
160 12001 FavoriteColor in 2011-10-28 16:09:28.0 2011-10-28 16:09:28.0 blue
5 selected lines. Select * from pf_p..., Total dry 0, compile dry 0
SQL >
Select * from pf_portlet_preference_value_v;
PORTLET_PRE PORTLET_INS PREFERENCE_NAME CREATION_DATE MODIFIED_DATE PREFERENCE_VALUE
----------- ----------- -------------------------------------------------------------------------------- ----------------------------- ----------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
6 4002 remoteUrl 2011-10-12 16:16:36.0 12-10-2011 16:16:36.0 http://localhost:7001/POCClipperWAR/faces/index.jsp
8 16001 HireYear 2011-10-25 13:00:32.0 2011-10-25 13:00:32.0 2011
158 12001 FavoriteColor in 2011-10-28 16:09:28.0 2011-10-28 16:09:28.0 Red
159 12001 FavoriteColor in 2011-10-28 16:09:28.0 2011-10-28 16:09:28.0 Green
160 12001 FavoriteColor in 2011-10-28 16:09:28.0 2011-10-28 16:09:28.0 blue
5 selected lines. Select * from pf_p..., Total dry 0, compile dry 0
These aren't the tables. They are seen.
Tags: Fusion Middleware
Similar Questions
-
create table on the production database
Hi expert I want some knowledge in real time
If a user has requested to create a table on the production database where DBA one should contact 1.
form where dba approval for create table.
Thanks and greetings
SanatIt depends on your hierarchy of society. Generally, your immediate boss.
-
create table in the remote database
Hi friends,
Is it possible to create a table in a remote with the syntax as database
create table - on the remote database
in select * from tbl - table with user defined data types.
Thank you
Akila Mathon.Remote DDL operations are not allowed.
Create a procedure on the remote database, which will create the table using
execute immediate 'Create table table_1 as select * from table@remote_link ' Example create procedure ddl_remote(str varchar2) as begin execute immediate str ; end ; /
Where remote_link is the database when you call the procedure.
Directly GRANT EXECUTE CREATE TABLE to the user in which the procedure is created.
Call the procedure of your current database.
begin ddl_remote@DB_remote('create table emp as select * from emp@remote_link ') ; end ; /
HTH
SS -
Insertion of a table in the site database built in Muse
Hi, I have built my site in Adobe Muse. I now need to add a new page, which should contain a data table. The table will have 11 columns and 400 lines of data that must be updated regularly. I tried with a widget called MSC Tablesmith but it does not seem to handle this amount of data. If I get my programmer to create this database for this one page will always be able to edit and modify the rest of the site in Muse? If not, is there a better widget or another way for me to do that?
The best way to do is to update your hosting with Business Catalyst plan to include Web applications, which are basically databases that you can integrate with Muse. In this way, you can continue publishing Muse, but you connect to the BC Admin to manage the database (Web App). We are happy to help the integration, if you have any questions. Just reach out to us at www.aidbc.com.
Thank you!
Karim -
EMP tables in the relational database
Hello
Can you please let me know what is the tables are actually created in the SCHEMA (Shared services) or EAS in the relational database. It's when configuring EMP that tables are automatically created in the database?
Appreciate your comments and thank you for your time.
Thank you
HariYes the tables are automatically created and filled at the point of configuration.
See you soon
John
http://John-Goodwin.blogspot.com/ -
How do I get the name of the web page in v$ session table in the Oracle database
We have asp.net web application hosted on IIS (windows) and the connection to the Oracle (10g) database.
When I query the table v$ session in the database as a Jr.DBA, I don't see the name of the program as "w3wp.exe.
coming from the computer host IIS (web server).
Now, it is difficult to diagnose as session in the database that refers to what web page in the web application.
If I have 10 web pages open in my web application connecting to the Oracle database, now if I wanted to go
session info, when I browse the v$ session all it shows me what "w3wp.exe.
Now is there a way to get the name of the web page in the session of $ v.
(maybe he needs a few changes to the code in the application web asp.net, change in the configuration of IIS web server as well).
Let me knowDear johnpau2013,
It's an interesting question. See the documentation below and see if they help you or not?
DBMS_APPLICATION_INFO;
http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_appinf.htm#CHEEFBBD
http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_appinf.htm#i999290
http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_appinf.htm#ARPLS003Hope that helps.
Ogan
-
End of table in the OPS database
Hi all
I need help about table OAF related issue. I need to display data on the table of the OFA. But every time when I click on NEXT 5 RECORDS from a table and return to the previous page, all column values are substituted with the first column in a table value. Please look at the screenshot. This table created dynamically with dynamic VO
.
Now, I click next 5 records
I'll now have to first five records by clicking back. All column values are overwritten with the first values of the column.
Code snippet:
OATableBean = tabbean
CreateWebBean (OATableBean) (pageContext, TABLE_BEAN, null, "table");
tabbean.setID ("TableBN");
tabbean.setNumberOfRowsDisplayed (5);
tabbean.setWidth("45%"); "
tabbean.setUserCustomizable (true);
tabbean.setViewUsageName ("xxVO");
Is not of the columns at the bottom of the method.
int numattr = vo.getAttributeCount ();
for (int columnNo = 0; columnNo < numattr; columnNo ++)
{
AttributeDef ad = vo.getAttributeDef (columnNo);
String attrName = ad.getName ();
String colName = ad.getColumnName ();
AttributeDefImpl addr = (AttributeDefImpl) vo.findAttributeDef (colName);
addr.setUpdateableFlag (AttributeDefImpl.UPDATEABLE);
System.out.println ("Yves ding"+ addr.getUpdateableFlag () ');
query was written for the correct data type in TEX INPUT TO DEFINE THE VIEW USE MESSAGE
Pran string ="";
Try
{
Pran = "SELECT DISTINCT DATA_TYPE FROM DBA_tab_columns WHERE table_name = UPPER (" + TableName + ") AND COLUMN_NAME = UPPER ("+ colName +")"; "
St = con.createStatement ();
RS = st.executeQuery ("SELECT DISTINCT DATA_TYPE FROM DBA_tab_columns WHERE table_name = UPPER ("+"'" + TableName + "'" +") AND COLUMN_NAME = UPPER("+"'"+colName+"'"+")");
System.out.println ("DataType" + Pran);
While (RS. Next())
{
String colprompt = attrdef [columnNo] .getName ();
OrclDataType = rs.getString (1);
System.out.println ("DataType" + OrclDataType);
}
RS. Close();
St.Close ();
}
{} catch (sqlexception Exception)
pageContext.putDialogMessage (new OAException ("OraclePreparedStatement OR OracleResultSet Exception" + sqlexception));
sqlexception.printStackTrace ();
}
System.out.println (colname. Matches(".*date.*"));
If ("!" true".) Equals (colname. Matches(".*date.*")))
If (!) "" LAST_UPDATE_DATE ". Equals (colname) & &! "" LAST_UPDATE_LOGIN ". Equals (colname) & &! "' CREATED_BY". Equals (colname) & &! "' CREATION_DATE". Equals (colname) & &! "" LAST_UPDATED_BY ". Equals (colname) & &! "" WH_UPDATE_DATE ". Equals (colname) & &! "" LAST_ORDERED_DATE ". Equals (colname) & &! "" PROGRAM_UPDATE_DATE ". Equals (colname))
If (!.) OrclDataType.equals ("DATE"))
{
name of column = (colName.replace ('_', ' ')). toLowerCase();
String colprompt = attrdef [columnNo] .getName ();
String colprompt1 = attrdef [1] .getName ();
System.out.println ("colprompt" + colprompt);
SampleVO1 is the name of the ViewObject
OAMessageTextInputBean = oamessage
CreateWebBean (OAMessageTextInputBean) (pageContext,
MESSAGE_TEXT_INPUT_BEAN,
(NULL, 'text');
oamessage.setPrompt ("Table name");
oamessage.setMaximumLength (30);
oamessage.setID (name of column, "col" + "0");
oamessage.setViewUsageName ("xxVO");
oamessage.setViewAttributeName (attrName);
oamessage.setLabel (colName);
oamessage.setUserCustomizable (true);
oamessage.setWrapEnabled (true);
oamessage.setDataType (OrclDataType);
}
}
webBean.set (true);
webBean.addIndexedChild (tabbean);
webBean.s
pageContext.putTransactionValue ("xflag", 'Z');
xflag = "N";
}
Please help me... Thanks in advance
Is it not the same question as failed form Validation: "the value is not a date and time in the format" ?
As suggested in the other thread, use a name for the dynamic OAMessageTextInputBean.
OAMessageTextInputBean = oamessage
CreateWebBean (OAMessageTextInputBean) (pageContext,
MESSAGE_TEXT_INPUT_BEAN,
(NULL, 'text' + columnNo);
See you soon
AJ
-
Authentication using the table and the existing database
Very new to APEX here. In authentication methods and was curious to know if it is possible to link the Apex on an existing Oracle database and the table to get information for user name and password. Trying to use the employe_id and last 4 of their social.
Any ideas or things I can read up to get a general idea?JosephPortello wrote:
fac586, thank you. I didn't even know what I had done.Yet one thing that happens now after I corrected my incorrect syntax.
CREATE OR REPLACE FUNCTION EmployeeIDAuth ( p_username IN VARCHAR2, p_password IN VARCHAR2 ) RETURN BOOLEAN IS form l_count NUMBER; BEGIN SELECT COUNT(*) into l_count from table@db WHERE employee_no=p_username AND bdate=p_password; IF l_count > 0 THEN RETURN TRUE; ELSE RETURN FALSE; END IF; END;
Now returns an error of:
Error on line 15: PLS-00103: encountered the symbol "end-of-file" when expects it one of the following values:
not end up dominant static of final instantiable order pragma
manufacturer membership card
1. CREATE OR REPLACE FUNCTION EmployeeIDAuth)
2 p_username IN VARCHAR2,
3 p_password IN VARCHAR2Any other ideas?
Remove the false token form.
-
tools for the standardization of the huge table in the oracle database
I have a huge database. I need to normalize the database up to 3NF. Have we not all tools to normalize the database up to 3NF.[email protected] wrote:
I have a huge database. I need to normalize the database up to 3NF. Have we not all tools to normalize the database up to 3NF.Not within Oracle. Standardization of data is the down and dirty job to analyze your data in your business. If you want to say that your employee table has a primary key on the color of the hair to Oracle, oracle is quite happy to create this table and PK.
-
Stream 90 tables implementation of 400 tables in the same database.
Hello
I intend to use DBMS_STREAMS_ADM. 90 400 tables of selection tables ADD_TABLE_RULES.
Is this a good option or go to ADD_SCHEMA_RULES and include these 90 rules positve tables throughout.
Please help me in this.
If anyone has the code for sapmle please post here.
Thank you
RayPlease go through the sequence of steps for installing Oracle Streams at the Table level
[Installation step by step flow | http://krish-dba.blogspot.com/2008/12/streams-setup.html]
Thank you
KrishnaPublished by: Krishna R on January 20, 2009 22:52
-
Important RMAN linked tables in the catalog database.
I want to check that database in RMAN backups completed successfully backend with a log file
All online backups are holding tapes by TSM.
Please help me in this regard.There are many points of view such as RC_BACKUP_CONTROLFILE, RC_BACKUP_CORRUPTION, RC_BACKUP_DATAFILE, RC_BACKUP_PIECE, RC_BACKUP_REDOLOG, RC_BACKUP_SET, RC_BACKUP_SPFILE. Check this
Kind regards.
-
size of a table in an access database
Hello
I try to know the size of a table in the access database, then I would be to turn it into a string value, but I have no success.
I have attached a JPEG of my code.
in the concatenated string should appear "rapportx.png" where x represents the size of the table
You must use 'Decimal string' to convert the number to text.
Please also note that the size "Array" returns a 2D array in your case: If you have two dimensions.
Finally, and above all, to count the number of records it reveal be more efficient to use the sql count() function:
http://www.w3schools.com/SQL/sql_func_count.asp
Kind regards
Marco
-
update to column values (false) in a copy of the same table with the correct values
Database is 10gr 2 - had a situation last night where someone changed inadvertently values of column on a couple of hundred thousand records with an incorrect value first thing in the morning and never let me know later in the day. My undo retention was not large enough to create a copy of the table as it was 7 hours comes back with a "insert in table_2 select * from table_1 to timestamp...» "query, so I restored the backup previous nights to another machine and it picked up at 07:00 (just before the hour, he made the change), created a dblink since the production database and created a copy of the table of the restored database.
My first thought was to simply update the table of production with the correct values of the correct copy, using something like this:
Update mnt.workorders
Set approvalstat = (select b.approvalstat
mnt.workorders a, mnt.workorders_copy b
where a.workordersoi = b.workordersoi)
where exists (select *)
mnt.workorders a, mnt.workorders_copy b
where a.workordersoi = b.workordersoi)
It wasn't the exact syntax, but you get the idea, I wanted to put the incorrect values in x columns in the tables of production with the correct values of the copy of the table of the restored backup. Anyway, it was (or seem to) works, but I look at the process through OEM it was estimated 100 + hours with full table scans, so I killed him. I found myself just inserting (copy) the lines added to the production since the table copy by doing a select statement of the production table where < col_with_datestamp > is > = 07:00, truncate the table of production, then re insert the rows from now to correct the copy.
Do a post-mortem today, I replay the scenario on the copy that I restored, trying to figure out a cleaner, a quicker way to do it, if the need arise again. I went and randomly changed some values in a column number (called "comappstat") in a copy of the table of production, and then thought that I would try the following resets the values of the correct table:
Update (select a.comappstat, b.comappstat
mnt.workorders a, mnt.workorders_copy b
where a.workordersoi = b.workordersoi - this is a PK column
and a.comappstat! = b.comappstat)
Set b.comappstat = a.comappstat
Although I thought that the syntax is correct, I get an "ORA-00904: 'A'. '. ' COMAPPSTAT': invalid identifier ' to run this, I was trying to guess where the syntax was wrong here, then thought that perhaps having the subquery returns a single line would be cleaner and faster anyway, so I gave up on that and instead tried this:
Update mnt.workorders_copy
Set comappstat = (select distinct)
a.comappstat
mnt.workorders a, mnt.workorders_copy b
where a.workordersoi = b.workordersoi
and a.comappstat! = b.comappstat)
where a.comappstat! = b.comappstat
and a.workordersoi = b.workordersoi
The subquery executed on its own returns a single value 9, which is the correct value of the column in the table of the prod, and I want to replace the incorrect a '12' (I've updated the copy to change the value of the column comappstat to 12 everywhere where it was 9) However when I run the query again I get this error :
ERROR on line 8:
ORA-00904: "B". "" WORKORDERSOI ": invalid identifier
First of all, I don't see why the update statement does not work (it's probably obvious, but I'm not)
Secondly, it is the best approach for updating a column (or columns) that are incorrect, with the columns in the same table which are correct, or is there a better way?
I would sooner update the table rather than delete or truncate then re insert, as it was a trigger for insert/update I had to disable it on the notice re and truncate the table unusable a demand so I was re insert.
Thank youHello
First of all, after post 79, you need to know how to format your code.
Your last request reads as follows:
UPDATE mnt.workorders_copy SET comappstat = ( SELECT DISTINCT a.comappstat FROM mnt.workorders a , mnt.workorders_copy b WHERE a.workordersoi = b.workordersoi AND a.comappstat != b.comappstat ) WHERE a.comappstat != b.comappstat AND a.workordersoi = b.workordersoi
This will not work for several reasons:
The sub query allows you to define a and b and outside the breakets you can't refer to a or b.
There is no link between the mnt.workorders_copy and the the update and the request of void.If you do this you should have something like this:
UPDATE mnt.workorders A -- THIS IS THE TABLE YOU WANT TO UPDATE SET A.comappstat = ( SELECT B.comappstat FROM mnt.workorders_copy B -- THIS IS THE TABLE WITH THE CORRECT (OLD) VALUES WHERE a.workordersoi = b.workordersoi -- THIS MUST BE THE KEY AND a.comappstat != b.comappstat ) WHERE EXISTS ( SELECT B.comappstat FROM mnt.workorders_copy B WHERE a.workordersoi = b.workordersoi -- THIS MUST BE THE KEY AND a.comappstat != b.comappstat )
Speed is not so good that you run the query to sub for each row in mnt.workorders
Note it is condition in where. You need other wise, you will update the unchanged to null values.I wouold do it like this:
UPDATE ( SELECT A.workordersoi ,A.comappstat ,B.comappstat comappstat_OLD FROM mnt.workorders A -- THIS IS THE TABLE YOU WANT TO UPDATE ,mnt.workorders_copy B -- THIS IS THE TABLE WITH THE CORRECT (OLD) VALUES WHERE a.workordersoi = b.workordersoi -- THIS MUST BE THE KEY AND a.comappstat != b.comappstat ) C SET C.comappstat = comappstat_OLD ;
This way you can test the subquery first and know exectly what will be updated.
This was not a sub query that is executed for each line preformance should be better.Kind regards
Peter
-
Tables of 2 different databases
I have a scenario where I need to have a domain (from base1) line based on the connection credentials.the security user-level security must be implemented according to the values of session variables
II need to get these session variables filled from a table (in database 2) based on the connection information.
How can I model my topic and how do I include the table in the second database in the area in question although it may not be attached to any othe table in database1?Hi Tintin
You create your session variables based on a statement select for the table does not have to be present in the repository. Need you a connection pool in the physical layer, it can reach however.
Paul
-
How could I avoid creating C$ table in the db (readonly) source?
Hi all, I have a big problem here, hope you can help me :(
the source DB: ORACLE, SQLSERVER2005
target db: ORACLE
For oracle data to oracle, I use 'LKM to Oracle (Oracle DBLINK)', 'IKM Oracle incremental update' and 'CKM Oracle. "
Of data between SQL SERVER and oracle, I use 'LKM SQL for Oracle', 'IKM Oracle incremental update' and 'CKM Oracle. "
Today, my boss told me that I should not create or alter any table in the source database, even if it was table C$ created by ODI.
What can I do? Which KM in each progress (ELT) should I use to deal with this situation?Hi Jun,
U cannot use DBLINK and datapump in this case. Try SQL for SQL or SQL for Oracle LKM.
Thank you
Guru
Maybe you are looking for
-
TDMS &; Diadem best practices: what happens if my mark has breaks/cuts?
I created a LV2011 datalogging application that stores a lot of data to TDMS files. The basic architecture is like this: Each channel has these properties: To = start time DT = sampling interval Channel values: Table 1 d of the DBL values After the
-
My Omni10 can not read sd cards
The tablet can not read my sd card I tried 2 sd cards and still does not work. This after I updated my Windows. And sometimes due to the sd card my screen freeze and I have to disconnect my sd card in order to get works. I kinda want my Tablet factor
-
Accessing supercoach contextspace displayed in large letters.
Original title: contextspace When registering on supercoach and put my details in I get in because that rises contextspace in large letters and saying helpdesk or id application or browser problems? How can I fix it
-
swap hard drive now says Windows 7 not genuine
So, the hard drive Dell to my son died, and to avoid buying a new drive, I traded on an Acer that we had in the attic. All this is good, responsible drivers and it works really well spent. Well until he began to blink's is not a thing of product Wind
-
VLAN on R180W to separate networks
Hello I have a network set up between two buildings. Each building has its own internet connection and a DHCP server, build one using a RV180W router and building B using a linksys product. A WDS Bridge has been implemented between the two building