How to find path of database
windows
run ---services.msc
how to find database name,
path,
and home
thanks for help
If you are on windows, you might just be able to sqlplus / as sysdba in a command window, since all that stuff is defined in the registry. If there is more than one db, this might be completely misleading. Checking the services under the manage option from right clicking on the My Computer might answer that. Searching the registry for oracle homes might answer it better. It all depends on the history of the 'puter, and how cluelessly it has been pounded upon.
Similar Messages
-
How to find whether remote database is up or not (connected via dblink)
Hi,
I am using dblink to connect Biz database from Dev database.(Biz, Dev - database names)
Running dbms job using the dblink from the Dev database to update data on Biz database...
Problem is dbms job should run if and only if the Biz database is up for which i created the dblink...
1) How to make sure or implement the check to find whether the Biz is database is up or not in Pl/sql or sql...
2) How to reschedule the dbms jobs once the database is up
pls suggest me how to find whether the database is up or not b4 running the dbms job?
Using- Oracle 10gThe only way to know whether the remote database is up (and whether the network between the two databases is up and whether the remote database's listener is up and whether the password configured in the database link is correct and whether the local TNS alias is correct, etc) would be to actually run a query against the remote database over the database link. In other words, the way to figure out whether the link is up is to let the job run and catch & handle exceptions when there are problems.
By default, a job scheduled via DBMS_JOB will automatically reschedule itself if there is an unhandled exception by geometrically backing off (it waits 1 minute after the first failure, 2 minutes after the second, 4, 8, 16, 32 minutes, etc until it's marked as broken after 16 failures). You could, of course, catch appropriate exceptions and handle them in a reasonable fashion and manually reschedule jobs at intervals that make more sense for your particular job.
Justin -
How to find relationship between database tables
Hi Mate,s.
Iam new to SAPBW , PLZ tell me , How to find releationship between database table(Transperent tables).
Regards.
harryhi harry,
from your previous postings, i guess you are asking relationship between tables in r/3, following links may help :
http://www.sapgenie.com/abap/tables.htm
http://www.sapgenie.com/abap/tables_sd.htm
http://www.sapgenie.com/abap/tables_mm.htm
http://www.sapgenie.com/abap/tables_fi.htm
http://www.sapgenie.com/abap/tables_ps.htm -
How to find path of third party applicatoin
we can run any third party application using Process p = Runtime.getRuntime().exec.... etc
But exact location of that program executable I do not know because it is upto user where he installs C drive or D drive or so.
How to find the path of that third party application such as Yahoo Messenger "YahooMessenger.exe"
Thank you.
Edited by: wcomet on May 17, 2008 11:06 AM
Edited by: wcomet on May 17, 2008 11:07 AMSince you'va already made Java non-portable by using Runtime, you're probably bbest off using the OS's capabilities to find the program's path.
If the 3rd party program was always contained in Java's classpath list, you could use Class.getResource(). -
How to find Path from T-code in SPRO
Dear All,
Please tell me how find Path in SPRO if I know T-code
Regards,
IshwarDear Ishwar,
<b>After entering T code SPRO - it takes you to Customizing : execute project,Click
on SAP Reference IMG or simply press F5.Then click on Find Indicator(control +
F),enter the text say for Example Order type Dependent parameters and click on
Tick mark or press enter.</b>
After getting the results,select one Row & press enter.this will show the branch
out.
For Example Define order type - OPJH is the T code,now
after clicking on find indicator,then give this text and
search and then after getting the result,select that row
and press enter.it will branch out.
Regards
Mangal -
How to find tables from database having no partition
Hello Sir,
How to find tables from oracle database having no partitions?
Thank you.
-Mal@SB,
SQL> SELECT OWNER, TABLE_NAME FROM DBA_TABLES
2 MINUS
3 SELECT OWNER, TABLE_NAME FROM DBA_TAB_PARTITIONS;
SELECT OWNER, TABLE_NAME FROM DBA_TAB_PARTITIONS
ERROR at line 3:
ORA-00904: "OWNER": invalid identifier@OP,
select table_name,partitioned from dba_tables where partitioned='YES';
select table_name,partitioned from dba_tables where partitioned='NO';
Regards
Girish Sharma
Edited by: Girish Sharma on Jul 1, 2011 9:27 AM -
How to find path if u know t.code from IMG
HI EXPERTS
if u use t.code SEARCH_SAP_MENU or if i go by SE93
i can get path for only for the t.code use for SAP EASY ACCESS MENU only e.g XD01 , MM02, or VA01
like any t.code have no configuration part
my question is i want the path for t.code which is use in configuration (SPRO --IMG ) part e.g V/08 , VOV8
like for this kind of t.code how can i get path
what is procedure or any t.code
and vice versa also
if i know description how can find t.code
thanksHi,
Goto t.code VOV8. In MENU>Table view>Print.
take the value in view field : V_TVAK.
Goto SM30. enter V_TVAK and choose customizing. Click on continue W/O specifying project.
Select Sales - Define Sales Document Types and press enter. system will take you to path.
Note : It will not work for all the t.codes
This is one way of doing.
Click on find button, enter text and search.
Regards,
Chandra -
How to find old mailbox database name
Hi,<o:p></o:p>
We are using Exchange server 2007, we recently moved one user from one database to another database. But we didn't notice source database name while
we move. After a week time user asking us to restore one month old data but now we didn't know were user was there earlier before moved to new database. Is there any way to find old mailbox database name for the particular user?<o:p></o:p>
Your help is really appreciated. Thanks<o:p></o:p>Try this friend:
Option1:
get-mailbox [email protected] | Get-MailboxStatistics -IncludeMoveHistory | ft DisplayName, MoveHistory
Option2:
If you have trouble use below to generate in csv to get old DB status of user:
$temp=Get-MailboxStatistics -Identity AylaKol -IncludeMoveReport
$temp.MoveHistory[0] | Export-CSV C:\MoveReport_AylaKol.csv
Option 3:
C:\>(Get-MailboxStatistics alan.reid -IncludeMoveHistory).MoveHistory | select CompletionTimestamp,SourceDatabase,TargetDatabase | ft -auto
CompletionTimestamp SourceDatabase TargetDatabase
14/07/2014 5:41:27 AM MB-HO-04 DB01
8/01/2014 11:35:55 AM MB-HO-03 MB-HO-04
11/09/2013 11:35:24 PM MB-HO-01 MB-HO-03 -
How to find out the database-size
Hello,
how can I find out the size of the database.
I created the user as below. I defined the size of the database to 2MB. Now I want to know how much is the size of the database.
CREATE USER oemer
IDENTIFIED BY ...
DEFAULT TABLESPACE system
QUOTA 2M ON system;Actually, since Omer is a veteran poster to the Forms and Reports forums, I doubt that. I think he is making a much more interesting journey: from front-end to back-end.
I'll be a bit more helpful this morning.
Databases are ways of organising disk space to store data. Fundamentally they consist of OS files, data files. The RDBMS handles by grouping them into tablespaces. When we build tables we assign them to a tablespace.
So, the size of the database is the sum of its datafiles. Of course, some tablespaces are used for sorting and holding undo information, so the size of the database for the purposes of persisting data is:
SELECT count(x.tablespace_name) AS total_TS, sum(x.MB) AS total_mb, sum(x.free_mb) AS total_free_mb
FROM ( SELECT t.tablespace_name, sum(d.bytes)/1048576 AS mb, sum(f.bytes)/1048576 AS free_mb
FROM dba_free_space f, dba_data_files d, dba_tablespaces t
WHERE t.contents = 'PERMANENT'
AND d.tablespace_name = t.tablespace_name
AND d.file_id = f.file_id
GROUP BY t.tablespace_name ) x
/The SYSTEM tablespace is special. It is used by Oracle to hold the data dictionary, the definitions of all the objects in the database. It should not be used for storing application objects (it affects the performance, apatrt from anything else). That is why we must not use it as a default tablespace.
CREATE USER oemer
IDENTIFIED BY ...
DEFAULT TABLESPACE ts_users
QUOTA 2M ON ts_users; Cheers, APC -
How to find out the database size of a portal?
Hi all!
How can I determine the size of the database of one portal?
Thanks for your help!
PMHey Peter,
Just making sure off the top... you're using the same version of Oracle on both the source ABAP system with DBA Cockpit and the target Portal, correct?
Assuming you answered that in the affirmative, did you make an additional entry in the tnsnames.ora file on the ABAP system? This entry should reflect the target Portal database system to which your connecting. Make your change to the /oracle/<SID>/<DB_Ver>/network/admin/tnsnames.ora file. Once this is complete, copy that file to /sapmnt/<SID>/profile/oracle/tnsnames.ora.
Test your connection again after this.
Here's an excerpt from SAP Note 1261329:
Set up the database connection.
In the file tnsnames.ora that is in the directory (on the application server) to which the environment variable TNS_ADMIN refers, you must add the following entry for each Oracle remote database:
<SID> =
(DESCRIPTION =
(SDU = 32768)
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = TCP)
(PROTOCOL = TCP)
(HOST = <database_host>)
(PORT = <port>)
(CONNECT_DATA =
(SID = <DB_ID>)
This means that
<SID> = the ID that you want to use to access this database ("TNS Name")
<database_host> = host name of the database server
<port> = TCP port of the database listener
<DB_ID> = database ID of the database that is to be connected
Usually, you can copy the entry in the file tnsnames.ora from the relevant file of the remote system. To obtain the contents of tnsnames.ora in the remote system, log on to the remote system as the database user ora<sid> (UNIX or Linux) or as the database user <sid>adm (Windows) on operating system level. There, you call the following command from the command line.
tnsping <SID>
The output specifies the connection parameters and the path to the file sqlnet.ora. The directory in which this file is stored, also includes the file tnsnames.ora.
If you haven't seen them before, check out that note (1261329, 1028624, and 1256322). If you've still got questions, let me know.
-Kevin -
How to find SQL statement = Database Auditing
Dear All
I have configured Database Auditing on Oracle 9i Enterprise Edition Server
parameter init.ora file:
AUDIT_TRAIL = "DB"
I want to audit INSERT,UPDATE, DELETE STATEMENT on PRACTICE.EMP table
for which i did :
1) Logged in as SYS
SQL> AUDIT INSERT,UPDATE,DELETE
ON PRACTICE.EMP
BY ACCESS
WHENEVER SUCCESSFUL
Audit Succedded
2) Now I have to check the SQL statement that did insert update or delete operation using SYS.AUD$
3) There is SQLTEXT field , datatype is CLOB.
How should I check the SQL Statements that were fired on PRACTICE.EMP table
Kindly helpSQL> show user
USER is "SYS"
SQL> alter system set audit_trail = db,extended scope=spfile;
alter system set audit_trail = db,extended scope=spfile
ERROR at line 1:
ORA-32001: write to SPFILE requested but no SPFILE specified at startup
I have init.ora but no spifle so should I create SPFILE based on INIT.ORA and then give the command ?
As of now I am using V$SQL view to find all the commands executed on my database.
I found one good book "Oracle Security" OREILY PUBLICATION in which Auditing Database is discussed in good details.
Thank you so much for all your efforts -
How to find export to database cluster
Hi,
i was going through an exit EXIT_SAPLCLFM_002 include ZXCLFU02.....
i came across the statement:
import l_verid
l_werks
from database indx(st) id l_charg.
so how can i find where the corresponding Export statement is?
regrads,
Ravi Valluri
If its not the correct forum to post in, pls let me know so that i can move to otherHi.
As I understand, you use CLFM0002 user-exit.
Run transaction, which works with classifications.
Before starting it enter /h command and go to debug mode where create breakpoint for
export ABAP command.
Then while debugging you will come across lines where export statements occur, if such ones exist.
May be among them you will find corresponding export statement for import statement mentioned by you. -
How can find the reposite database name connection
I have a obiee server installed, how can I find the reposite schema database coneection? -thanks
Hi,
You can create Repository Static Variable in rpd, and in Connection pool you can mention like VALUEOF(OLAP_DSN) and VALUEOF(OLAP_USER) in DSN and user name.Then create a report and change the function to use these variable.
fyi..refer:
http://oraclebi.blog.com/tip-of-the-day-checking-the-dsn-name-and-user-name-from-report-level/
Thanks
Deva -
How to find PATH of the executable (Windows)
Is there an object / method that would yeild the PATH of the .exe file?
For example:
I use a .svb file in PATH A to run a .exe in PATH B.
PATH B contains some input files along with the .exe.
How do I get PATH B so that I can find and access my input files.
Any suggestions are greatly appreciated.no. you could search the entire disk, of course. Or if you know the application has it's path someplace specific in the registry, you could look there (not that Java provides a registry reader, but there's a package called JNIRegistry out there that can).
-
From this path...
srv01/iplant/home/apps/dir.txt
<cfset path = 'srv01/iplant/home/apps/dir.txt'
i want to find filename and path....
<cfset filename = listlast(path,'/')>
filename : <cfoutput>#filename#</cfoutput><br
/>
How will i find filepath?
filepath = srv01/iplant/home/apps/Amm85 wrote:
> I getting this path from a text file...
> then parsing this path to find
> filename and filepath.
>
> so i can't use getDirectoryFromPath
Why not? Is it not a path? If it is a path, I would expect
getDirectoryFromPath() to remove the file from the end and
return the
rest of the list. Probably using the above mentioned
listRest()
function internally.
Maybe you are looking for
-
Different colours - same settings!
Hi. I make my movie and I am doing this: (Sequence1 = S1) (Sequence2 = S2) I export movie from S1 with after effects. I render it and exported via Compressor, settings HDV 1080 50i.. I named it tp08.. After I imported it to S2 and make only some litt
-
Adding 2 files together.
i`m trying to add an intro to a video but no matter what i do and what i search on youtube/google, nothing comes up.what i want to hapen is for my intro to fade away into the video so i can export it and upload it to youtube,but i can`t seem to get t
-
No Quality Inspection for Stock Transfer
Hi, There is a scenario now in which a material is activated for quality inspection. This same material is also used for Stock transfer from other plant with same company. So if material if received using STO, how can I deactivate Quality Inspection
-
JavaScript won't close web browser
Captivate 6: JavaScript won't work for my close button as it did in previous versions of Captivate.. < a href="javascript:window.opener='x';window.close();">Close< /a> Nothing happens when I click it in the web browser. What am I doing wrong?
-
Problem with f:ajax , setters not called
Hi, I have this jsf <ui:define name="content"> <h:form> <h:selectOneRadio value="#{chargeMenuBacking.inputMethod}"> <f:selectItem itemValue="#{chargeMenuBacking.COMMUNITY}" itemLabel="Community" /> <f:selectItem itemValue="#{chargeMenuBacking.FILE}"