Solved

Need copy of the PB (6.5) sql scripts

Posted on 2004-03-24
5
374 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
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sync project in eclipse locally 2 135
Breakpoint problem 8 102
Transferring files or folders between remote directories with Notepad++ . NppFtp 1 71
C#  WebForms or MVC 4 123
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. …
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
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.

821 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