Oracle9i Data base creation "ASAP"
I have installed the software only and not created database.
When I try to login for creatin the database.
I just logged in using the
Z:\>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Jun 27 13:02:36 2003
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect / as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
SQL>
My database is under OS Authentication
The OS user am logging in is ORA_DBA group.
Can anybody help me doing this
ASAP
Hi,
You could use the Database Configuration Assistant located at Configuration & Management Tools. If you want create "everything" from scratch yourself, I guess starting with creating a service (oradim) and password (orapwd) for the instance are amongst the first things you should do.
Best of luck,
-J.
Similar Messages
-
Problem In Data Base Creation... Oracle 10g server in windows server 2008
I have installed Oracle 10g server in windows server 2008 and the domain & active directory r created now i am trying to create the databse i am getting usual error (tns protocol adapter error ) in the 2% i have removed the domain and the active directory from windows then i created but this is not a solutions i need to create the data base in the domain server...
this is a forms forum.
please post in Database Installation -
hi,
I am new with data bases in Java. I need to build a servlet that saves data in data base. I would like to use mySQL. I really don't know nothing about mySQL and JDBC, only that it is free and it uses SQL (which I knows).
What should I know and have in order to make this? what jars and what servers should I find? where can I find an example of how to create a data base and use it?
thanks, Naor.The JDBC tutorial....
http://java.sun.com/docs/books/tutorial/jdbc/index.html
The mysql site....
http://dev.mysql.com/
I suggest that the read the license carefully first. -
Hi,
on FSCM 91, Tools 8.49
in which peopleSoft table can we see the database creation time ?
Any kind of DB (Oracle, Sqlserver,DB2).
Thanks.For SQL Server try
select name, crdate from master..sysdatabases where name = 'YOURDBNAME'
Edited by: RCC on Apr 4, 2013 9:53 AM
Any data in the tables is going to be refreshed down from production, so if you want to use a table to store this info I recommend building it into your refresh process. Sometimes it's nice to create a table outside of the PeopleSoft database such as in a administration schema or consolidated admin database that you insert into each refresh, it's nice to have the history sometimes. -
Dear Friends,
I had installed oracle 9i using database configuration assitance for learning purpose. Installation was successful. Now, is it possible to view the database creation script of the above created database. If it is possible, kindly share the steps. Thanks in advance.CHeck out the alert log of the created Database and you will find the scripts as commands in it.
Or go to ORACLE_HOME and search for demobld.sql
regard
Pravin -
Creation of field in data base table
Hi,
I want to create a field in data base table , which holds the float values but i don't want to use the FLTP data type, why bcoz if i use this data type in selection screen of the table the the field is not appeqring, i dont want to go for the option QUAN bcoz there i need to define the ref table and ref field.
please explain what is the way to create this field.
regards
KrishnaUse NUMC
Awrd POints if useful
Bhupal -
PLEASE REPLY ASAP.Unbale to connect to oracle data base using JSP.
hi,
I am not able to connect to oracle data base using JSP. PFB the code and out put.
<html>
<!--Importing the Packages-->
<%@ page import = "java.sql.*" %>
<body>
<%
try
out.println("hi<br>");
Connection conn = DriverManager.getConnection("jdbc:oracle:oci:@xxx.xxx.xx.xxx:xxxx:flstr800","user","paswordd");
out.println("connected<br>");
catch (SQLException e)
out.println("ERROR: failed to connect!");
out.println("ERROR: " + e.getMessage());
e.printStackTrace();
return;
%>
</body>
</html>
OUTPUT:
hi
ERROR: failed to connect! ERROR: No suitable driver found for jdbc:oracle:oci:@host:port
Please guide me on this issue.
Edited by: user10997061 on Apr 10, 2009 4:27 AMI definitely do not know much about JSP but
http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html
indicates
<quote>
This URL connects to the same database using the the OCI driver and the SID inst1 without specifying the username or password.
jdbc:oracle:oci:@myhost:1521:inst1
<quote>
I do not see the port information in your connect string. Is that an issue? -
Transfer of xml file elements to data base columns
hi all,
i have to store xml file's data(element values) into the data base(table columns).
i heard that we can acheive this by XSU.
IS it is mediator between xml and db? if yes how to install it.
i tried something as below
with t as (
select xmltype('<Message-Header>
<Message-Id>1234</Message-Id>
<Sender-Company-ID>4569</Sender-Company-ID>
<Sender-Company-Name>abc company</Sender-Company-Nam
<Sender-User-ID>AA</Sender-User-ID>
<Recv-Company-ID>050</Recv-Company-ID>
<Recv-Company-Name>XYZ pvt.ltd</Recv-Company-Name>
<Creation-Time>20101019 15:59:39</Creation-Time>
</Message-Header>') as xml from dual
)but i am getting following error. can anybody explain about this
SQL> ed
Wrote file afiedt.buf
1 with t as (
2 select xmltype('<Message-Header>
3 <Message-Id>1234</Message-Id>
4 <Sender-Company-ID>4569</Sender-Company-ID>
5 <Sender-Company-Name>abc company</Sender-Company-Name>
6 <Sender-User-ID>AA</Sender-User-ID>
7 <Recv-Company-ID>050</Recv-Company-ID>
8 <Recv-Company-Name>XYZ pvt.ltd</Recv-Company-Name>
9 <Creation-Time>20101019 15:59:39</Creation-Time>
10 </Message-Header>') as xml from dual
11* )
SQL> /
with t as (
ERROR at line 1:
ORA-01041: internal error. hostdef extension doesn't existPlease help me..
my db version is Oracle Database 10g Release 10.2.0.1.0 - ProductionHi,
What are you trying to achieve with a single WITH clause and no SELECT?
Please see this from the documentation if you want to use it properly :
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_10002.htm#i2077142
Apart from its true purpose of subquery factoring, the WITH clause is often use here and there to simulate a table content, but you'll always need a SELECT.
Maybe that's what you were trying to do?
As for your question, starting with release 10.2, Oracle provides XMLTable to shred XML documents into relational structures.
For example,
with t as (
select xmltype('<Message-Header>
<Message-Id>1234</Message-Id>
<Sender-Company-ID>4569</Sender-Company-ID>
<Sender-Company-Name>abc company</Sender-Company-Name>
<Sender-User-ID>AA</Sender-User-ID>
<Recv-Company-ID>050</Recv-Company-ID>
<Recv-Company-Name>XYZ pvt.ltd</Recv-Company-Name>
<Creation-Time>20101019 15:59:39</Creation-Time>
</Message-Header>') as xml from dual
select x.*
from t,
XMLTable(
'/Message-Header'
passing t.xml
columns
message_id number path 'Message-Id',
sender_company_id number path 'Sender-Company-ID',
sender_company_name varchar2(30) path 'Sender-Company-Name',
sender_user_id varchar2(30) path 'Sender-User-ID',
recv_company_id varchar2(30) path 'Recv-Company-ID',
recv_company_name varchar2(30) path 'Recv-Company-Name',
creation_time varchar2(30) path 'Creation-Time'
) x
;If you're working in PL/SQL, and the XML resides in a variable, you can directly do (with necessary datatype conversion in the SELECT) :
insert into your_table ( <your_columns_list> )
select <your_columns_list>
from XMLTable(
'/Message-Header'
passing your_xml_var
columns
message_id number path 'Message-Id',
sender_company_id number path 'Sender-Company-ID',
sender_company_name varchar2(30) path 'Sender-Company-Name',
sender_user_id varchar2(30) path 'Sender-User-ID',
recv_company_id varchar2(30) path 'Recv-Company-ID',
recv_company_name varchar2(30) path 'Recv-Company-Name',
creation_time varchar2(30) path 'Creation-Time'
) x
; -
How to check the validation at data base level as well as current user ente
Dear all
i have creation page in that item code will not enter the duplicate values
in that creation page contains advanced table
user will click on create 15 blank records using add another row
suppose in first row user will enter LAPTOP assume this item code
in this case i need to raise exception through databse level
in second row also user enter LAPTOP1 in this case exception will not raise becaause data is not there at databse
in third row user will enter LAPTOP1 in this case item is not there in data base but it is there in second row in this case
i need to raise exception
how to achieve this
Thanks in Advance
SreekanthYou can validate this in form submission.
1. Call a method in AMImpl.java
2. loop the ViewObjects and check the values
3. If you find a match, throw the error
--Prasanna -
Hi all : Issue is data base Please attach see file , copy this file to desktop ,, then run create table vi ,,, as you see its will save the data in access . Please see I took the this example from national instrument example directory C:\Program Files\National Instruments\LabVIEW 8.5\examples\database but I add some objects My problems are : 1- Every one can insert to epos.mdb and do changes 2- I want if I insert same number in column 1 , massage appeared that say this number is in data base , and don't saved it , if this number doesn't exist then application will saved it How can I do that? thanks
Attachments:
database.zip 239 KBthe exemple just cover the creation of a table, but not the insert record.
I do not have the database add on but I am using a database not connected yet to Labview.
To answer your question you should first use create table with the database app(like access: simpler)
next find the function vi to (findRecord(like query) and Numberof record and insert record. -
Hi
i wolud like to interact with oracle database in atg so i created one ds file that is xml file after creation of ds file where i have to register that ds file in order to interact with data base in atgI believe you are referring to datasource xml. If you are on Weblogic you need to define the datasource from Weblogic console and it will create the corresponding xml in your domain's config/jdbc. If you are on JBoss you can create the datasource xml using an existing datasource xml which are already provided both in ATG and JBoss. Change the datasource name, driver, jdbc url and other parameters as per your setup and copy this datasource xml to your JBoss server's deploy directory. It will be loaded when you start that JBoss server. Then on ATG side, you will have to update /atg/dynamo/service/jdbc/JTDataSource component to provide it the same JNDI name that you specified in your datasource xml.
-
Dear Frends,,
Can Any body forward me the sample question & answers Data base question from business blue print phase.plz help me i am stuck
[email protected]
Points will be awarded certainly. please email at above id
S AP
THANKSThanks Ashish
I have awarded points
Can u tell me whether we use this template in ASAP methodology.
How to use these questionnaire in implementation. iF SAP solution manager is linked how it is used.
thanks
S AP -
Difference between data dictionary and data base
Hi,
Please give me clear view on data dictionary and data base.
Thanks
marganiHi Margini,
Please check the forms u can find the lot of answers
Here is a link
http://www.sapdb.info/abap-data-dictionary/
What is a data dictionary?
Data Dictionary is a central source of data in a data management system. Its main function is to support the creation and management of data definitions. It has details about
· what data is contained?
· What are the attributes of the data?
· What is the relationship existing between the various data elements?
Best regards,
raam -
How to load .dmp file into oracle 11gR2 data base schema ?
hello experts,
i have a .dmp file and i wnat to use the data in this file for my further practices.
so, i need to dump the data in the .dmp file to the any schema exiists in data base.
Please give me step by step procedure to execute my requirement....ASAP.
Thanks in Advance
LAkshmi kanthPl post details of exact OS and database versions. The answer will depend on exactly how this dmp file was created. What is the issue you are trying to resolve ? This is a forum of peer volunteers - for all ASAP issues, pl open an SR with Support
HTH
Srini -
Char '¦' gets replaced with '|' in sp source when restoring a data base.
char '¦' gets replaced with '|' in sp source when restoring a data base. This makes the procedure put a character for separating a string different (|) from the espected one (¦). And this makes the application failed.
Can anyone help me out?
Thanks,
FrankI'll follow the thread in Data Base - General from now on.
In case u see this one first:
To ALL:
Thanks 355099, Joel, and Justin:
Oracle9i Enterprise Edition Release 9.2.0.4.0
Charset: ?? I'll will ask the data base guy. (we are preaty small). It is reported as a bug in my system, the thing is I usually do not program against this kind of bug. :)
Anyways, the usage is as follows, this guy uses an empty restore to install the database for application installation purposes.
instaed of running some scripts the test for the instalation is done as a restore.
import/export is the action being done here.
Again I use the ¦ char to separate a string array.
Something to consider is that the chars are:
124 | and 166 ¦
They are both ascii aren't they?
Why would the impor/export change the char ¦ for |?
if is a charset problem why isn't the changed char a ? or a # or a 9 or a non printable char, instead it changes for a |.
x_x
Frank
Maybe you are looking for
-
My Safari 5.0.4 keeps quitting/crashing
Hi, I see this is a common problem but I have tried repairing permissions and deleting the cache.db file and that hasn't helped. Below is the crash report if anyone can help? Thanks Sarah Process: Safari [604] Path: /Applications/S
-
Bug in Oracle lib: popen failed with pthread in Redhat 6.1
Dear Oracle developers, I need your help on this. I have used c and pthread in Redhat 6.1 and the moment I called popen, it dies. This happens only if I link some Oracle libraries. I am using ProC. The Oracle libraries in question are -lsql -L/export
-
UWL : Web Dynpro (Java) View
Hi All, I'm new in development/configuration of UWL. Some requirements I already could realize. But now I'm I need to implement a totally new inputfield to the task creation and some business logic behind some actions e.g. an already filled out assig
-
How do I Change Permissions for a UME Role: UME.Manage_Users
I am trying to set up a helpdesk role that will allow a limited number of users to reset passwords and unlock users. I do not want them to be able to change user data, delete or create users. I created a user and assigned it the user administration c
-
Hp deskjet 3520 no icon on computer so I can not scan
Have hp deskjet 3520 I have no iconon my desktop so I can not scan anything because it tells me no scanner found.. I can print things however I tried to scan something to send to someone and an error message came on the printer it says "scan to Comp