Forum Replies Created

Viewing 15 posts - 31 through 45 (of 48 total)

  • RE: Calling SQL Server With A BlackBerry Phone

    @grovelli-262555 A CLR Stored Procedure is a Visual Studio.Net assembly that can be included into a SQL Server 2005+ database and its methods used as stored procedures, functions,...

  • RE: Calling SQL Server With A BlackBerry Phone

    Glen,

    Nice article for a home solution. In most corporate environments however, xp_cmdshell calls will not be allowed - certainly not in mine! - however you could easily replace the calls...

  • RE: Custom Sequence Numbering

    Thank you. It was a great learning experience for me in terms of writing style and content. All the feedback was beneficial and my future articles will surely improve as...

  • RE: Custom Sequence Numbering

    Apolgies, didn't answer the todoid and personid question. I'd expect the business/application layer to do this, as if the application was passing me a todoid for the wrong personid then...

  • RE: Custom Sequence Numbering

    Again, this is because my procedure also removes gaps in the sequence, hence why it updates all the records. If you try my procedure with different parameters and look at...

  • RE: Custom Sequence Numbering

    Unfortunately the funky code is very efficient. The problem with stored procedures with a lot of IF statements in is that they do not cache well, as the compiler stores...

  • RE: Custom Sequence Numbering

    Thank you Amy and apologies for the initial typo (which has now been corrected). I have learned a lot about the article writing style from the comments and the whole...

  • RE: Custom Sequence Numbering

    I think I used zero as the starting sequence due to all the C# programming I have been doing lately - and the hardened C# community would surely spit on...

  • RE: SQL DISTINCT on Multiple Columns

    I would agree that this is a good introductory article on DISTINCT and will help many a newbie. A minor section on performance may have been beneficial but it is...

  • RE: Custom Sequence Numbering

    Oh I'm looking forward to that! Currently looking into the new datetimeoffset data type in 2008 to replace my "convert to local date via a utc hour and minute offset...

  • RE: Custom Sequence Numbering

    James,

    I would agree that maybe the delete routine would be a better place for the zero re-numbering and that this does over-complicate the routine somewhat.

    James

  • RE: Custom Sequence Numbering

    Thank you for the kind comments, they are all very useful. This is the first article I have tried to write and judging by the feedback, I'm on the right...

  • RE: Custom Sequence Numbering

    Blimey, well, it proves that old problems never actually go away but the code to deal with them just evolves.

    Current reading up on the Merge command.... Thank you for pointing...

  • RE: Custom Sequence Numbering

    The added complexity is because my procedure always adjusts the sequence number so that it is continuous and zero based. Your proc works fine but you won't end up with...

  • RE: Custom Sequence Numbering

    The added complexity is because my procedure always adjusts the sequence number so that it is continuous and zero based. Your proc works fine but you won't end up with...

Viewing 15 posts - 31 through 45 (of 48 total)