'Make SQL Rows invisible with a query/code
I have an SQL database that I am interacting with via Java, I was wondering if there was an easy way to make a specific row hidden/invisible through Java other than just adding a "hidden" bit field to the table.
I want to be able to potentially toggle it to be visible again later.
e.g
| ID | Name |
|---|---|
| 1 | Bob |
| 2 | Geoff |
I want to have a line of code that will run so that only Bob will be visible as Geoff is hidden, but then be able to run a similar line of code and bring Geoff back into view. Is this possible?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
