473,386 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

PUBS Database


Hello,

I'm trying to install the PUBS database on my WIN2000, using SQL*PLUS
(Oracle8i), but I can't get it to work. I don't think I have everything
I need, but then I don't even know where to put the script file I have.
I've saved the script in almost every sub-directory of the oracle
directory, and the oracle directory itself. Then I'll run the following
from the cmd prompt> sqlplus pubs/pubs@diogenes. I receive the following
error "ORA-12154: TNS:could not resolve service name" Below is the first
part of the file (before it creates the Tables). What am I doing wrong?

Thank you in advance for you help.

Mindy

---script...

drop user pubs cascade;

create user pubs identified by pubs;

alter user pubs default tablespace users;

alter user pubs temporary tablespace temp;

grant dba to pubs;

connect pubs/pubs@diogenes

CREATE TABLE AUTHOR...
--
Posted via http://dbforums.com
Jul 19 '05 #1
2 5023
mmidcap <me*********@dbforums.com> wrote in message news:<33****************@dbforums.com>...
Hello,

I'm trying to install the PUBS database on my WIN2000, using SQL*PLUS
(Oracle8i), but I can't get it to work. I don't think I have everything
I need, but then I don't even know where to put the script file I have.
I've saved the script in almost every sub-directory of the oracle
directory, and the oracle directory itself. Then I'll run the following
from the cmd prompt> sqlplus pubs/pubs@diogenes. I receive the following
error "ORA-12154: TNS:could not resolve service name" Below is the first
part of the file (before it creates the Tables). What am I doing wrong?

Thank you in advance for you help.

Mindy

---script...

drop user pubs cascade;

create user pubs identified by pubs;

alter user pubs default tablespace users;

alter user pubs temporary tablespace temp;

grant dba to pubs;

connect pubs/pubs@diogenes

CREATE TABLE AUTHOR...

Except I am missing something
You are trying to connect to diogenes not PUBS
Is PUBS created already ?

Michael Tubuo Ngong
Jul 19 '05 #2
G M
You need to start the listener (or called listener service on PC).
Also make sure your listener.ora file is configured.

HTH.

Guang
mmidcap <me*********@dbforums.com> wrote in message news:<33****************@dbforums.com>...
Hello,

I'm trying to install the PUBS database on my WIN2000, using SQL*PLUS
(Oracle8i), but I can't get it to work. I don't think I have everything
I need, but then I don't even know where to put the script file I have.
I've saved the script in almost every sub-directory of the oracle
directory, and the oracle directory itself. Then I'll run the following
from the cmd prompt> sqlplus pubs/pubs@diogenes. I receive the following
error "ORA-12154: TNS:could not resolve service name" Below is the first
part of the file (before it creates the Tables). What am I doing wrong?

Thank you in advance for you help.

Mindy

---script...

drop user pubs cascade;

create user pubs identified by pubs;

alter user pubs default tablespace users;

alter user pubs temporary tablespace temp;

grant dba to pubs;

connect pubs/pubs@diogenes

CREATE TABLE AUTHOR...

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: EricP | last post by:
Hello, What are the default login/password to access pubs and northwind databases ? I remember the login = "sa", but nothing about the password. Thanks Eric
1
by: anon | last post by:
I'm trying to work through the tutorial that came with VS.net. It talks about using the "pubs" database. I downloaded MSDE 2000 and installed it but I'm not sure what to do next. Do I need to...
1
by: And | last post by:
I everyone! I'm a new asp.net user and I'm trying to run some sample files from de msdn database and most of them use the pubs database. My problem is that although I see the pubs database in...
5
by: Randy | last post by:
Can anyone tell me how to get Pubs into VB.net without installing SQL server? I have installed MSDE but Pubs is not there when I try to connect to an SQL server in VB.net. According to Visual...
0
by: eliucaesteva | last post by:
Hi Have you seen www.x-pubs.com I think it will be very interesting for your audience. X-Pubs is Europes largest XML publishing conference. We have Ann Rockley, JoAnn Hackos, UBM, Mark...
1
by: RobOfTage | last post by:
Hi, I've recently downloaded MSDE and have tried to create a small app to test the connection. It fails at the Connections Open() method with an error indicating an invalid server version. I'm...
2
by: thisis | last post by:
Hi All, I need the PUBS.mdb for pulling images: PUBS.mdb must have the table: pub_info tbl_pub_info : has 3 fields Data_Type : ok Data_Type : ok
2
by: mmidcap | last post by:
Hello, I'm trying to install the PUBS database on my WIN2000, using SQL*PLUS (Oracle8i), but I can't get it to work. I don't think I have everything I need, but then I don't even know where...
0
by: BobLewiston | last post by:
I've installed SQL Server 2008 Express with Advanced Features, but I've been having so-far insurmountable problems installing the AdventureWorks sample databases. However, I've successfully installed...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.