View previous topic :: View next topic
|
Author |
Message |
madhand
New User
Joined: 04 May 2005 Posts: 10
|
|
|
|
Hi Friends,
pls let me know whether we can create an Index on a DB2 view?
Thanks
Madhan. |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
No,
Quote: |
table-name
Identifies the base table or declared temporary table on which the index is created. The name must identify a table that exists at the current server. (The name of a declared temporary table must be qualified with SESSION.) The name must not identify a created temporary table.
|
This should have been posted in the DB2 forum,
Dave |
|
Back to top |
|
|
ragshere
New User
Joined: 20 Dec 2004 Posts: 70
|
|
|
|
Hi,
You can not create a index on the views. We can create index only on tables.
Thanks
Rags |
|
Back to top |
|
|
|