Problem inserting into a view

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rski
    Recognized Expert Contributor
    • Dec 2006
    • 700

    #16
    Originally posted by priyan
    I deleted all the rule and created a new one and when execute insert statement it is showing me the same error......
    I believe u created only this one rule (and deleted all the others)

    CREATE RULE emp2_ins AS ON INSERT TO empp
    DO INSTEAD
    INSERT INTO employee VALUES (NEW.name,now() ,NEW.id);

    What does \d empp show

    Comment

    • priyan
      New Member
      • Aug 2007
      • 54

      #17
      Originally posted by rski
      I believe u created only this one rule (and deleted all the others)

      CREATE RULE emp2_ins AS ON INSERT TO empp
      DO INSTEAD
      INSERT INTO employee VALUES (NEW.name,now() ,NEW.id);

      What does \d empp show

      Hi
      Thank u very much......It is now working correctly...... Once again thanks a lot for patiently answering all my questions and clearing my doubts......

      Comment

      Working...