Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7555269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:33:47+00:00 2026-05-30T11:33:47+00:00

I am generating a Sqlite from Sql Server, to do this I first run

  • 0

I am generating a Sqlite from Sql Server, to do this I first run a script on sql server that returns a string with thousands of lines, like this:

INSERT INTO [Criterio] 
  ([cd1], [cd2], [cd3], [dc4], [dc5], [dt6], [dc7], [dt8],
    [dt9], [dt10], [dt11])
VALUES
  ('FFFFFFFF-FFFF-FFFF-FFFF-B897A4DE6949',10, 20, '', NULL, NULL,'', NULL,
    julianday('2011-11-25 17:00:00'), NULL, NULL);

But it is too slow(I am already using transaction). I did another test using parameters, and I have a big performance improvement.

Does SQLite have any way to pass variables together in an INSERT statament, like sql server do.

Resuming, what I need is to generate a text script to do inserts. But using parameters. SQL Server works using this:

EXECUTE sp_executesql @sqlCommand, N'@city nvarchar(75)', @city = @city
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T11:33:49+00:00Added an answer on May 30, 2026 at 11:33 am

    It´s not possible. I resolved reading the data from SqlServer to a DataTable, then I create a DbCommand with parameters, filling parameters and calling ExecuteNonQuery for each line.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any python packages that help generating SQL queries from variables and classes?
I'm using DBLinq and DBMetal.exe to generate Linq-to-SQL like classes off an SQLite database.
Is there a way of generating POCO classes from a SQLite database? Similar to
I'm generating a pretty big sqlite-file on a server (about30'000 entries, it's about 3mb
I am generating an ear file using Ant Script. I see that script perfectly
I am generating a string from database dynamically which has the same name of
Im generating a file to present to the user for download, but the server
I'm generating some xml files that needs to conform to an xsd file that
I'm currently generating an 8-character pseudo-random uppercase string for A .. Z: value =
I'm generating a self-signed SSL certificate to protect my server's admin section, and I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.