I was trying to be productive and did a quick Google search when I noticed that the SERPs (search engine results pages) had just gotten a facelift. Apparently not everyone is seeing this yet, so Google is probably slow-releasing these changes, but here is a preview!
Screen-shot #1 shows the new, clean header with side navigation:
This second screen-shot shows the updated (and more colorful) pagination:
I like it. It appears that location-based search will play a larger role in upcoming search results, as the currently set location is directly under the search box.
Sorry, China, but you probably won’t get to see the new style anytime soon. :/
If you have tried to install the 64-bit version of SQL Server Management Studio on Vista 64-bit, then you have probably run into the following error:
Product: Microsoft SQL Server Management Studio Express — The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 29506.
The problem is that User Access Controls (UAC) interferes with the installation process and causes it to fail. In order to get around the UAC issue, follow these few simple steps:
- Save the SQL Server Management Studio MSI file to, say, “C:\temp”
- Go to Start > All Programs > Accessories
- Right-click on “Command Prompt”, and click “Run as Administrator”
- Once you open the command prompt, browse to “C:\temp”
- Run the MSI file by typing in the name of the file and hitting Enter
The installation will run using the administrator privileges inherited by the command prompt.
You should now be free of any error code 29506. Good luck!
Most articles on removing duplicate rows from a MySQL table involve 3 steps, but the following query is what I use for purging dupe records in one simple query.
DELETE FROM `myTable` WHERE id NOT IN (SELECT t1.id FROM (SELECT id, groupByColumn FROM `myTable` ORDER BY id DESC) as t1 GROUP BY t1.groupByColumn)
– “myTable” is the name of the table with duplicate rows
– “id” is the name of the primary key identifier in “myTable”
– “groupByColumn” is the name of the column used to differentiate records as duplicates
Example: Table of Videos with the duplicate match being made on the “title” field.
DELETE FROM `videos` WHERE id NOT IN (SELECT t1.id FROM (SELECT id, title FROM `videos` ORDER BY id DESC) as t1 GROUP BY t1.title)
It’s a good SQL query to save or bookmark for those times when you need do some maintenance or cleanup during development.