in

System.Data.SQLite

An open-source, enhanced version of the SQLite database engine for Windows

Improved error messages on multi-part sql execution

Last post 09-29-2007 1:31 PM by Robert Simpson. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-26-2007 2:37 PM

    • Sam_
    • Top 10 Contributor
    • Joined on 02-14-2007
    • Washington DC
    • Posts 63

    Improved error messages on multi-part sql execution

    It would be really nice if SQLite could include an index number of the part of the sql statement when an error occurs in a multi-part sql statement.  For example, if I run the following as one query:

     

    INSERT INTO X VALUES (1);

    INSERT INTO Y VALUES (2);

    INSERT INTO Z VALUES (3);

     

    and let's say table Y doesn't exist so it errors out, it'd be nice if the error message included some indication of which part of the query caused the error.  

    Thanks,

    Sam

     

    We're hiring! B-Line Medical is seeking .NET Developers for exciting positions in medical product development in MD/DC. Work with a variety of technologies in a relaxed team environment. See ads on http://careerbuilder.com.
  • 09-29-2007 1:31 PM In reply to

    Re: Improved error messages on multi-part sql execution

    I'm not really sure this is possible, but I'm sure I can come up with something clever in a future release.

    Robert

     

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