If you do use any sort of recreation drugs then you should always be prepared for a drug test. You should not let the fun that comes from doing drugs affect your professional life. If you are ever asked to take a drug test at the office and you have done something like cocaine, then you could get into serious trouble. You should always have an idea of how long it takes for various tests to not be able to trace any drug usage.
For something like cocaine, different tests can show proper results for various amounts of time. If you want to know how long cocaine stay in body then you will need to understand that through different tests you are able to detect the presence of something like cocaine for various time periods. Depending on how you take the cocaine, different tests will be able to detect the cocaine in the body for different times after consumption. For example, the most common test that is taken for detecting cocaine is the saliva test. This test has person run a swab inside their mouth which is then tested for the presence of cocaine. This test can be detected about 2 to 4 days after intake. It also become detectable after a mere 5 to 10 minutes.
On the other hand there are most specific tests like a blood test or a urine test. The test for these two can become detectable after a few hours, around 5 to 6 hours after consumption. the remains of the traces of cocaine also stay there for a few days. Could even stay up to an entire week. To prepare for a test like this you should make sure none of the cocaine is taken at least a week before you have the test.