Searching a particular Row/Coloumn on the complete Database
Is that possible to search a Row/Coloumn
like coloumn name encounter : IF i need to know how many table have the same coloumn in the DATABASE.
thanks for the response.
But to run the query we need to have user_tab_cols as a table in the databse.
I work as a support specialist for a helthcare S/W company eClinicalworks EMR
we have our DB named 'mobiledoc'
i need the info on that DB as to how many table have the column or row named encounterid
Similar Messages
-
SQL to search a field in the complete database
Hi,
I would like to know whether is it possible to search for a particular field name from the complete database?
Say, for example, I would like to search for the field value 'oxford' present anywhere in the database and in any of the tables and in any columns.
If possible, could any one help me with the sql to perform this please?
Thanks
Shivram RajamanickamOk...
searching for a values in all tables in a schema
... -
Sql to find the complete database usage including redo and temp
can i get a sql or script through which i can find the complete usage statistics of the complete database which includes temp and redo log space.
can i get a sql or script through which i can find
the complete usage statistics of the complete
database which includes temp and redo log space.Define 'usage statistics'. Sounds like you mean disk space usage. There are several DBA_* views such as DBA_DATA_FILES, DBA_TEMP_FILES, etc. See the Reference Manual at http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/toc.htm. I leave the rest as an exercise for the student. -
How do I search for all "missing" tracks within the iTunes database?
I found the dreaded ! of death, and sadly I verified the tacks indeed are not on my hard drive.
Is there a way to sort on this tag so that I can see what else might be missing on my hard drive but remains in the database (sort of similar to how you can search for all tracks that have missing artwork)?Thanks. It works perfectly.
URL for anyone else in need: http://dougscripts.com/123 -
Write-lock the complete database
Hello,
One of my transactions changes many records in the database and often I need 30 and
more tries, until the transaction is done without deadlocks.
Is there a chance to simply write-lock the database (and block other transaction) until this
expensive transaction has finished?
Is this impossible?
Thank you very much
JosefHi Josef,
I would suggest starting by reviewing the information in chapters 9 and 14 in the Reference Guide ("Berkeley DB Transactional Data Store Applications", "The Locking Subsystem"):
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/toc.html
and specifically the following links:
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/read.html
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/deadlock.html
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/tune.html
If your application behavior allows for multiple-reader/single writer access to the database then you might want to consider setting up with CDS (Concurrent Data Store); this is presented in chapter 8 in the Reference Guide ("Berkeley DB Concurrent Data Store Applications").
The above documentation should help you resolve this; if not, provide more information on how your application performs work (i.e. how many threads are writing concurrently, if you're using transactional cursors for writing, if you enclose reads in transactions, if you read records, analyze them and subsequently update them, what flags are set for transactions, databases, etc).
Regards,
Andrei -
Hi
I must to search n-esima row in query,
The Query below
select * from (
select t1.nm_ciclo_operacional,
row_number() over(partition by t1.cd_estrutura_comercial order by t1.nm_ciclo_operacional desc) linha
-- row_number() over(partition by t1.cd_estrutura_comercial,min(t1.nm_ciclo_operacional) order by t1.nm_ciclo_operacional desc ) menor
from t_ciclo_operacional t1
where t1.cd_tipo_estrutura_comercial = 4
and t1.cd_estrutura_comercial = 44
order by 1 desc)
-- where linha = Least(1000,250)
return me
NM_CICLO_OPERACIONAL LINHA
200817 1
200816 2
200815 3
200814 4If I need the row = 5 It return me nothing, How can I to get 4th row when no found 5h row ?
thankshi,
pq nao elaboras um script conjuntamente com select.
verificas o máximo e depois sacas em função ao
máximo. Tb podes usar o having
jomarthanks, I found !!!!
select * from (
select t1.nm_ciclo_operacional,
count(*) over(partition by t1.cd_estrutura_comercial) qtd,
row_number() over(partition by t1.cd_estrutura_comercial order by t1.nm_ciclo_operacional desc) number_row
from t_ciclo_operacional t1
where t1.cd_tipo_estrutura_comercial = 4
and t1.cd_estrutura_comercial = 44
order by 1 desc)
where number_row = Least(qtd,4)Thank you -
Checkboxes only for particular rows.
Hi frends..
Here my requirement can we keep checkboxes only for particular in the alv using oops..
I need to display a report showing first column as checkbox.But I need to display checkbox only
for particular rows which satifies the condition.
pls reply me
ThanksHi,
Refer these threads for editing fields for certain rows only:-
Re: Making selected alv rows editable
Re: selective edit in ALV grid
Locking Row in ALV
And refer this wiki for code for using checkbox with alv grid:-
https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/alv%252bgrid%252bdisplay%252bwith%252bcheckbox%252bto%252bprocess%252bselected%252brecords%252bat%252bruntime
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir
Edited by: Tarun Gambhir on Feb 10, 2009 10:31 AM -
How to search all columns of all tables in a database for a keyword?
Dear Team,
i have an requirement that : i want to search all the columns of all the tables in the particular database based on the specific key word or an free text.
example :
table 1: columns data
empname sam
empid 01
table 2 columns data
deptname sam
departmentid 10
table 3 columns data
organization name sam
organization id 1
when i search for text " SAM"
it should search me from the entire database, all tables and columns of it and display the result
output : tablename cloumn value
table1 empname sam
table2 deptname sam
table3 organizationame sam
the example is just an sample not the real data .
please help me with sample code or any link related to it .
thanks in advanceHi justin , thanx for the reply
the basic requirement that we required is ,
the user will just type the keyword( value in the coumn) he required and it should search all the tables and columns of the table in the database and i have to show this in the front ent in the table format. here the user will analyse the information based on the search .
it is just like the google search we does( type the keyword in free text) it will display the result.
so for that i have to search entire table and columns in the whole database.
please if any one provides me the solution it will be help full for me.
thanx in advance -
i need to export the complete database tables, procedures, functions, triggers etc from one computer to another.
i'm using Oracle XE.
and i have to import it to another computer (also using oracle XE)
any suggestions on how to do that?_
i have more than 16 tables and 12 procedures and huge amounts of data.so i cannot just move on.Revisited:
In my case I am on
Apex 4.1 - 10Gex (Centos 5.2 - 32 bit) and want to migrate applications and data to
Apex 4.1 - 11Gex (Centos 6.3 - 64 bit)
1) Should I do anything different than suggested above?
[ I know... CentOS is not a 'Required OS':
...from the 11Gex R2 docs...
•Oracle Enterprise Linux 4 Update 7
•Oracle Enterprise Linux 5 Update 2
•Red Hat Enterprise Linux 4 Update 7
•Red Hat Enterprise Linux 5 Update 2 ]
It is basically RHEL 6.3... I have successfully used CentOS 5.2 with 10Gex even though the 'requirements' for 10Gex are RHEL 3 and RHEL4...
ya see - In order to go to 11Gex, I need a 64-bit OS...
2) I have scheduled DB backups to disk using RMAN -
Can I use those, from 10Gex to 'restore' in 11Gex?
If so - how would I go about setting up the files in what directories - and what edits would be needed in configuration?
(over and above placing everying in 11Gex where is resides in 10Gex - defaults)
Thanks
Rich -
Searching for a string in the xml present in a particular row and column.
Hi All,
We have a table in which in one of the column a complete payload xml is getting stored.
Is there any way to search for a particular string in the stored xml of a particular row?
Thanks in Advance,
BobHere is a simple example of what Blu is saying
I have create a table temp_dept like this
SQL> desc temp_dept
Name Null? Type
DEPTNO NUMBER
DNAME VARCHAR2(10)
LOC VARCHAR2(8)
EMP_XML XMLTYPE
I have loaded employee detail from emp table into emp_xml as xml data. here is a sample
SQL> select * from temp_dept;
DEPTNO DNAME LOC EMP_XML
10 ACCOUNTING NEW YORK <?xml version="1.0"?>
<ROWSET>
<ROW>
<EMPNO>7782</EMPNO>
<ENAME>CLARK</ENAM
20 RESEARCH DALLAS <?xml version="1.0"?>
<ROWSET>
<ROW>
<EMPNO>7369</EMPNO>
<ENAME>SMITH</ENAM
30 SALES CHICAGO <?xml version="1.0"?>
<ROWSET>
<ROW>
<EMPNO>7499</EMPNO>
<ENAME>ALLEN</ENAM
Now i can convert the emp_xml into a table and query like this
SQL> select d.deptno
2 , d.dname
3 , d.loc
4 , e.*
5 from temp_dept d
6 , xmltable
7 (
8 '/ROWSET/ROW' passing d.emp_xml
9 columns empno number path 'EMPNO'
10 , ename varchar2(100) path 'ENAME'
11 , job varchar2(100) path 'JOB'
12 , mgr number path 'MGR'
13 , hiredate varchar2(100) path 'HIREDATE'
14 , sal number PATH 'SAL'
15 , com number PATH 'COM'
16 ) e
17 /
DEPTNO DNAME LOC EMPNO ENAME JOB MGR HIREDATE SAL COM
10 ACCOUNTING NEW YORK 7782 CLARK MANAGER 7839 09-JUN-81 2450 0
10 ACCOUNTING NEW YORK 7839 KING PRESIDENT 17-NOV-81 5000 0
20 RESEARCH DALLAS 7369 SMITH CLERK 7902 02-APR-81 2975 0
20 RESEARCH DALLAS 7566 JONES MANAGER 7839 02-APR-81 2975 0
20 RESEARCH DALLAS 7788 SCOTT ANALYST 7566 19-APR-87 3000 0
20 RESEARCH DALLAS 7876 ADAMS CLERK 7788 23-MAY-87 1100 0
30 SALES CHICAGO 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300
30 SALES CHICAGO 7521 WARD SALESMAN 7698 22-FEB-81 1250 500
30 SALES CHICAGO 7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400
30 SALES CHICAGO 7698 BLAKE MANAGER 7839 01-MAY-81 2850 0
30 SALES CHICAGO 7844 TURNER SALESMAN 7698 08-SEP-81 1500 0
11 rows selected.
SQL>
You can apply filter for the necessary value that you are searching. -
Particular row readonly based on the condition.
hi experts,
am using jdev 11.1.15.0 using adf bc.
my need.
i had af:table in that.
column1 | column 2 | colun3 column n
data1 | data2 | E entry complete button
data3 | data4 | E entry complete button
if i press button that it will change database value "E" to "N"
eg:
column1 | column 2 | colun3 column n
data1 | data2 | N entry complete button while change into N partcular row get into read only. i dono want change this particular row.
data3 | data4 | E entry complete button this row must be editable.
whenver it change "E" into "N" the particular row get read only mode.
how can i achieve my task.
i hope u all understud.sures/ jabr both ideas is useful for me. but am trying this way.
i have a code in my bean. like this.
public String cb23_action2() {
// Add event code here...
BindingContainer bindings = getBindings();
DCIteratorBinding dciter =(DCIteratorBinding) bindings.get("GlLvlAccounts1Iterator");
Row row=dciter.getCurrentRow();
row.setAttribute("GlalStatus", "N");
System.out.println("Document Entry completed "+row.getAttribute("GlalStatus"));
if (row.getAttribute("GlalStatus") == "N") {
// here i want to use the use iteararotr.
// and make the that current row readonly .
.// is it possible here. some thing i tried. i cant't
OperationBinding operationBinding1 = bindings.getOperationBinding("Commit");
Object result1 = operationBinding1.execute();
return null;
Edited by: Erp on Oct 15, 2011 8:17 AM -
Changing the font color for the complete row based on the Keyfigure Values
Hi Experts,
Can any one help me to find a solution for this?.
I have a requirement, in which the Font color for the complete Row needs to be set to RED in Bex Report, when the corresponding Row Keyfigure is more than a particular value.
Ex: Notification-Material-Customer-Def Qty-delivered Qty
1000000 - XXXXX- AAAAAA-10-1000
in the above example, when the Defect qty increses more than 10, then the complete Row Including the characterstics, Notification, Material, and customer Should be Highlighted in Red. This has to happen automatically once the Query is refreshed.
Please let me know if you have any suggestion here?.
Regard,
Muruganand.KHi,
Step 1: Click the Format Menu in Excel(BEX Analyzer)
Step 2: Click the Style submenu
Step 3: there will be number of SAPBEX formats available. Each of these relates to another cell of BEx (Header, Cell Data,
Result Row, Hierarchies, etc.). Also, they depend on data types.
Step 4: Select SAPBEXchatext
Step 5: Click Modify. This displays all the standard formatting option as shown below.
Step 6: Select Font, Color (Background/ Font).
Step 7: Click OK on both the screens. The entire BEx output result row Font and color is modified.
Hope it helps........
Regards,
Suman -
When I go to a particular website I selected the wrong thing on the login now every time I tried to go to that site it redirects me to my search menu and can't find the site.
this is the site i want to go to --- https://delphisso.am.joneslanglasalle.com/idp/startSSO.ping?PartnerSpId=360facilityprod
And this is the site it redirects to --- https://support.mozilla.org/en-US/questions/new/desktop/other/form?search=When+I+go+to+a+particular+website+I+selected+the+wrong+thing+on+the+login+now+every+time+I+tried+to+go+to+that+site+it+redirects+me+to+my+search+menu+&step=aaq-questionIt sounds as if maybe you have just bookmarked the wrong thing.
Probably the link you give in your post works if so use and bookmark that.
If necessary clear cookies and cache and start again from
* https://authn.joneslanglasalle.com
See also
* Reloading using Ctrl+F5 forces a reload without using the existing cache or see [[How to clear the Firefox cache]]
* [[Delete cookies to remove the information websites have stored on your computer#w_delete-cookies-for-a-single-site]]_delete-cookies-for-a-single-site
* If you have recorded the wrong login details you can force Firefox to ''forget'' about a site. But be careful it will lose also lose history and bookmarks for that site. <br /> [[Remove websites from the Awesome Bar suggestions#w_clearing-all-items-for-a-single-site]]_clearing-all-items-for-a-single-site -
Deactivate the double click/ hot spot for a particular row in alv grid.
Hello,
As per a certain condition how to deactivate the double click/ hot spot for a particular row in alv grid.
Regards,
Sarojwhere u define layout there is a field hotspot.like
data: var.
if con is true
var = 'X'. (show hotspot)
else.
var = ' '. (deactive hotspot)
elseif ws_fieldcat-fieldname = 'DMBTR'
AND ws_fieldcat-tabname = 'T_MTAB'.
ws_fieldcat-do_sum = C_X.
<b>ws_fieldcat-hotsopts = var.</b>
MODIFY Wt_fieldcat FROM ws_fieldcat
TRANSPORTING DO_SUM.
It is helpful for u. if any problen send me ur coding i will change it.
Regards
Manish Kumar -
Change the color of a particular row in a jtable
I have a jtable and i want to change the color of one particular column and few rows to blue and underline the text depending on some condition. In my view class if a condition is true
for( count=0;count<grdTest.getRowcount;count++)
if(some condition true)
grdTest.getColumnModel().getColumn(0).
setCellRenderer(new MyTestCellRenderer(count));
And my cell renderer
public class MyTestCellRenderer extends DefaultTableCellRenderer {
int rowIndex=-1;
public MyTestCellRenderer(int rowcount) {
super();
rowIndex=rowcount;
public Component getTableCellRendererComponent(JTable table, Object value,
boolean isSelected, boolean hasFocus, int row, int column) {
super.getTableCellRendererComponent(table, value,
isSelected, hasFocus, row, column);
if(row == rowIndex)
setText("<html> <u> <font color='blue'>" + value.toString());
return this;
This is behaving very wierd . If suppose there are 50 rows and all of them have the condition true then only the last one in the row color is changes.
However if only one out othe say10 has the condition true then it changes the color and underlines the particular row,column.
Is there any other way to do this or what i am doing wrong
Thanksif(row == rowIndex)Your code is a shambles because of the lack of tags, but I don't believe I see anything being called when this boolean condition is not true. That would be a problem.
Maybe you are looking for
-
¶m lexical variable in SELECT clause
Is there a way to get Oracle*Reports to accept a lexical variable in the SELECT clause? The example is: SELECT table.column1, table.column2, &PARAM as column3 FROM table I am already using lexical variables in the WHERE clause, but getting one to wor
-
ABAP HR leading zero's for PERNR
Hi, I am working on a report where I have select statements. When the pernr is given with out leading zeros its not taking it.. I need to make the pernr with leading zeros like if I hav pernr 35 its not getting data.. when i give 0000035 it gets.. so
-
Hi, is there a way to create a ADS User Link in another Organization Unit? We have a lot of users and a lot of OUs, but now we have to have some users in more than one OU. We don't want to copy the user, we only want to have one user object. Can th
-
Why cant i watch the TV episode?
So, i've just downloaded a TV series and I cant play them as they have gone onto icloud...but when i tried icloud-ing them over...its saying i cant do so for another 90 days! Why did it go onto icloud in the first place and why do i have to wait 90 d
-
How to view pre-installed License file
Hi, I was told we that 6296 comes with pre-installed 18-port license but I could find any. There is nothing under installed license. All I can find is 180 days grace period. Is pre-installed 18-port license viewable via license management? Thanks, Ha