I can not figure out what is the difference between schema and database in db2 I find this SQL so confusing for example :
CREATE TABLE schema1.table1
....
....
....
IN database1.tabspace1
Can we say that the database in this case contains the tabspace whereas the schema contains the tables?
Best Answer
This simple question has caused an unusual amount of debate, and I feel compelled to quote an authoritative source.