Tuesday, May 22, 2007

DTS -- My learnings today

Today I wanted to schedule a data update process to be processed every month for the table I created using DTS last month.

I wanted to populate a brand new database from an exisitng database. I thought I would just schedule a package with a few SQL queries to populate the different tables in the new database. But before I proceededI wantedto find out an efficient and best way to do it.

So I posted my questions in two forums. This is what I found out from the experts:

Before you decide on setting up the DTS package there are several aspects to consider.

Do you want to recover the database from a backup when something goes wrong?
Do you want to just reload everything when something fails?
Do you want to save logging information so that you can recover the database?

Based on the answers to these questions, the best way to create a DTS package for my scenario is to create the tables with the structure and then create the DTS package using many Data Driven Query Tasks that contains the SQL statemetns of select, Insert and Update depending on whatever the case may be.

DTS is an excellent tool to schedule population of data into a database.

Monday, May 21, 2007

SQL query to get Month Name for today

I wanted to insert the month name of the current date into a table using a SQL query.

I first thought that I could achieve this by simply using the monthname function. But when I typed that in the SQL Query analyser, the error made me realise that it is not that easy to get the result I want.

So in the end here is what I came up with:


select datename(month, getdate())+'-'+ convert(varchar,year(getdate())) as Month_

Sunday, May 20, 2007

Automating the .NET Framework download and installation

Here's a script that automates the download and installation of the .NET 2.0 Framework prior to installing a .NET application, using all free tools including InnoSetup. If .NET is not installed on the target computer, then this script goes out and downloads it, showing a progress meter along the way, and then installs it on the target machine.



read more

Thursday, May 17, 2007

Five ways to defeat blog trolls and cyberstalkers

Online harassment is going gangbusters in the blogosphere. With 70 million blogs in existence today there are a lot of nut jobs out there. From cyberstalkers and trolls to flamers and kooks, it's only a matter of time before some of them find their way to your blog. Here are five ways to make sure you don't become a victim.



read more

Wednesday, May 16, 2007

Top 17 Free Webmaster tools

A list of 17 Free webmaster tools. This list includes several HTML and CSS tools, SEO tools such as backlink checker, keyword density, and several other useful miscellaneous tools.



read more

Thursday, May 10, 2007

Toolbox for Web Developers/Programmers (tlbox.com)

Add tools to your tool box that you can refer back to. Useful website listings for HTML, PHP, CSS, Images, Tutorials, Widgets, etc. Great links.



read more

Wednesday, May 09, 2007

What's Wrong With My Blog? Guide to common pitfalls & mistakes in blogging

Creating a blog is easy - but alas, building a readership is somewhat more difficult. So where do nascent bloggers most commonly go wrong?



read more

Thursday, May 03, 2007

Dramatic Black and White photos using Photoshop

Converting photos from color to black and white can be done in a variety of ways in photoshop. The easiest way is just to convert your image to grayscale, but this usually leaves you with a rather flat and dull looking image. This article will show you how to convert color photos to dramatic looking black and white photographs in photoshop.



read more

Wednesday, May 02, 2007

Monday, April 30, 2007

Javascript and CSS Tutorial - How to make Sliding Panels

A step-by-step tutorial on how to create sliding panels using javascript and css. Included in the tutorial are good examples guiding you through each step.



read more

Thursday, April 26, 2007

Test your Web Application’s Performance

A step by step tutorial on how to stress test your web application and your web server with proven Open Source software.



read more

Tuesday, April 24, 2007

Monday, April 23, 2007

Data Transformation Services -- SQL Server

Today I used Data Transformation Services (DTS) of SQL Server 2000 to populate a table in the SQl Server database from an excel file. This was an easy way of creating a table on the fly without bothering to create the table structure first and then populate the table with the data.


Procedure I followed was as follows:

Right click on a table or a database in the SQL Server Enterprise manager.
select Import data
Select the source as an Excel driver
select the destination as the table to be created inthe database.
Click finish and your table is ready with the data populated

Yes, it is that simple.

Thursday, April 19, 2007

15 Javascript Snippets You Can't Live Without

"You either love Javascript or you hate it. Either way it can provide great functionality that users love. And it doesn't have to affect usability. Here are the top 15 Javascript snippets for making great sites that bit extra special."



read more

Tuesday, April 17, 2007

How to make 'related articles' for your blog

If you operate or post for a blog of any kind (and chances are, you do), it's very useful to add a "Related articles" section to your blog so when somebody finds your article, the related articles will keep them on your site while keeping their interest in specific topics.



read more

Friday, April 13, 2007

View .psd's Thumbnail Previews In Windows Explorer

As of photoshop 7 you can no longer view your PSD files as thumbnail previews! Re-claim this great feature instantly with a quick registry edit.

read more 

Wednesday, March 28, 2007

Fade the Background Color of an Element using Javascript

This is probably the easiest way to fade the background color of an HTML element without having to use some huge DHTML library that has a bunch of things you don't need in it.



read more

Wednesday, March 21, 2007

Ajax for Web Application Developers

FREE Ebook! This book not only explores the technologies that define Ajax and how they come together to create powerful client-side interactions, but also ...



read more

Sunday, March 18, 2007

Building a Content Management System with Prototype

The Prototype library has grown in popularity among JavaScript programmers because of the powerful features that come bundled with it. In this set of three articles, you'll learn how to use this versatile framework for building a content management system. This first part will deal with the creation of the front end of the CMS.



read more

Power BI Kids competition 2026

 Celebrating the next generation of data rockstars! 🚀✨ I am incredibly proud to share that we have officially wrapped up our 8-week #PowerB...