Can we validate a userid/pasword in Oracle 10g
Hi Everyone,
Can we validate a userid/password in Oracle 10g while we are already connected to Oracle.
The way I am doing it in 9i is,
create a database link and read some data from the database using the database link.
Any suggestions please.
Thanks!
If you are already connected to Oracle, why would you need (or want) to validate a user name & password? If the connection was successful, Oracle has already validated the user name & password...
Are you trying to build your own proxy authentication mechanism? If so, I'd strongly suggest using Oracle's built-in functionality instead.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
Similar Messages
-
Can we rename the database name in oracle 10g
Hi,
Can we rename the database name in oracle 10g.
Please helpYes as already said, using DBNEWID Utility can renamed the database name.
You can also take a look at the Oracle Metalink Note:429674.1 (Which was written by me) - Subject: How We Used the Oracle DBNEWID Utility to Change the Database Name
Regards,
Sabdar Syed. -
Can I run 32 bit version of Oracle 10g grid on Linux x86-64?
Since Oracle did not release 64 bit version of Oracle 10g grid for Linux X86-64. Can I run 32 bit version of Oracle 10g grid on Linux x86-64? If so did anyone tried this? and also any known issues?
All I had to do was use the 32bit version of "/usr/bin/gcc" and "/usr/bin/g++" to run the installation
That is:
bin]# cp -p /usr/bin/gcc /usr/bin/gcc_old
bin]# mv /usr/bin/gcc /usr/bin/gcc323
mv: overwrite `/usr/bin/gcc323'? y
bin]# ln -s /usr/bin/gcc296 /usr/bin/gcc
bin]# cp -p /usr/bin/g++ /usr/bin/g++_old
bin]# mv /usr/bin/g++ /usr/bin/g++323
mv: overwrite `/usr/bin/g++323'? y
bin]# ln -s /usr/bin/g++296 /usr/bin/g++
AFTER INSTALLATION REMEMBER TO
move back the 64bit files to their former state.
bin]#rm /usr/bin/g++
bin]#rm /usr/bin/gcc
bin]#mv /usr/bin/gcc_old /usr/bin/gcc
bin]#mv /usr/bin/g++_old /usr/bin/g++ -
Can I disable logging for session in Oracle 10g?
I use a procedure to delete a lot of row for an application repeatedly. Because the DELETE statement is time consuming and the data don't need to be archived, I decide to use the nologging option.
How to do it?
What is the best choice? Can I disable logging from session in Oracle 10g?
Thank you
Edited by: jetq on Jul 23, 2009 9:46 AMHi,
"Delete" without generating redo-log is not possible.
If you are on 10g, one way of making this thing efficiant is partition the table, with range-list partitioning. Partitioning existing table will be an excercise in itself, but that will be one time activity.
In partitioned (or sub-partitioned) tables, you can truncate a partition (or subpartition). That won't generate any redo log (or very very less redo log) and that runs in seconds.
In your case if you range partition INCOMING table by datetime (1 partition per day) and list sub-partition it by STATUS, that would help.
Another approach is, if you are deleteing, say 80% records every day and leaving 20% (or very less) records. What you can do is, partition the table only by range on datetime. Then, every time you want to delete data, copy the rows you want to keep in some other table (or temporary table), truncate partition for that day and insert rows back (which you want to keep).
I have done a similar thing and it works very quickly and generates very less redo log. Redo log generated in case of truncating partition or creating new partitions is just for Oracle internal commands (like data dictionary update etc).
Have fun. -
Why i can't not create new database in oracle 10g express
why i can't not create new database in oracle 10g express?
should i use oracle 11g standard edition?
thanksIn Oracle a schema is what a 'database' is in Sqlserver.
And if you would have been aware about the limitations of XE, you would have known you can only create *1* (one) database using Oracle XE.
However, probably you don't need a new database at all, and a schema will suffice.
Sybrand Bakker
Senior Oracle DBA -
Where can I download the ODBC driver for Oracle 10g XE?
where can I download the ODBC driver for Oracle 10g XE?
I need the ODBC drivers for windows 7 x64, I installed Oracle Database 10g Express Edition, the use and connects with RazorSQL well, I just want to make a connection THROUGH ConnectionString language using the ODBC driveralready checked these http://www.connectionstrings.com/oracle, I need Help Please.
-
Can any one provide steps to install oracle 10g on RHEL5
can any one provide steps to install oracle 10g on RHEL5...:)
go through http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnRHEL5.php
& http://www.emrealadag.com/dosyalar/it/Ora10gonRhel5.pdf
Edited by: CKPT on Nov 23, 2010 7:15 PM -
Can i create a standby database in oracle 10g standared edition ?
what are the steps required for creating a standby database using oracle 10g standard edition. or Any other feature for mirroring database in oracle 10g standared edition
Dear mithun,
Please read the following online documentation;
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14239/standby.htm
+"+
+2.3.2 Oracle Software Requirements+
+The following list describes Oracle software requirements for using Data Guard:+
+* Oracle Data Guard is available only as a feature of Oracle Database Enterprise Edition. It is not available with Oracle Database Standard Edition. This means the same release of Oracle Database Enterprise Edition must be installed on the primary database and all standby databases in a Data Guard configuration.+
+Note:+
+It is possible to simulate a standby database environment with databases running Oracle Database Standard Edition. You can do this by manually transferring archived redo log files using an operating system copy utility or using custom scripts that periodically send archived redo log files from one database to the other. The consequence is that this configuration does not provide the ease-of-use, manageability, performance, and disaster-recovery capabilities available with Data Guard.+
+"+
Hope That Helps.
Ogan -
Can't Create the ODBC connection for Oracle 10g
Hi,
I am working with Oracle 10g Database Release 2 in windows XP professional. I am trying to create an ODBC connection for oracle but become failure because its generating the following errors:
system error code 998
could not locate the setup or translator library
Please help me how can I solve this problem and create the ODBC connection for oracle 10g database.
Best Regards,mwz wrote:
I am trying to create an ODBC connection for oracle but become failure because its generating the following errors:
system error code 998
could not locate the setup or translator libraryThe symptom described is typical of an incorrect system env PATH setting (used by the data source admin tool), compared to that of the Oracle Home (specifically, path $OH/bin). The odbc driver config routine will search directories listed in PATH variable for necessary libraries (Client dll's). If some library fails to load (from e.g. oraoci*.dll or oraclient10.dll) it will probably error out, as in your case.
Are you creating the odbc dsn on the databse server host or on some other machine? I.e. are you using the db host as a client or not? -
How can I Calcualte the geometric mean in oracle 10g
dear all
plz I need a function to calculate the geometric mean
I uses oracle 10g
thanks in advanceHi,
Solomon Yakobson wrote:
select power(10,sum(log(10,val)) / count(*))
from value_table
I'm sure you meant count *(val)*, not count (*).
You can also use AVG instead of SUM and COUNT.
There's nothing specail about the number 10; any number greater than 1 will do; just be sure to use the same number in both POWER and LOG. If you used e, that would be equivalent to using EXP and LN instead of POWER and LOG, so why not use EXP and LN in the first place?
SELECT job
, power(10,sum(log(10,sal)) / count(*)) AS gm1
, POWER ( 2
, AVG (LOG (2, sal))
) AS gm2
, EXP (AVG (LN (sal))) AS gm3
FROM scott.emp
GROUP BY job
ORDER BY job
;Output:
JOB GM1 GM2 GM3
ANALYST 3000 3000 3000
CLERK 1021.02742 1021.02742 1021.02742
MANAGER 2748.9445 2748.9445 2748.9445
PRESIDENT 5000 5000 5000
SALESMAN 1391.57884 1391.57884 1391.57884 -
How Can I load JRE 1.6 in oracle 10g
Dear All,
My development team developed few classes which are using feature of JDK 1.6. But when they compile those classes in Oracle 10g, it raises few errors.
Should I have to install/load JRE 1.6 in oracle 10g. Presently there lesser than this ver. Please also let me to know how I can?
Aqeel NawazDup How can I change SGA_TARGET IN Oracle 10G.
-
Where can I find platform support metrix for Oracle 10g/11i JDBC drivers?
I need find the official supported platform metrix of Oracle 10g/11i JDBC drivers.
Where can I find this kind of information?
especially, does Oracle 10g/11i JDBC drivers support Windows2008 and AIX6.1?
Any information, please share with me here.
Thank you so much!This Metalink has all the nesscessary inforamtion
metalink 401934.1
Besides this you can check the JDBC developers guide
[For 11|http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/overvw.htm#i1003779] [For 10g|http://download.oracle.com/docs/cd/B14117_01/java.101/b10979/overvw.htm#sthref61] -
How can i download the latest dumps for oracle 10g
how can i download the latest dumps for oracle 10g
It's NOT permissible to use Oracle dumps for passing certification exams!
Please, refer to below links for more information about "using dumps"
http://www.certguard.com/braindumps.asp
http://ivan.kartik.sk/index.php?show_article=39
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/] -
Can we Restore a Dropped Package in oracle 10g
Hello,
I have dropped a pl/sql package accidantly.The database is Oracle 10g R2. Is there any way to recover it.?
Thanx.And if you don't already have source control for the code, make sure to implement it right now.
At least I now have the answer to [this question|http://forums.oracle.com/forums/thread.jspa?messageID=3370251#3370251] I was asked a while back.
Surely nobody in their right mind would ever work directly on source code saved in the database? -
How can i let Displaytag work in an Oracle 10g Portal environment?
Hi there,
I'm already searching and trying this for a week, but didn't succeed yet.
I want to use displaytag to be able to sort and page data in a HTML table on a very generic and easy-to-use way.
Locally in JDeveloper 10.1.3 on OC4J (embedded) it works like a charm (even exporting with the export filter).
On portal...it "sucks" :-s ... It doesn't work at all. It displays the data, but when i click a column for sorting, or a another page of the displaytag an error occurs.
If i do nothing (except giving requestURI="") , the portal suddenly displays it's toplevel page.
If i try to compose the requestURI in the JSP itself, and get the approximate URI that the oracle portal needs, the action is called, but apparently our http session is invalidated, i get nullpointers of an object that should be on the request.getSession(), but it is null there.
I already tried something like implementing the PortletRequestHelper and PortletHref , but therefore i need access to the request (or pageContext?) attributes renderResponse and portletRequest, that should be in the request or page as an attribute with a given name.
I have already printed all session, request and pagecontext attributes and their names in a header.jsp (included like <%@ include file="header.jsp"%> ) , but no objects like javax.portlet.PortletRequest or javax.portlet.RenderResponse appear to be there.
So i can't fetch them from the PageContext attribute in my custom PortletRequestHelper implementation.
Well :-s I need help urgently. Can anyone give me more information to this? I already googled, searched different sources, addressed some colleagues here, and nothing could help me. You, Oracle experts, are my last hope. (Normally, i have a colleague who is very known with Oracle Portal, Oracle expert in our company, but he's ill).
It must have something to do with a wrong URL, but i checked the URL generated by portal for a tab that we can click to change pages, and the URL generated by portal on the displaytag column headers ... (in my current code with the hand-written requestURI in the JSP itself) , and it is completely the same, only 2 request parameters are added. If i click the column, it gives a nullpointerexception on an object that should be on the session but is null.
If you need more information, i'll be so kind as to answer your questions.
I hope this explanation was clear enough :-s i'm quite aggitated that i can't get this wonderfull displaytag working in oracle portal.
Kind regards,
SteveHi there :-)
Thanks already for your replies.
Well, i checked PortletRenderRequest and responses already ... But well ...
I have to re-implement the PortletRequestHelperFactory to allow displaytag to generate the links.
Displaytag expects me to make a PortletRequestHelperFactory (AbsentPortletRequestHelperFactory --> The project call Absenteisme ... employees that are absent from work are registered) that gives a pageContext parameter to an AbsentPortletRequestHelper.
The PortletHref that i need to re-implement (AbsentPortletHref), is constructed using a PortletRequest and a PortletResponse parameter, like the default PortletHref in de Displaytag-Portlet source.
PortletRequest and PortletRenderRequest aren't the same, this gives ClassCastExceptions, and other problems. I already tried using wrappers but can't find anything that works.
:-s
I really don't know further what to do, except indeed working with the correct objects, but how then override those porltet helper objects.
Anyone experience with sorting / paging displaytag in oracle portal ? (I already read that export of displaytag data might pose problems in oracle portal, but this isn't a primary concern ... first i need sortable and pageable data working in Oracle Portal).
Maybe you are looking for
-
Error while downloading data from internal table into XML file
hi all, i developed a program to download data from into internal table to xml file like this. tables: mara. parameters: p_matnr like mara-matnr. data: begin of itab_mara occurs 0, matnr like mara-matnr, ernam like mara-ernam,
-
I regretfully downloaded the new 1.1 software onto my ipod. I let it go on but ir froze for the longest time. I left it over night and in the morring i disconnected. Now my screen is only white, It beeps when i reset it and my comp wont recognize it.
-
Optimize process designing with Photoshop (or other Adobe apps)
Hi I am searching for a long time to optimize my process, and I want to ask you if there is a solution to what I am looking for: 1. can I create a custom panel in Photoshop CS5 where I can save smart objects? for later use?, I am working with Mini-Br
-
Will Adobe Acrobat 9 Pro run on Windows 8?
I was wondering if my Adobe Acrobat 9x Pro software would run on a computer with the operating system Windows 8 Pro?
-
How I can transfer some of my apps from I phone to my MacBook Pro?
How I can transfer some of my apps from I phone to my MacBook Pro?