Sorting IP AddressesCommented on: 9 years ago
(February 21, 2005)
We can sort first by positions of dots and for ip addresses with same dot positions by length if and ip:
SELECT * FROM IPs
CHARINDEX('.', ip, CHARINDEX('.', ip) + 1...
Logical Puzzle - 18 Jan 2005Commented on: 9 years ago
(January 28, 2005)
No matter how we cut the block, we always need 39 cuts.
The absolute minimum, but violating the request for not allowing cutting multiply layers simultaneously is 7+4=11 cuts. If we are...
Recently, I've been working with a consulting client to help them tame CPU usage. Typically, they're clocking over 20,000 queries and operations per second on their e-commerce SQL Server, but ran into an issue where CPU started spiking up above 90 percent for sustained periods of time....More
What should most database administrators be doing on a regular basis? Here's a comprehensive list from Michael K. Campbell of many of the things DBAs typically do on a daily, weekly, monthly, and yearly basis....More