<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Updatable View</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Updatable View</description>
  <pubDate>Thu, 16 Jul 2026 12:40:33 -700</pubDate>
  <lastBuildDate>Fri, 28 Jan 2011 12:54:00 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2471</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Updatable View : Hi Greg;It sounds like you&amp;#039;re...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2471&amp;PID=9826#9826</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2471<br /><strong>Posted:</strong> 28-Jan-2011 at 12:54pm<br /><br />Hi Greg;<div><br></div><div>It sounds like you're missing an alias somewhere in your SQL statement when building the view. You can read the following links to see the various ways you can miss an alias.</div><div><br></div><div><a href="http://stackoverflow.com/questi&#111;ns/1888779/every-derived-table-must-have-its-own-alias" target="_blank">http://stackoverflow.com/questions/1888779/every-derived-table-must-have-its-own-alias</a></div><div><br></div><div><a href="http://www.codeguru.com/forum/showthread.php?t=420682" target="_blank">http://www.codeguru.com/forum/showthread.php?t=420682</a></div><div><br></div><div><a href="http://bytes.com/topic/mysql/answers/877061-error-every-derived-table-must-have-its-own-alias" target="_blank">http://bytes.com/topic/mysql/answers/877061-error-every-derived-table-must-have-its-own-alias</a></div><div><br></div><div>A Google search using the following keyword "<span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Every derived table must have its own alias" also yields many results.</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Hope this helps.</span></div>]]>
   </description>
   <pubDate>Fri, 28 Jan 2011 12:54:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2471&amp;PID=9826#9826</guid>
  </item> 
  <item>
   <title>Updatable View : I am getting the following error...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2471&amp;PID=9823#9823</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 2471<br /><strong>Posted:</strong> 28-Jan-2011 at 10:54am<br /><br />I am getting the following error message when I try to udate an Entity.&nbsp; The entity is created from a View, and the back end is MySql.&nbsp; The view is a very simple view, based off one table.&nbsp; It just has fewer fields than the base table, and it has a whereclause to limit the items (where IsDeleted = fasle).&nbsp;&nbsp;The view is updatable per the MySql rules.<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Entity Save Error: System.Data.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---&gt; MySql.Data.MySqlClient.MySqlException: Every derived table must have its own alias at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32&amp; affectedRow, Int32&amp; insertedId) at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32&amp; affectedRows, Int32&amp; insertedId) at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId) at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader() at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() at MySql.Data.Entity.EFMySqlCommand.ExecuteNonQuery() at System.Data.Mapping.Update.Internal.DynamicUpdateCommand.Execute(UpdateTranslator translator, EntityConnection connection, Dictionary`2 identifierValues, List`1 generatedValues) at System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter) --- End of inner exception stack trace --- at System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter) at System.Data.EntityClient.EntityAdapter.Update(IEntityStateManager entityCache) at System.Data.Objects.ObjectContext.SaveChanges(SaveOptions options) at IdeaBlade.EntityModel.Edm.EdmSaveExecutor.ProcessSaves(IEnumerable`1 groupsByType) at IdeaBlade.EntityModel.Edm.EdmSaveExecutor.SaveWithinContext() at IdeaBlade.EntityModel.Edm.EdmSaveExecutor.Save(DataSourceResolver dataSourceResolver, IDataSourceKey dsKey, SaveWorkState workState)</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>&nbsp;</DIV><DIV>Greg</DIV>]]>
   </description>
   <pubDate>Fri, 28 Jan 2011 10:54:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2471&amp;PID=9823#9823</guid>
  </item> 
 </channel>
</rss>