Forum Replies Created

Viewing 15 posts - 10,576 through 10,590 (of 26,489 total)

  • RE: Better way of getting this result?

    Sean beat me to it, but here is a setup that also creates a 1,000,000 row data set to test.

    CREATE TABLE #Transactions

    (

    ID INT IDENTITY PRIMARY KEY,

    CardID INT,

    TranDate DATETIME

    );

    create index CardID_TranDate...

  • RE: send email from standard edition

    Anyone know why the pulled Database Mail from Standard Edition? Doesn't make sense to me.

  • RE: Create 15 min inc time matrix?

    Looks good, but I am going to quibble a bit here. The semicolon (;) is a statement terminator, not a statement begininator. The following snippet from your post:

    CREATE...

  • RE: Converting Datetime2(0) to Datetime

    tmitchelar (7/20/2012)


    Ok, I apologize in advance. It is giving me an out-of-range error on the following type of values:

    0012-12-01 00:00:00

    0015-01-01 00:00:00

    0020-01-01 00:00:00

    0010-12-01 00:00:00

    0016-08-01 00:00:00

    0016-01-01 00:00:00

    0018-12-01 00:00:00

    0015-12-01 00:00:00

    Valid values for...

  • RE: SQL server back up

    Steve Jones - SSC Editor (7/20/2012)


    AFAIK, the tool comes with the Litespeed install. Unless things are changed, there was a converter to move compressed->native that was a .exe in the...

  • RE: Cursor within a cursor question

    Not going to try and convince you it is right or better. I can see why your Senior DBA wants it done that way, I would not have a...

  • RE: case-sql server(logical thnk)

    Four separate threads for the same problem and none of them have an answer. Why? Because you won't provide the information requested in the format needed to help you.

    Read...

  • RE: Cursor within a cursor question

    Is this the part you are asking about?

    fetch NameOfFirstCursor into @parms

    select @t_status = @@fetch_status <<--- specifically this immediately after the fetch?

    while (@t_status = 0)

    Actually,...

  • RE: SQL server back up

    sqlfriends (10/17/2011)


    I prefer to use the native backup tool too.

    But one problem I often comes with how to select to backup all user databases but to exclude one or more...

  • RE: SQL server back up

    Steve Jones - SSC Editor (10/17/2011)


    The mature third party backup tools provide utilities, for free, without license, that convert their compressed/encrypted backups to native formats. You can get those for...

  • RE: Converting Datetime2(0) to Datetime

    I can't recreate the problem using the date you provided.

    Can you post a script that actually fails for you?

  • RE: Create 15 min inc time matrix?

    Separate query and change the computation to include dividing the time by 15 to give you the portion of the route (or whatever you called it).

  • RE: Cut down Updation time 4 Updating 3 Lacs record's 10 columns with different-2 functions

    The problem looks to be the scalar functions. Unfortunately, we can't see what you see, so all we can give you is a shot in the dark.

    I would look...

  • RE: I need help determining the factuality of code commentary

    Could be one of those used to be type situations. Perhaps in an older versions of the software (meaning the optimizer) people found that the order of the values...

  • RE: case in sqlserver

    Okay, forget you getting frustrated, I'm frustrated. Just how many different threads do you need for the same problem????

Viewing 15 posts - 10,576 through 10,590 (of 26,489 total)