• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

insert rows into view

 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anyone knows that if I can create a view with multitables, can I insert rows into it ?
Single table can do, how about multitables?
Thanks
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi sophi,
you can create view with multitable,
the view is created by select statment and you can include multitable in select statment by inner join or you can join the tables by where clauses.
[ July 05, 2003: Message edited by: Maher Elsayd ]
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
you can indeed create a view with more than one table. About every SQL SELECT statement you can imagine can become a view. However not all views can be inserted on. If i remember correctly you can only insert on views based on one table and only i you use all the mandatory column and you also have to create the view WITH CHECK OPTION.
Hope i remembered it correctly.
For information just look in the online documentation on TechNet.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic