January 2006 - Posts

What can SQL Server 2005 do for you

My blog has moved to sqlblogcasts.com/blogs/simons
The full version of this post can be found here., http://sqlblogcasts.com/blogs/simons/What can SQL Server 2005 do for you
The new RSS feed is here

If you've read my previous post on performance issues with a stored procedure I thought it would be good to revisit the SP with a view of what SQL Server 2005 can do to assist. There are quite a few

... To read the complete version of this post go here, http://sqlblogcasts.com/blogs/simons/What can SQL Server 2005 do for you

Performance tuning with subqueries and parameters

My blog has moved to sqlblogcasts.com/blogs/simons
The full version of this post can be found here., http://sqlblogcasts.com/blogs/simons/Performance tuning with subqueries and parameters
The new RSS feed is here

Patrick Wright has recently posted on a performance issue he was asked to look into. The issue in question involved an SP that was taking a huge amount of time, compared to what it should have been. This is one of those real life scenarios where its not a simple you need an index there are lots of factors influencing the issue.

... To read the complete version of this post go here, http://sqlblogcasts.com/blogs/simons/Performance tuning with subqueries and parameters

SSIS: Use SQL Query in Lookups

How many of you have the same database in Dev, Test and Live but maybe slightly different column orders in your tables. This isn't an issue is it because we always use column names in SELECT, INSERT statements, don't we!!! No one uses SELECT * do they.

Well SSIS does, sort of, if you select the table option in the Lookup

What it does do is get the meta data for you table and stores it. Now if you've worked with SSIS or been to any SSIS talk you should know that SSIS at the runtime level deals buffers and the data in these is manipulated by the ordinal position of a field not its name. Well it seems that the Lookup does the same. It builds its internal structures based on the ordinal positions of the columns, at validation time it then validates that the column names (and data types I think) of columns it is using are the same as they were at runtime. I think it also validates that the table has the same number of columns.

This of course isn't an issue until some one adds a column in Dev that hasn't been deployed to Live. You build your package on dev, try and deploy and it fails initially because the columns don't exist in test (even if they are not being used).

So the answer is, use a SQL query and only specify the columns you want. That way you can guarentee that if those columns exist in your table(s) you will be fine, there will be no problems if anyone changes that table.

Personally I think this is a bug, but I think its best practice any way.

(ps sorry Jamie if you've already posted this :)

SQL Server 2005 Certification

My blog has moved to sqlblogcasts.com/blogs/simons
The full version of this post can be found here., http://sqlblogcasts.com/blogs/simons/SQL Server 2005 Certification
The new RSS feed is here

This hasn't been greatly advertised but the SQL and VS 2005 Certification details can be found here.

http://www.microsoft.com/learning/2005

... To read the complete version of this post go here, http://sqlblogcasts.com/blogs/simons/SQL Server 2005 Certification

C# 3.0 Enhancements and LINQ

On Thursday I went along to the London .Net User Group at the Microsoft in Soho aka The Swimming Pool.

Ian Griffiths was presenting on C# 3.0 Enhancements and LINQ.

Fantastic.

I was fortunate enough to go to the PDC where the only sessions that I went to around this were the Linq and DLinq seminars. It all now makes much more sense, Ian was great in going through each of the new features in a seemless manner and amazingly bringing it all together with how the new features enable LINQ

Just like a good book Ians presentation had a good start, middle and end.

Ians Blog can be found here http://www.interact-sw.co.uk/iangblog/ and the london .Net UserGroup can be found here http://www.dnug.org.uk/

Enabling SSIS packages in Reporting Services Reports

My blog has moved to sqlblogcasts.com/blogs/simons
The full version of this post can be found here., http://sqlblogcasts.com/blogs/simons/Enabling SSIS packages in Reporting Services Reports
The new RSS feed is here

I hadn't tried writing a report based on an SSIS package on the RTM build until tonight. I couldn't understand why the SSIS options where not in the datasource builder. After a bit on investigation I found the following article in BOL "Configuring Reporting Services to Use Integration Services Package Data"

... To read the complete version of this post go here, http://sqlblogcasts.com/blogs/simons/Enabling SSIS packages in Reporting Services Reports

UK SQL Server Launch Event

My blog has moved to sqlblogcasts.com/blogs/simons
The full version of this post can be found here., http://sqlblogcasts.com/blogs/simons/UK SQL Server Launch Event
The new RSS feed is here

I am doing the UK SQL Server Usergroup launch event in Feb (Register here, http://sqlserverfaq.com/?eid=65 )and want to make sure I cover what you want.

... To read the complete version of this post go here, http://sqlblogcasts.com/blogs/simons/UK SQL Server Launch Event

Make your CV stand out

My blog has moved to sqlblogcasts.com/blogs/simons
The full version of this post can be found here., http://sqlblogcasts.com/blogs/simons/Make your CV stand out
The new RSS feed is here

Following on from my previous post on CVs I thought I would see if I could get as much response from another post on CVs.

Make your CV standout, when reading CVs. I am looking for ones that standout, these are generally those that, rather than just stating what the job role is, goes into detail about the difference the person made. For example, a previous experience that looks something like this doesn't do anything but tell me that you can copy topics from BOL,

... To read the complete version of this post go here, http://sqlblogcasts.com/blogs/simons/Make your CV stand out

Comparing table data in SQL Server 2005

My blog has moved to sqlblogcasts.com/blogs/simons
The full version of this post can be found here., http://sqlblogcasts.com/blogs/simons/Comparing table data in SQL Server 2005
The new RSS feed is here

Have you spent your hard earned money on tools like Redgate's SQL Compare to enable you to compare data. Or just dispaired when your publihser and subscriber get out of sync.

Well in SQL Server 2005 there is a new utility to compare the data in two tables, the data can be in different tables and on different servers.

... To read the complete version of this post go here, http://sqlblogcasts.com/blogs/simons/Comparing table data in SQL Server 2005

SSIS 64 Bit, Excel and Access

If you are lucky enough to have a 64 bit server and are trying to run packages that interface with access or excel you are probably having problems. This has been recently discussed on the MSDN Forums http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=167907&SiteID=1. The reason for the problems is that the Jet engine drivers are 32 bit and not 64 bit. The default 64bit version of dtexec tries to load the 64bit drivers and as there aren't any it fails. You therefore need to use the 32bit version of dtexec, this will try and load the 32 bits drivers.

The 32Bit dtexec can be found in the "program files (x86)" folder.

 

Cvs for IT jobs

My blog has moved to sqlblogcasts.com/blogs/simons
The full version of this post can be found here., http://sqlblogcasts.com/blogs/simons/Cvs for IT jobs
The new RSS feed is here

I'm recruiting again at the moment and havign to sift through loads of CVs 2 things that amuses/annoys me are

1. Putting MSDOS and Office as skills. Why?

You're applying for a job in IT, if you feel you need to enhance you list of skills with outdated and general skills then one has to start wondering about your calibre. If you can't use word you should be, where have you been for the past decade, MARS!

... To read the complete version of this post go here, http://sqlblogcasts.com/blogs/simons/Cvs for IT jobs

Happy New Year

My blog has moved to sqlblogcasts.com/blogs/simons
The full version of this post can be found here., http://sqlblogcasts.com/blogs/simons/Happy New Year
The new RSS feed is here

Happy New Year to one and all.

2006 will bring a lot of challenges, firstly will be many migrations to SQL Server 2005 (including service pack 1).

Secondly will be the arrival of my first child.

... To read the complete version of this post go here, http://sqlblogcasts.com/blogs/simons/Happy New Year