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

Create an SQL table over a file

I am trying to create an SQL table over a file, but I receive the error message: SQL7008-return code= 10. Out of all the possible reasons given, I think it must be something to do with the ASPs, but don't quite understand what that is alluding to. Can you shed some light on this?

Hard to say for sure without seeing your CREATE TABLE statement, but my guess would be that you're creating a foreign key constraint as part of your table definition and that foreign key constraint is referencing a table that resides in another ASP. The more common case is that people are trying to create a table in QTEMP with a primary key constraint.

==================================
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)

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close