Solved

Need copy of the PB (6.5) sql scripts

Posted on 2004-03-24
5
385 Views
Last Modified: 2013-12-26

Where can I find a copy of the PB (6.5) sql scripts that get run on the database. You need them to be there in order to use PB's graphic mode when viewing the database.

Rip!
0
Comment
Question by:RipTide
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:Vikas_Dixit
ID: 10671913
Can you please clarify whic scripts you need ?? are you trying to get to the DB painter and getting some error, of are these the PFC related scripts that you want ??

What is "PB's graphic mode" ?

Regards,
Vikas
0
 

Author Comment

by:RipTide
ID: 10672201
I want to view the tables graphically In the database painter. In order to do this some PB stored procs have to have been run to set up some pb tables to store metadata about the table relationships so they can be viewed in the painter.


0
 
LVL 8

Assisted Solution

by:Vikas_Dixit
Vikas_Dixit earned 75 total points
ID: 10672334
you mean the PB catalog tables ? ( PBCATCOL etc ??)

Normally Powerbuilder will create the catalog tables when you first time connect to your database... No procedures tha I am aware ofneed to be executed...
Make sure in the Database Connection profile, you have set the PB Catalog owner as the user ID by which you have logged on, or have CREATE TABLE rights...

Does it give you any error ?  Just try to create a new datawindow with "Sql Select" method and see if you get the tables in the graphical format... or go to the SQL view of any DW with simple select statement and select "Convert to Graphics" from the menu...

Regards,
Vikas
0
 
LVL 15

Accepted Solution

by:
namasi_navaretnam earned 50 total points
ID: 10672415
PB catalogs tables are automatically created when you login to the database first time from PB as SA. Just connect once using SA so that pbcatalog tables are created. Once they have been created delete the profile that uses SA userid.

You can create these tables by running PBSYC.SQL from ISQL. Search for this file in the installation directory. I am assuming you are using Sybase.

You can find more info on 'Connecting to your database' manual. See chanpter 5.

Regards
0
 

Author Comment

by:RipTide
ID: 10680001
Unable to get problem resolved. Moving on to new concerns.

Thanks for the tips!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question