A while back someone posted on the ITKE forum asking what Indexes where, and what they were used for. I put up a quick answer, but I felt that it deserved a more in depth blog post; so here it is.
I’m curious about how various people are handling source control in their environment for the database? SSIS, SSRS, etc are all easy. They plug directly into the normal source control providers. But how do you handle SQL object changes like table changes, and stored procedure changes?
So you’ve saved a plan guide into your SQL server, and you want to look at the plan. You can Query the sys.plan_guides catalog view and see the data exactly as you entered it, which works fine if you just have a hint in there. But if you have a full XML query plan that isn’t going to do you a lot of good since SSMS isn’t going to want to show you the all the XML as it is probably longer than it wants to display.
This little query should help you with that. You may need adjust it slightly to account for extra spaces in your plan guide, I tried to account for double spaces, but if you have more than two spaces anywhere in the top part you’ll need to tweak it.
Don’t forget that the SoCal Code Camp is this weekend on the Cal State Fullerton Campus.
The Code Camp is a free training session with about 100 sessions being held by local IT Professionals for local IT Professionals (or anyone else who wants to come and listen).
If you are looking for database sessions, last time I looked there were 9 SQL Server sessions being presented.
See you at the code camp.
Well, I’ve had Windows 7 for a week now, so I think that its time for an update. Continued »
Apparently the computer virus Win32/Conflicker.B is still running around the net causing all sorts of problems.
In order to kill this threat Microsoft has done a few things.
Back in October they released Microsoft Security Bulletin MS08-067.
There is a KB Article specifically about the virus it self.
Microsoft is recommending that you immediately apply MS08-067 to all unpatched systems to prevent the threat.
With the SoCal Code Camp this weekend, I’ve managed to get my slide decks put together early enough to get them posted well in advance this time. Continued »
I have a gripe that I need to air.
I can’t stress this enough. Actually reading the error messages when there is a problem is key to solving the problems.
Most of the time (I admit, not all the time) SQL Server will give you some very useful information about what to do next.
We use Cisco VPN Software to access the office from home, Starbucks, etc.
There are several threads on the subject on the net (I used this one). There are a couple of workarounds which are mentioned including backing up the ndis.sys file and putting it back after the install but before the reboot. (This didn’t work for me, my laptop still blue screened.)
Another fix was to run the installer in Administration mode (I opened a command prompt using the “Run As Administrator” from the right click) then ran the installer. (This did work for me.)
One annoying thing was when I imported our PCF file the group password wasn’t imported. I had to use a Cisco VPN Client Password Decoder website to get the password from the PCF file to put into the address book. Everything worked fine after that (at least so far).
Hopefully someone else finds this useful.