Thursday, September 28, 2006
Salary Search Engine!
I caught this link today on digg and thought I'd share for anyone who's not a regular digger. I went to the Salary Search Engine, search for "SQL Server DBA" and input my zip code, and it brought back what I think was a very reasonable salary. I tried a few varieties: "sql server dba", "sql server developer", "web developer" and they all worked. The salaries tended to be on the high side - definitely not the average in my experience for my zip - but still a nice place to see if you are getting paid what you're worth!
Wednesday, September 27, 2006
Help! How to Battle Spam with Outlook 2007
I bit the bullet and "upgraded" to Office 2007 Beta 2 yesterday. It's fine - the pretty colors are nice - but now my spam blocking tool doesn't work. I've used SpamBayes for a few years and it's an amazing spam-eating monster. I love(d) it. Unfortunately the spam filters in Outlook 2007 are not nearly as smart and, worst of all, there is no way to "train" them. Another annoyance is that, if I have 50 messages that I want to mark as spam, I have to right click each message individually and click, "Junk Mail -> Add sender to Blocked Senders". Arrgggghhhhh...
Does anyone have a suggestion for spam blocking in Outlook 2007? Whether it's freeware or buyware, I don't care. I check 25 email addresses a day including several catch-all accounts and, if Outlook 2007 can't keep up, I'll have to go back to Outlook 2003 until a new version of Spambayes comes out.
Help!
EDIT: After I posted this, I found Chris Pirillo's "65 Reasons Outlook 2007 Will Suck". I don't care about all the items on his list but I particularly echo his sentiments for #30. My "Block ed Senders List" will be over 1GB by the end of the year if I right clicked on every stupid spam message and blocked the sender lol.
It just seems that Outlook 2007 has no real improvements over Outlook 2003 regarding spam filtering for me.
Thursday, September 21, 2006
Mary Jo Has a New Address
http://blogs.zdnet.com/microsoft/
So Mary Jo Foley, long-time MicrosoftWatch-er, has moved her blog and left MicrosoftWatch.com. Check out her new address: Mary Jo Foley
Tuesday, September 19, 2006
Sept or Sep? Arrgghhh!
I always forget about this until I have to work with data in the month of September...
------------------------------------------------------------------------------------------------------------------------
Microsoft SQL Server does not think 'Sept 6, 2006' is a date and, if you try to say WHERE TheDate >= 'Sept 6, 2006', it says:
Msg 241, Level 16, State 1, Line 1
Conversion failed when converting datetime from character string.
Try it:
SELECT CAST('Sept 6, 2006' AS DATETIME) -- fails with syntax error
SELECT CAST('Sep 6, 2006' AS DATETIME) -- succeeds
------------------------------------------------------------------------------------------------------------------------
Will you remember next year? I hope I do!
Monday, September 11, 2006
SQL Server Upgrade Assitant Upgraded
http://www.scalabilityexperts.com/default.asp?acti... - Matt Collins from Scalability Experts has posted an update to the SSUA - their SQL Server 2005 Upgrade Assistant. I've worked with it a it and it's a pretty nifty tool. You wire up Profiler to your SQL Server 2000 instance and create a workload file. Once you have the workload file, you can use the SSUA to identify "issues".
Thursday, September 07, 2006
LearnWindows2003.com - Windows 2003 Training and Tutorials ON VIDEO, Windows Server 2003 Video Training, Free Windows 2003 Server Videos
Testing from live Writer...
SQL Server Product Name Generator
<script>Load the above javascript code into a text editor, save it as .html, and load it into a browser :)
var trm = new Array("Web ", "XML ", "Document ", "Event ", "Analytical ", "High Availability", "Clustering "
, "Transaction ", "Performance ", "Optimization ", "Database Engine ", "Mobile ", "Replication ") ;
var sfx = new Array("", "Team Suite", "Developer", "Everywhere", "Express ", "Standard ", "Enterprise ");
function pick(ar) { return ar[Math.round((ar.length-1)*Math.random())]; }
function getProductName() {
var name = "";
name += "SQL Server ";
name += pick(trm);
name += "Services ";
name += pick(sfx);
name += " Edition";
var p = document.getElementById("p");
p.innerHTML = name;
}
</script>
<A href="#" onclick="getProductName()">Get Product Name</a>: <b><span id="p"></span></b>
I'd love to show it here but Blogger doesn't let me post a script tag :(
How to view error messages in sys.messages with SSMS
SELECT * FROM master.dbo.sysmessagesThe "new" way is to use the catalog view "sys.messages":
SELECT * FROM sys.messages; -- no need to write master.sys.messagesIn SQL Server 2000 and 7.0's Enterprise Manager, we could easily view the messages with the GUI. While it wasn't way I preferred to do it, the one advantage was that you could easily see whether or not the error message was logged to the Windows Event Log. The catalog view in SQL Server 2005 gives us the is_event_logged column for this information.
Anyway, I far prefer the new catalog view to the old sysmessages table query simply because everything is right there for you to see - the language, the alert logging info, etc. Here's a helpful query to show you the various languages that SQL Server stores (or can store) error messages:
SELECT *
FROM sys.messages m JOIN sys.syslanguages l
ON m.language_id = l.msglangid
WHERE m.message_id = 3043
I find it strange that it is language_id in sys.messages, the new catalog view, but it is msglangid in sys.syslanguages (also a new catalog view). Oh well!
Technorati Tags: Error, SQL Error, SQL Server Error, SQL Server 2005, SQL Server, Microsoft SQL Server
SSMS Macros? Nope But We Do Have the Command Line
One thing you can do to automate SSMS is to use its command line switches. For example, I modified my shortcut to SSMS to include the -S switch. When I launch SSMS now, it doesn't ask which server to connect to; it auto-connects (using Windows Authentication) to the server.
Another one I like is the -nosplash.
To do this on your box, all you have to do is to locate the SSMS icon, right click on it and select "Properties", then append -S <server name> -nosplash
If you mess up, no problem. You'll receive a prompt with the correct switches and their meanings.
One thing: make sure you have a space between -S and your server name. I don't know whether it's a bug or what but it's certainly inconguous with other SQL Server command-line tools...
Technorati Tags: SSMS, Management Studio, SQL Server Management Studio, SQL Server 2005, SQL Server, Microsoft SQL Server
Wednesday, September 06, 2006
Cool Dolphins and the Moonshot
Awesome picture of the Moon'
Interesting story about dolphins.
Just sharing :)
Sunday, September 03, 2006
The Ultimate Invasion of Privacy - Google Listening In
Technorati Tags: Google, Whigham, Privacy Act, Privacy
A socket operation was attempted to an unreachable host
Has anyone seen this? I'm wondering whether or not this server is being over-used. I'm remoting in as just a regular user so I can't get sysadmin-level counters so I don't know what it is...
Technorati Tags: error, TCP, SQL Server 2005, SQL Server, Microsoft SQL Server
Saturday, September 02, 2006
SQL Server 2005 Clustering and Failover Whitepaper
Technorati Tags: clustering, cluster, SQL Server, SQL Server 2005, SQL Server Clustering, Microsoft SQL Server
I'm frightened - "A future version of SQL Server will disallow usage of '*' in functions and views."
One or more objects is using SELECT * syntax! It is recommended to provide explicit column lists rather than relying on expansion of '*'. A future version of SQL Server will disallow usage of '*' in functions and views.
Holy smokes - I don't know a single developer, good or bad, who doesn't need to use this from time to time yet MSFT is threatening to take it away? What bollocks, to borrow an Engish term that's not quite as offensive as the word I actually wanted to type. Who the heck is MSFT to tell me whether I can program using SELECT * or not?
Leave me alone, Microsoft, and let me code the way that I want to. I mean, of course SELECT columnName1, columnName2, etc... is a better way to code but it's just so laborious to require us to code that way every single time - so unpractical. I write lots and lots of stored procs/views/functions built on system/catalog/dynamic-management views and, for the most part, I use SELECT * because it's more maintanable. If MSFT changes the columns, pshaw - what do I care? SELECT * covers me. Take away SELECT * and I'm left changing my code with every hotfix and service pack.
Arrrgghhhhhhhhhh........................ Leave me alone and let me code.
In peace.
Technorati Tags: Scott Whigham, Whigham, SQL Server, SQL Server 2005, SQL Server, Microsoft SQL Server
Peer-to-Peer Replication in SQL Server 2005
This article - http://www.microsoft.com/technet/technetmag/issues/2006/07/InsideMSFT/default.aspx - talks about how Peer-to-Peer replication with SQL Server 2005 is used internally at Microsoft to implement a type of SQL Server load balancing. An interesting read...
Another good article is here: The Growing Importance of Peer to Peer Replication.
Technorati Tags: Load Balancing, replication, SQL Server, SQL Server 2005, SQL Server, Microsoft SQL Server
How to slipstream SQL Server 2005's Books Online Update
2. Rename the downloaded SqlServer2K5_BOL_Jul2006_v2.msi (or whatever the latest version is) to SqlServer2K5_BOL.msi and copy it to the ...\SQL Server x86\Tools\Setup folder.
3. Run setup.
Thanks to John Paul Cook, a SQL Server MVP out of Houston, TX, for pointing this out. John Paul Cook always has interesting articles/ideas about SQL Server - I suggest you Google his name and read some of his articles.
Thanks, John :)
Technorati Tags: John Paul Cook, slipstream, SQL Server, SQL Server 2005, Books Online, Microsoft SQL Server