Q
Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

Create tables with SQL

I am trying to create tables with SQL. When I create the table, I'm receiving an error SQL7905. For two of the tables I added a foreign key. There is no problem inserting or selecting information from those tables, but I cannot update records or delete records. If I try, I receive the error message SQL7008. Could you please help me to solve this problem?

The foreign key definition includes update and delete rules. The SQL7008 error indicates that the update and/or delete rule that you selected requires the associated tables or physical files to be journaled. If you don't want to journal, then you might want to consider using the RESTRICT rules.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Search400.com's targeted search engine: Get relevant information on DB2/400.

The Best Web Links: tips, tutorials and more.

Check out this Search400.com Featured Topic: Database issues resolved


Dig Deeper on DB2 UDB (universal databases)

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close