blogs.conchango.com

welcome to the conchango blogging site
Welcome to blogs.conchango.com Sign in | Join | Help
in Search

Browse by Tags

All Tags » SQL » SQL Server 2005
Showing page 1 of 2 (13 total posts)
  • T-SQL IDENTITY : Fun and Games with DBCC CHECKIDENT

      This issue caught me out today whilst putting together some build scripts for reference data. So I thought I’d share it. USE [tempdb] GO CREATE TABLE [dbo].[Table_1](       [Col1] [int] IDENTITY(1,1) NOT NULL,       [Col2] [char](1) NOT NULL ) ON [PRIMARY] GO delete from ...
  • SQL Server 2005: Passing variables into an OPENQUERY argument

    Today I ran into a blocker when trying to do this. Having spent a reasonable amount of time taking all of my sql statements out of the OPENQUERY argument and putting them into a string variable I then found it didn't work. The reason (from BOL) it turns out is that, and I quote; "OPENQUERY does not accept variables for its ...
    Posted to Jim 2.0 (Weblog) by James.Pipe on June 28, 2007
  • SQl Server 2005 - more from Rowland-Jones

    For those that read my query performance addendum you will know that I was posting a contribution emailed to me by my colleague James Roland-Jones. Well JRJ has now started to post his own thoughts on SQL Server 2005 and SSIS, so if you would like to get the latest straight from the horse's mouth, you can do so here.  James
    Posted to Jim 2.0 (Weblog) by James.Pipe on February 20, 2007
  • SQL Server 2005 Query Performance addendum

    In response to my recent post about analyzing query performance in SQL server 2005, my colleague Mr Rowland Jones emailed me a couple of additional points around best practice, which will further aid query performance. Here are the points he makes (in his very own words) Owner Qualification When writing the table names in your queries it is ...
    Posted to Jim 2.0 (Weblog) by James.Pipe on February 9, 2007
  • Analysing Query Performance in SQL Server 2005

    Sometimes I will be writing a query and will be faced with the option of writing it in a number of different ways, each of which will give me the result I’m looking for, and the question I always ask is which is most efficient? Now ‘most efficient’ is an ambiguous term to an extent, because we could mean fastest run time, or ...
    Posted to Jim 2.0 (Weblog) by James.Pipe on February 3, 2007
  • T-SQL: Generate a list of dates

    Sometimes we can be working and we write or find a ridiculously simple bit of code that we know will be useful in the future, then we just go ahead and plain forget all about it. When I find such stuff I like to stick it on my blog so that I know where to find it in the future and also on the off chance that someone else might ...
    Posted to SSIS Junkie (Weblog) by jamie.thomson on January 11, 2007
  • SSIS is "Best ETL Software" (according to someone)

    I have just received an email from Donald Farmer, Group Program Manager for SSIS, who took great delight in telling me that his product has claimed the title of "Best ETL Software" in the Techweb Readers' Choice Awards. I don't usually take much notive of award ceremonies (those god-awful celeb-kiss-@rse award ...
    Posted to SSIS Junkie (Weblog) by jamie.thomson on January 6, 2007
  • SSIS: But it used to work in DTS (10) - Use multiple connection objects in order to maintain seperate connections to databases

    Here is the next in my series of posts explaining how common tasks in DTS can now be implemented in SSIS.Use multiple connection objects in order to maintain seperate connections to a database It was commonly recommended in DTS that a package should contain multiple connection objects pointing to the same database if you had multiple ...
    Posted to SSIS Junkie (Weblog) by jamie.thomson on December 21, 2006
  • SSIS: Using stored procedures inside an OLE DB Source component

    Many people like to use stored procedures as the source of data for the SSIS pipeline. In theory there is nothing wrong with that however it does have its complications. Depending on the way the stored procedure is written, it may or may not be suitable to be used in this way. Namely, it is possible to preview the data being returned from a stored ...
    Posted to SSIS Junkie (Weblog) by jamie.thomson on December 20, 2006
  • SSIS Nugget: Extract last word from a sentance using regular expressions

    About a month ago I wrote this very simple blog post explaining how one might go about stripping off the last word from a sentance in the pipeline. My Conchango colleague James Saull thought that this would be ripe for a regular expression (and he's right) and asked if we could we apply regular expressions in SSIS. The answer is ...
    Posted to SSIS Junkie (Weblog) by jamie.thomson on December 19, 2006
1 2 Next >
Powered by Community Server (Personal Edition), by Telligent Systems