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

  • Home
  • SEARCH
  • 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 8812917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:42:55+00:00 2026-06-14T03:42:55+00:00

I am using MS Access as a database for a school project. The following

  • 0

I am using MS Access as a database for a school project. The following is my query:

public static string qry4 = "update INTERNETSETTINGS set password =  @password , url = @url , databasename = @databasename , port = @port , username = @username";

It is giving me the following error: Syntax Error in Update Statement

Command.Parameters.AddWithValue("@url", urlBox.Text.ToString());
Command.Parameters.AddWithValue("@databasename", databaseBox.Text.ToString());
Command.Parameters.AddWithValue("@port", portBox.Text.ToString());
Command.Parameters.AddWithValue("@username", userBox.Text.ToString());
Command.Parameters.AddWithValue("@password", passwordBox.Text.ToString());

It is making me angry because every thing is ok and right on target but still I am getting the error, but when I remove password from query it works fine. Please Help.

  • 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-14T03:42:56+00:00Added an answer on June 14, 2026 at 3:42 am

    Most likely, password is a reserved keyword. Place it in braces…

    update INTERNETSETTINGS set [password] = @password...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am doing project in vb.net using ms access database I used one query
I have the following problem in a Database using Access 2007 as front end
Im using this code to connect to access 2007 database : public void RetrieveData(){
I am using MS Access Database. Now I have to update a particular cell
I have the following code for using an access database OleDbConnection con = new
Using Access Database Table ID Time 001 100000 001 100005 001 103000 001 102500
Using Access 2003 Database Table1 Intime Outtime WorkTime OverTime 08:00:00 19:00:00 09:00:00 02:00:00 09:00:00
USING MS ACCESS 2003 How to check is null value in the access database?
I'm using MS-ACCESS database. From the prject I use and made some other questions
I am using Microsoft Access database for storing data. In that, I stored date

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.