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 8582837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:23:43+00:00 2026-06-11T21:23:43+00:00

I use Firefox plugin SQLite Manager execute my SQL: declare @id int declare @lon

  • 0

I use Firefox plugin SQLite Manager execute my SQL:

    declare @id int
    declare @lon float
    declare @lat float
    set @id=5
    set @lon=118.476000
    set @lat=32.033720
    while @i<=10000
      begin
        INSERT INTO njdm 
          (ID,dalei,xiaolei,hanyi,level,longitude,latitude) 
        VALUES 
          (@id, 5, 10, "地名描述",1,@lon,@lat)

        set @id=@id+1
        set @lon=@lon+0.000010
        set @lat=@lat+0.000010
      end

And get the error:

    [ near "declare": syntax error ]
    Exception Name: NS_ERROR_FAILURE
    Exception Message: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)                          [mozIStorageConnection.createStatement]

any help?TIA!

  • 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-06-11T21:23:44+00:00Added an answer on June 11, 2026 at 9:23 pm

    SQLite supports only SQL operations, it does not directly support variables, variable assignments, looping, or other program constructs. You will need to write this code in some other language that supports those constructs, then send the commands to SQLite either by constructing dynamic SQL or by using one of the SQLite support libraries associated with your selected language.

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

Sidebar

Related Questions

When creating a SQLite database (I'm using the SQLite Manager Firefox plugin), I naturally
i'm use selenium. i use it by using firefox plugin. but i have problem
I use a Firefox plugin that can refresh the browser window every X seconds.
I currently use Chrome/Firefox for my web development. Is there a plugin, or am
Is it possible to create Selenium tests using the Firefox plugin that use randomly
There is a FireFox plugin called greasemonkey with which you can execute some piece
Is there a Firefox plugin I can use to help automate multiple searches? i.e.
I'm trying to create a Firefox plugin and I would like to use some
I use Firefox as default browser in my computer. I need to develop the
I can use FireFox and FireBug, in a pane, I can open a .css

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.