Connectify Mobile Hotspot

A friend and I wanted to play a LAN game at work using our Kindle Fires. The problem is that Kindle Fire is wifi-only, and we didn’t have a wireless network available. First we tried using our Android phones. (In retrospect, this would’ve worked, but we unknowingly had different versions of the game.) The next thing I tried was to find software that would allow me to use my laptop as a mobile hotspot. And that’s when I found a great little application called Connectify.

With Connectify, you create a virtual hotspot that you can connect your devices to. You can choose to share your internet connection–an AMAZING feature for Kindle Fire owners–or simply act as a local network. For my LAN gaming needs, we chose to create a non-internet-sharing hotspot, and it worked fantastically. You can use the application for free or upgrade to the Pro version for $30 to get some additional functionality.

I definitely recommend checking it out!

Dear WP7, I’m in love with Android

Ever since the 2010 PDC when I got my first Windows Phone 7, I’d been in love with it. I was coming from a Blackberry and was thrilled with everything I was getting–Zune, local scout, a decent camera, the UI.

Buuuut there were some things that I wasn’t so happy with, too. The biggest thing for me was the availability and quality of apps. Sure, there are some great apps. But there’s a lot of essential apps that aren’t available, like Pandora and Google+. The “standard” apps that were available–like Facebook and Twitter–were glorified bookmarks and didn’t have nearly the functionality that my wife had with her Android. The thing that finally pushed me over the edge was seeing a co-worker use Android’s mobile hotspot while on the road at a customer site. That justified a new phone platform right then and there.

So I’ve switched from my Samsung Focus to Samsung Epic 4g Touch, and I must say, I’m thrilled! What do I love about it? All the apps are great. I have two GPS solutions (Google Navigation & TeleNav) that are WAY better than what I had with WP7. I have unlimited data, which is incredible. (I know this isn’t a WP7 flaw, but it’s something that I didn’t have with AT&T that I now enjoy with Sprint.) I love having access to Pandora again. Oh, and MOBILE HOTSPOT!!

Is there anything I miss about my Windows Phone? Not a lot, but there are some things. The integration with SkyDrive and Office was nice. I love OneNote, so I liked having it as an app that would sync automatically to the web. The battery life was great. Battery life is what I was worried most about before switching. My wife’s EVO 4g has pretty sad battery life, but my E4GT seems decent.

So, WP7, we had a good run together, but my heart now belongs to Android. The E4GT is the everything I’ve ever wanted in a phone, and I plan on sticking with Android for the foreseeable future.

Cross-Server Mass Inserts with SSIS

I only recently learned about SSIS packages, a feature that was introduced long ago with SQL Server 2005. They were presented to me as a solution to a customer problem that required millions of records from separate vendor databases to be archived and up-to-date in a single location. I wasn’t the brains behind that solution, but I had a similar, less-business-critical situation and I decided to give it a shot.

There’s a small learning curve, but after a few hours I was able to extract hundreds of thousands of records from a database on one server and insert them into a different table in a different database on a different server. One of the most exciting parts is that it was able to do all of that in about 10 seconds!

I was so impressed with what I’d accomplished that I wanted to document my journey in this mini-tutorial. Disclaimer: I’m by no stretch any sort of expert with SSIS nor do I claim to be any sort of SQL guru–I’m just a dude trying to move some data.

I started by creating my extraction query in SQL Server Management Studio. I actually started by using SSMS’s “script as INSERT” feature on my destination table and evolved that into my data extraction query. The nice thing about that approach is that the column mapping for the insert will be handled automagically by SSIS. I didn’t know that at the time, but it worked out well!

Once I had my SQL extraction query, it was time to start with the SSIS:

  1. Open SQL Server Business Intelligence Development Studio from Start > All Programs > SQL Server 2008
  2. Create new project
  3. Business Intelligence Projects > Integration Services Project

When the project opens, you have a canvas-like screen with several tabs at the top. One of the things that I did not realize right away is that toolbox items change depending on which tab you’re on. Since I wanted to move data between databases, I eventually found and decided to use the Data Flow Task. I dragged it from the toolbar onto the design surface of my Control Flow. Double-clicking the Data Flow Task took me to the Data Flow tab, where I added the meat.

Since I was extracting data from one database to be inserted into another, the logical step was to figure out how to extract that data. From the Data Flow tab, I found a OLE DB Source control in the toolbox. I double-clicked the control was it was on the design surface and was able to add my database connection and provide the SQL statement I wrote previously as the source. Pretty easy!

There was another control in my toolbox called OLE DB Destination–sounds perfect. Once again, I was able to double-click the control from the design surface to access properties like database connection and destination table. The final step was to drag the arrow from OLE DB Source to OLE DB Destination. I ran the package using the standard Visual Studio debugger controls, and it worked great!

The only other cool thing I found was that I could run the package from outside of Visual Studio, and I was given the ability to do things like update database connections. That seems great for package re-usability and sharing! I’ve definitely only scratched the surface of SSIS, but I will certainly keep it in mind for future problems!