What's New @teqKnowledgy?
Joomla! Version 2.5 Includes Support for SQL Server
Articles
Written by Todd E. Qualls   
Tuesday, 24 January 2012 22:04


It looks like Joomla 2.5 has hit the virtual shelves and there is a piece of great news if you are a Microsoft dev like me. It looks like 2.5 will run on SQL Server backends in addition to MySQL.

I'm guessing that a transition to SQL Server is not going to be all that easy, but it's nice to finally have the option.  It will sure make database backups a lot easier for me once I make the switch though. I've already got my other SQL Server DB backup jobs locked and loaded. Not being as familiar with MySQL tools, I don't have the process very automated, so it's largely a manual kind of deal for now.

The bad news for me is that I am going to have to migrate from Joomla! 1.5.X to 1.6, and then from 1.6 to 1.7 before I can even think about 2.5. There is no direct upgrade path to 2.5 from 1.5.X!

Grrrrrrrrrrrr!

 

Last Updated on Tuesday, 24 January 2012 22:05
 
Helpful SQL Server Article on Indexing Practices
Articles
Written by Todd E. Qualls   
Thursday, 19 January 2012 09:32

I'm an ASP.Net and SQL Server developer, not a DBA. Sure, I can write very complex select statements, stored procs and even SSIS packages that do lots of really cool stuff.   However, when it comes to the wheres and whys of database administration (tasks like creating and managing indexes), I'm a little out of my element...

...okay, a lot out of my element.

Today, I was looking at the schema for a table used in my current web app project; call it table "Clubs." Now, table Clubs only has about 400 records in it, but it does contain three "Officer" columns that reference a much larger table (table "Members" with 300,000+ records and counting). Since I inherited this database from multiple other solo contract developers spanning 10 years or so with little to know design consistency over that term, I was not surprised to see that the three Officer columns in table Clubs did not have foreign key relationships established with table Members.  Well, fixing that oversight is a no-brainer even for me.

After I created the foreign keys, I further noticed that indexes were not created for the foreign keys automatically. I just assumed that since you generally want an index for a foreign key to aid in query performance, that the indexes would be created automatically. Nope. Not with SQL Server, anyway.

So after a quick Google, and a brief stop at Stack Overflow (a useful post in and of itself), I was pointed towards this article on SQL Server Index practices by Diane McNurlan. Not only did it set me straight on the foreign key index issue mentioned above, but I gleaned several other interesting things to keep in mind when I find myself in the surrogate DBA role (a pretty common situation when a developer finds himself or herself working in small companies).

I won't go into all the gory details (a lot of it is, quite frankly, still over my head: Non-Sargable Where Clauses, WTF?!!). It's a short article. Check it out for yourself.

Thanks, Diane!

Last Updated on Friday, 20 January 2012 15:14
 
Tell Congress You Don't Want SOPA or PIPA: Keep the Internet Open and Free
Articles
Written by Todd E. Qualls   
Wednesday, 18 January 2012 08:40
Last Updated on Wednesday, 18 January 2012 14:46
 
Rotate 90 Degrees For HTML/jQuery Productivity Boost
Articles
Written by Todd E. Qualls   
Tuesday, 10 January 2012 14:14

My current client has been gracious enough to provide me with a nice 20", 1280x1024 monitor for my day-to-day use in my luxury office cubicle.

Yesterday, I happened to notice that the monitor can rotate 90 degrees for use in a "portrait" orientation. So on a whim a flipped the monitor and changed my display settings in Windows to match (1024x1280) and...

Holy Crap!

An unexpected productivity boost..

This is really helpful in writing jQuery and HTML markup because I can split the screen in half in Visual Studio  and view jQuery at the top and HTML at the bottom. Then I still have a great deal of screen real estate allocated for each pane.

FTW!

 

Last Updated on Wednesday, 18 January 2012 14:49
 


 

teqKnowledgy on Twitter


Login