You are on page 1of 15

Database Painter

 Database Painter
 Primary & Foreign Keys
 Extended Attributes
 PowerBuilder System Tables
 Database Profiles
 Database Admin. Painter
 ODBC

PowerBuilder Online Courses - by Prasad


Database Painter
 Database Painter
 Allows to create databases, tables, views,
indexes, PowerBuilder extended attributes.
 All activity can be logged.
 Has option to sync PowerBuilder system
tables.
 Allows to manipulate data when primary
key is declared on a table.

PowerBuilder Online
Http://www.applied-software.com
Courses © Prasad Bodepudi. All rights reserved.
Database Painter
 Database Painter
 Primary & Foreign Keys
 Extended Attributes
 PowerBuilder System Tables
 Database Profiles
 Database Admin. Painter
 ODBC

PowerBuilder Online Courses - by Prasad


Database Painter
 Primary & Foreign Keys
 Primary Key
 Identifies each row uniquely in a table.
 Foreign Key
 Defines the relationship between two tables.

PowerBuilder Online
Http://www.applied-software.com
Courses © Prasad Bodepudi. All rights reserved.
Database Painter
 Database Painter
 Primary & Foreign Keys
 Extended Attributes
 PowerBuilder System Tables
 Database Profiles
 Database Admin. Painter
 ODBC

PowerBuilder Online Courses - by Prasad


Database Painter
 Extended Attributes
 Defines PowerBuilder specific attributes
for each column in a table.
 Attributes includes edit style, format style,
validation rule, column heading, labels, font
attributes, etc..
 Are stored in PowerBuilder system tables.
 Can be synchronized.

PowerBuilder Online
Http://www.applied-software.com
Courses © Prasad Bodepudi. All rights reserved.
Database Painter
 Database Painter
 Primary & Foreign Keys
 Extended Attributes
 PowerBuilder System Tables
 Database Profiles
 Database Admin. Painter
 ODBC

PowerBuilder Online Courses - by Prasad


Database Painter
 PowerBuilder System Tables
 pbcattbl: Stores font attributes.
 pbcatcol: Stores extended attribute details.
 pbcatfmt: Stores Display format definitions
 pbcatvld: Stores validation rule definitions.
 pbcatedt: Stores edit style definitions.

PowerBuilder Online
Http://www.applied-software.com
Courses © Prasad Bodepudi. All rights reserved.
Database Painter
 Database Painter
 Primary & Foreign Keys
 Extended Attributes
 PowerBuilder System Tables
 Database Profiles
 Database Admin. Painter
 ODBC

PowerBuilder Online Courses - by Prasad


Database Painter
 Database Profile
 Is an ASCII file.
 Stores database connection specific
information --such as user id, database
name, DBMS and other database specific
parameters.
 Used to connect to the database at run-
time & painting time by PowerBuilder.

PowerBuilder Online
Http://www.applied-software.com
Courses © Prasad Bodepudi. All rights reserved.
Database Painter
 Database Painter
 Primary & Foreign Keys
 Extended Attributes
 PowerBuilder System Tables
 Database Profiles
 Database Admin. Painter
 ODBC

PowerBuilder Online Courses - by Prasad


Database Painter
 Database Administration Painter
 Allows executing SQL statements
including stored procedures & triggers
creation.
 Displays query statistics.
 Allows security maintenance.

PowerBuilder Online
Http://www.applied-software.com
Courses © Prasad Bodepudi. All rights reserved.
Database Painter
 Database Painter
 Primary & Foreign Keys
 Extended Attributes
 PowerBuilder System Tables
 Database Profiles
 Database Admin. Painter
 ODBC

PowerBuilder Online Courses - by Prasad


Database Painter
 ODBC
 Open database connectivity developed by
Microsoft.
 Has ODBC manager and driver.
 Manager decides which driver to load and
loads appropriate ODBC driver.
 Driver executes all the SQL statements.
 Driver info is available in ODBCINST.INI file
and in ODBC.INI files.
PowerBuilder Online
Http://www.applied-software.com
Courses © Prasad Bodepudi. All rights reserved.
Database Painter
 Database Painter
 Primary & Foreign Keys
 Extended Attributes
 PowerBuilder System Tables
 Database Profiles
 Database Admin. Painter
 ODBC
Questions? Drop an e-mail at prasad@applied-software.com

The End
PowerBuilder Online Courses - by Prasad

You might also like