If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > PUBS2 query - new to sybase

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-19-11, 11:09
donskl donskl is offline
Registered User
 
Join Date: Mar 2011
Posts: 1
PUBS2 query - new to sybase

Hi ,

I am a newbie on sybsase , but I have worked a lot in oracle.
I am finding it diffcult to setup pubs2 database.

I have installed Interactive SQL 11.0.1 and logging it with sa/blank login.
I dont even know if pubs2 is already there in my installation ,

From intenet I found a script for pubs2 with all tables and inserts, but its failing when I try to run it in Interactive sql.


Your help is really appriciated.

Thanks a TON.

Regards
S
Reply With Quote
  #2 (permalink)  
Old 03-22-11, 08:18
aflorin27 aflorin27 is offline
Registered User
 
Join Date: Apr 2008
Location: Iasi, Romania
Posts: 317
I do not know what your PUBS2 database might contain, as it is not a standard Sybase database.

to see all your databases, use this query:
SELECT name FROM master.dbo.sysdatabases

to run a script file, use this statement from command prompt:
isql -Ulogin_name -Plogin_password -Sserver_name -iscript_path/script_file
__________________
Florin Aparaschivei
Iasi, Romania
Reply With Quote
  #3 (permalink)  
Old 04-19-11, 07:02
mbarath mbarath is offline
Registered User
 
Join Date: Apr 2011
Posts: 3
Thumbs up No PUBS database in sybase

PUBS database is not available in sybase.
Reply With Quote
  #4 (permalink)  
Old 04-19-11, 09:31
digioleg digioleg is offline
Registered User
 
Join Date: Apr 2011
Posts: 2
help with preparing to interview

Hello,
IU am looking for the job in Sybase field and always fail because cannot solve the problems on the interview. Could you please tell me where can i find problems to have training with solving them?

Thanks,
Oleg
digioleg@yahoo.com
Reply With Quote
  #5 (permalink)  
Old 04-19-11, 10:37
pdreyer pdreyer is offline
Registered User
 
Join Date: May 2005
Location: South Africa
Posts: 1,268
Quote:
Originally Posted by mbarath View Post
PUBS database is not available in sybase.
FALSE.

Installing the pubs2 and pubs3 sample databases is optional, see the installation guide for your platform.

SyBooks Online

$ ls ASE-15_0/scripts/*pubs*
ASE-15_0/scripts/installpubs2 ASE-15_0/scripts/installpubs3

Last edited by pdreyer; 04-19-11 at 11:05.
Reply With Quote
  #6 (permalink)  
Old 04-20-11, 02:28
aflorin27 aflorin27 is offline
Registered User
 
Join Date: Apr 2008
Location: Iasi, Romania
Posts: 317
Quote:
Originally Posted by pdreyer View Post
FALSE.

Installing the pubs2 and pubs3 sample databases is optional, see the installation guide for your platform.
Wow. I really didn't know that.
From time to time, I should look in the mirror and shout: RTFM!
__________________
Florin Aparaschivei
Iasi, Romania
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On