Can we create sequence to a View??

Questions by rajanipriya   answers by rajanipriya

Showing Answers 1 - 10 of 10 Answers

sankardotb

  • May 30th, 2006
 

S. We can create sequence to a view. If the view have writtable permission then the new values are Inserted/Updated/Deleted into TABLE.

  Was this answer useful?  Yes

sequence is a independent object . It has no relation with table/view . its matter of use. where is being used because in general sequence is used for generating a sequenceal number ( primary number).

example:

create sequnec my_seq

start with 101

increment by 1

-- and other perameter

it has no direct relation with other objects

  Was this answer useful?  Yes

suganya

  • Nov 30th, 2011
 

no....because sequence is used for creating the integer sequence values only at the time of table creation...
but view is a subset of data for the base table.....so cant create the sequence for the view

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions