in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

Finishing the Alter table statement and some updateable views

Last post 06-09-2008 1:41 PM by Nate. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-09-2008 9:05 AM

    Finishing the Alter table statement and some updateable views

     

    Hi,

    I like the work you have done, a lot. But there are a couple of things preventing me from using it more. Part of the library that I use as database layer needs support for:

    Alter column: Rename a column, drop a column. I know that I can create a temp table to hold the data and create the new table with the new structure, but it is extremely inefficient. Renaming a column should be much more easily done by changing the name of the column in the internal structures, instead of moving data around. Dropping a column should be just a mark, even if the data is still in the file. The data can be eliminated at a later stage during a compact operation invoked by the user.

    Updateable views: it would be very helpful if tables can be partition horizontally, then with a view, link the sister tables. The same way that SQL Server does with partition tables. Even better if the different tables can exist in different files, so when distributing the app, only the appropriate data for the user is distributed.

     Also, is there any way to see the query plan?

     I know that these are relatively big changes, but if they are possible to consider I would really appreciate it. And please let me know if I can help with some tasks.

     Jorge Varas

  • 06-09-2008 1:41 PM In reply to

    • Nate
    • Top 10 Contributor
    • Joined on 08-28-2005
    • Fort Collins, CO
    • Posts 93

    Re: Finishing the Alter table statement and some updateable views

    Hi Jorge

    This site is primarily for the SQLite ADO .NET Provider. While Robert has added a few features to the core SQLite engine it is mostly just a wrapper. The features you are requesting really should be asked here: http://www.sqlite.org.

    Cheers

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems