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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:34:48+00:00 2026-05-11T11:34:48+00:00

Ideally I would have a isActive field in the table to indicate if a

  • 0

Ideally I would have a ‘isActive’ field in the table to indicate if a record is active, but it would involve changes in multiple stored procedures to make the field do what it is meant to do.

I came up with a dirty trick, and kind of tempted to carry it out. Since the result set is generated by a few joins, I was thinking of slightly changing the foreign key in one of the tables by appending an ‘*’, ‘x’, or whatever symbol that doesn’t usually end up in a key.

Is there anything I should be afraid of?

  • 1 1 Answer
  • 1 View
  • 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. 2026-05-11T11:34:48+00:00Added an answer on May 11, 2026 at 11:34 am

    One way to have a ‘not active’ state without changing all the other stored procedures is to MOVE the record to a ‘non active’ table while the record is not active.

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

Sidebar

Related Questions

In my base class I have a generic method (ideally this would be a
I have a route like following, ideally I would like it to match: domain.com/layout/1-slug-is-the-name-of-the-page
I have an IEnumerable<KeyValuePair<string,string>> , from which I would like, ideally, an anonymous object
Ideally I would like intellij to work with this but just getting them to
I am developing a firefox extension and ideally would be able to get the
I would like to animate movement on a SurfaceView . Ideally I would like
I'm writing a Python+Qt4 application that would ideally need to pop up a window
and it's linked to a 'confirm comment deleted page. Ideally I would like it
What would be the best way (ideally, simplest) to convert an int to a
Question What would be a good (ideally, technical) reason to ever program some non-trivial

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.