Forum Replies Created

Viewing 15 posts - 22,711 through 22,725 (of 26,486 total)

  • RE: Effective Dating Query

    longobardia (1/30/2009)


    Could you explain? Please.

    I don't follow.

    AL

    If you look at your code you will see inconsistancies between column names in different parts of the code. Without looking back...

  • RE: Effective Dating Query

    Never mind part of my comment above. I was looking at something else while writing it. Sorry, I'm a guy and have trouble multi-tasking sometimes. BUT more...

  • RE: Effective Dating Query

    longobardia (1/30/2009)


    The output returned is correct:

    select t.employeeid, t.TranDte,

    dbo.udf_getHistory(t.TranDte, t.employeeid, 1) as Address1,

    dbo.udf_getHistory(t.TranDte, t.employeeId, 2) as Address2,

    dbo.udf_getHistory(t.TranDte, t.employeeId, 3) as City,

    dbo.udf_getHistory(t.TranDte, t.employeeId, 4)...

  • RE: Effective Dating Query

    FYI, not everyone uses a case insensitive collation. It would be nice if your code was consistant in its use of case.

  • RE: Effective Dating Query

    Based on the sample data you provided, what is the expected output?

  • RE: Long running queries

    Then you won't need the transaction log backup in the code.

  • RE: Long running queries

    Mike Levan (1/30/2009)


    Thanks .

    when running this query does the transaction log will be free for every 100,000 recrods? I am just trying to get how this will improve performace when...

  • RE: Long running queries

    You could try the following (in a test environment first)

    declare @batchsize int;

    set @batchsize = 100000; -- 100,000

    while @batchsize <> 0

    begin

    update top (@batchsize) dbo.Rev set

    ...

  • RE: File Copy task fails with Illegal characters in path

    This topic has been reposted with additional information, please go here.

    Note, it would have made more sense to have added your additional info here instead of reposting.

  • RE: Full Backups and Truncating the Transaction Log

    If you are talking about adding backup log with truncate_only, please realize that option is being depreciated and may not be available in future versions of SQL Server. Again,...

  • RE: [error] arithmetic overflow error converting numeric to data type numeric

    The error in the title is cutoff. Could you please post the entire error message?

  • RE: Full Backups and Truncating the Transaction Log

    Actually, to save you time here is a link to the article: http://www.sqlservercentral.com/articles/64582/

  • RE: Full Backups and Truncating the Transaction Log

    Josh Turley (1/30/2009)


    Ok, a little setup for my question:

    I have a db, 6GB in size, with a log file that's almost double that.

    It's my understanding that simply doing a...

  • RE: Why a Table Scan

    The optimizer must feel that it is less expensive to do a table scan with the second query as a opposed to an index seek and bookmark lookup.

    I guess to...

  • RE: The Oscars

    RBarryYoung (1/30/2009)


    Lynn Pettis (1/30/2009)


    RBarryYoung (1/30/2009)


    Steve Jones - Editor (1/30/2009)


    The Beverly Hills Chihuahua was a long two hours out of my life.

    OMG, you poor SOB! :crazy: I am sure that...

Viewing 15 posts - 22,711 through 22,725 (of 26,486 total)