Improve company productivity with a Business Account.Sign Up

x
?
Solved

how make data unsearchable in database

Posted on 2008-10-04
1
Medium Priority
?
424 Views
Last Modified: 2008-10-04
I am making a job poratl i am looking for a code or concept by which a user can make him unsearchable from recruiter
0
Comment
Question by:raboy007
1 Comment
 
LVL 39

Accepted Solution

by:
BrandonGalderisi earned 2000 total points
ID: 22643293
Add a field to the user table (IsSearchable bit not null default 1) and change your queries to only return items that are IsSearchable=1.  Make sure it's indexed.  Anyone who you don't want returned, set them to 0.
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question