Forum Replies Created

Viewing 15 posts - 16 through 30 (of 152 total)

  • RE: Sorting Issue

    mister.magoo (2/12/2013)


    Sean is right, however in this one case you can make it seem like it works....

    SELECT *

    FROM (

    SELECT*,row_number() OVER(PARTITION by TType ORDER BY TTime,TFunction,TStatus) AS rn

    FROMMyTransactions

    ) a

    ORDER BY rn,TTime,...

  • RE: Sorting Issue

    Attached are the current and required output screen shots. Note that i have created the required output in excel 🙂

  • RE: Sorting Issue

    Thanks Lowell. Unfortunately not, it still does not group them together.

    There should always be an outgoing after an incoming, and we need to make sure both are of same function...

  • RE: Dynamic IN clause

    Thanks everyone, i got it working using OR.

  • RE: Traversing a tree

    Kl25, thanks a lot for the idea. Your query gave a slightly different result but i used your idea to generate the required result.

    Basically first find the minimum group id...

  • RE: Log shipping failing all of a sudden

    you are right, but we do full backups daily so re-initializing log shipping using diff was not possible because it was broken for over a day and we already had...

  • RE: Log shipping failing all of a sudden

    We stopped the SQL Writer service, stopped the log shipping backup jobs and then re-initialized the log shipping by restoring a full backup.

    Other option was to find the tlog backups...

  • RE: Log shipping failing all of a sudden

    Thanks for your responses.

    We figured out the issue, it was because of the NTBackup that we setup for our VMs.

    Here are more details about the issue and resolution.

    More details about...

  • RE: Backup name not matching with file name

    i think SQL Server uses SYSDATETIME () in background when the backup file name is chosen.

    i ran select GETDATE(), SYSDATETIME() on the server and it gave me same values...

  • RE: Backup name not matching with file name

    I am using SQL Server 2008 R2 on Windows Server 2003 R2 machine.

    I figured out an alternate which is giving me the actual file name. Instead of using Backupset table...

  • RE: Database migrated from 2000 to 2008 R2

    Thanks for the response Paul.

    That's exactly what i checked and it was right, defualt schema is Forum with db owner permissions.

    I wonder some how during the upgrade process it has...

  • RE: Last time a user was connected

    Thanks Steve, no i am not auditing the connections.

  • RE: SQL Server 2005 & 2008 R2

    Thanks Steve, but will this service upgrage cause any issue?

  • RE: Moving high transactional DB to a new server

    Thanks Tara, i will try this strategy.

  • RE: Moving high transactional DB to a new server

    Thanks Roy, appreciate your response. That's the strategy we have planned and tested so i am glad that you have verified it.

Viewing 15 posts - 16 through 30 (of 152 total)