CHAPTER 3 Working with Database Objects
127
❖
To create an unenforced foreign key in Sybase Central:
1
Connect to the database.
2
Click the Tables folder for that database.
3
Click the table holding the primary key, and drag it to the foreign key table.
4
When the primary key table is dropped on the foreign key table, the
Foreign Key Wizard is displayed, which leads you through the process of
creating the foreign key.
For more information, see the Sybase Central online Help.
For more information about using primary and foreign keys, see Chapter 7,
“Ensuring Data Integrity”
Table information in the system tables
All the information about tables in a database is held in the system tables. The
information is distributed among several tables. For more information, see
“System Tables” in Adaptive Server IQ Reference Manual.
You can use Sybase Central or DBISQL to browse the information in these
tables. Type the following command in the DBISQL command window to see
all the columns in the SYS.SYSTABLE table:
SELECT *
FROM SYS.SYSTABLE
❖
To display the system tables in Sybase Central:
1
Connect to the database.
2
Right-click the database, and select Filter Objects from the pop-up menu.
3
Select SYS and OK.
4
When you view the database tables or views with Show System Objects
checked, the system tables or views are also shown.
Working with views
Views are computed tables. You can use views to show database users exactly
the information you want to present, in a format you can control.
Summary of Contents for Adaptive Server IQ 12.4.2
Page 1: ...Administration and Performance Guide Adaptive Server IQ 12 4 2 ...
Page 16: ...xvi ...
Page 20: ...Related documents xx ...
Page 40: ...Compatibility with earlier versions 20 ...
Page 118: ...Troubleshooting startup shutdown and connections 98 ...
Page 248: ...Importing data by replication 228 ...
Page 306: ...Integrity rules in the system tables 286 ...
Page 334: ...Cursors in transactions 314 ...
Page 396: ...Users and permissions in the system tables 376 ...
Page 438: ...Determining your data backup and recovery strategy 418 ...
Page 484: ...Network performance 464 ...
Page 500: ...System utilities to monitor CPU use 480 ...
Page 514: ...Characteristics of Open Client and jConnect connections 494 ...
Page 536: ...Index 516 ...