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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:17:16+00:00 2026-06-14T10:17:16+00:00

Is there a way to reverse a Yes/No field during a select statement in

  • 0

Is there a way to reverse a Yes/No field during a select statement in Access? I know how to do so during SQL but that does not fly in Access.

Here is the scenario:

I’m migrating data from an Access DB to an SQL DB. A Yes/No field in said data in Access is obsolete_flag. In SQL correspondingly, I have IsActive. The value needs reversed for SQL since IsActive implies it to be true whereas obsolete_flag would show it is false.

Any suggestions would be appreciated. Thanks.

Kindest Regards,
Chad Johnson

  • 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-14T10:17:17+00:00Added an answer on June 14, 2026 at 10:17 am

    OK, the easiest way would be to just add 1 to the value. This will reverse the yes/no field and make it compatible at the same time.

    SELECT obsolete_flat+1 AS IsActive
    

    This will change Access False values (0) to SQLServer True (1), and Access True values (-1) to SQLServer False (0).

    You guys were just over thinking it.

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

Sidebar

Related Questions

Is there a way to reverse the SQL Like operator so it searches a
I have seen that there is a very convenient way to reverse ArrayList like
Is there way that I can read the file from remote server using fopen
Is there a way to turn a jpg to string, reverse of imagecreatefromstring ?
Is there a way that a hacker or someone who wants to copy my
Not that I would want to use this practically (for many reasons) but out
Is there a way to reverse the url from a parsed url? $url =
Without going through the char sequence is there any way to reverse String in
Possible Duplicate: How can I reverse a NSArray in Objective-C? Is there a way
Is there any way to have a reverse proxy using http basic Authentication in

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.