Forum Replies Created

Viewing 15 posts - 50,566 through 50,580 (of 59,078 total)

  • RE: Ledger Balance Calculation

    The only thing that might beat the method in the article would be to maintain a separate table with a list of accounts and the current balance (1 row each)...

  • RE: Ledger Balance Calculation

    quortex (5/13/2008)


    have read the suggested article and although it is very informative it is geared towards calculating the total after the data is populated.

    That's EXACTLY what you are doing...

  • RE: "Resource" management design

    Why not just ignore the cost for Employees since they suffer no cost? That would cut the number of tables in half and also keep you from having to...

  • RE: How to find gaps between date ranges

    Peso (5/13/2008)


    Here is a script for testing, Jeff.

    ...

    I mean no harm in posting the results. I just find it interesting that different methods and approaches to this problem have significantly...

  • RE: How to find gaps between date ranges

    Michael Meierruth (5/13/2008)


    I hope you were able to use the SS 2005 solution.

    When limited to SS 2000, our queries really start to slow down after a while.

    Try the Peso 3...

  • RE: The CLR

    emamet (5/13/2008)


    Maybe we can summarise by saying that integrated CLR is the perfect solution...

    but that we are still looking for the problem 😛

    Just couldn't have said it any better than...

  • RE: nvarchar vs varchar

    Heh... can't wait for the mess folks are gonna make in 2k8 with the separate DATE and TIME datatypes...

  • RE: dynamic sql and indexes

    ...and provided that the syntax of the query hasn't made it impossible.

  • RE: The CLR

    Cenk OZPAY (5/13/2008)


    CLR?

    I have seen some performance advantages when used in scalar functions. CLR can be used when there is no corresponding T-SQL functionality like splitting a string by a...

  • RE: How do you handle la arge amount of characters?

    Sergiy (5/12/2008)


    Jeff, I believe you're ovecomplicationg the problem.

    I would suggest:

    1) create simple ReportTable

    (

    SeqNo smallint NOT NULL PRIMARY KEY,

    ReportString varchar(8000) NULL

    )

    2) Populate this table with lines to be reported, lines...

  • RE: Splitting a URL Using a Single Query

    If you really want it in a single query, create a function using the same technique. Your turn... why does it have to be in a single query?

  • RE: Splitting a URL Using a Single Query

    Last half of the following article tells you how to do a "split". Just replace the ? with a \ in the URL, remove the first 7 characters, and...

  • RE: Execute a Stored Proc as a background process

    robertcaustin (5/12/2008)


    I want to initiate a Procedure and then return-continue execution. The reasoning behind this is to use SQL Express but because Express does not have an Agent I need...

  • RE: Indexing

    I believe I'd start wtih the Index Tuning Advisor and then tweek from there.

  • RE: passing a column name to function

    First, the function you have uses a cursor/while loop and it's going to be relatively slow. See the following for a couple of tips how to do it another...

Viewing 15 posts - 50,566 through 50,580 (of 59,078 total)