Skip to site navigation (Press enter)

Re: [sqlite] how to COPY FROM stdin in 3.x?

Darren Duncan Wed, 04 May 2005 13:49:20 -0700

At 1:27 PM -0700 5/4/05, scott wrote:
I can rewrite this to do individual inserts, but would like to find out whether there's a better workaround/idiom for this.

If you are going to use an INSERT statement, then your usage is a prime candidate to use prepared statements with. Your insert statement is parsed once and then the actual data insert is relatively little work and performs quickly. I believe this sort of activity is what happens to implement the you wanted anyway. -- Darren Duncan
  • Previous message
  • View by thread
  • View by date
  • Next message
  • Re: [sqlite] how to COPY <table> FROM stdin in 3.x? Darren Duncan
    • Re: [sqlite] how to COPY <table> FROM stdin in... D. Richard Hipp
      • Re: [sqlite] how to COPY <table> FROM stdi... Patrick Dunnigan
        • Re: [sqlite] how to COPY <table> FROM ... D. Richard Hipp

Reply via email to

The Mail Archive
  • The Mail Archive home
  • sqlite-users - all messages
  • sqlite-users - about the list
  • Expand
  • Previous message
  • Next message
sqlite-users
  • The Mail Archive home
  • Add your mailing list
  • FAQ
  • Support
  • Privacy
  • p06210200be9ee53d451c@[192.168.1.101]