Forum Replies Created

Viewing 15 posts - 1,906 through 1,920 (of 3,011 total)

  • RE: Query unique main key with greatest secondary key

    selecttop 1

    A, B, ... other columns ...

    fromMyTable

    order byA, B desc

  • RE: Which country is best for Outsourcing?

    I think that depends on who is doing the outsourcing, and the particular activity they are outsourcing.

  • RE: T-Sql rant

    The thread on the link below is a good example of a way not to generate a Next ID. I had thought about this method myself, so this is...

  • RE: Shrinking Database file

    Jeff Moden (3/21/2009)


    Ummm.... just a couple of things to clear up here, folks. First, DBCC ShrinkFile does not now nor has it ever nor will it ever cause fragmentation....

  • RE: T-Sql rant

    J (3/21/2009)


    Michael Valentine Jones (3/20/2009)[/b

    Not that I would ever recommend using this to get the next ID for anything I was designing, but when someone has already put something like...

  • RE: T-Sql rant

    Jeff Moden (3/20/2009)


    Michael Valentine Jones (3/20/2009)


    Not that I would ever recommend using this to get the next ID for anything I was designing, but when someone has already put something...

  • RE: T-Sql rant

    Jeff Moden (3/20/2009)[/b UPDATE NextID

    SET @NextID = NextID = NextID + @Increment

    WHERE TableName = @TableName

    SELECT @NextID = @NextID - @Increment

    ... that little bit...

  • RE: Wierd error in Differential Backup

    Are you sure it's actually a full backup? Maybe it’s just a differential backup of a database that has had so many pages changed that it's the same...

  • RE: DTS to load huge data into table

    You should set the batch size on the DTS datapumps to a reasonable size, like 100,000 rows. This will make smaller transactions and help prevent expanding your transaction logs....

  • RE: Pros of frequent transaction log backups, articles?

    We run transaction log backups every 15 minutes, 25x7, on all transactional databases. It lets us restore to as close in time as possible after a problem, and it...

  • RE: Shrinking Database file

    It is often better to shrink database files in small increments so that it can make continuous, incremental progress, instead of trying to shrink by a large amount in one...

  • RE: Being More Productive

    Headphones for my desk phone are a big help.

    I put them on and people automatically assume I’m on a “really import conference call” and leave me alone or run away...

  • RE: SQL 2000 - db mirroring or clustering or what?

    We have literally thousands of people working in remote offices as far away as it is possible to be on Earth, so being far away is not a problem by...

  • RE: SQL 2000 - db mirroring or clustering or what?

    I could mention using two-way merge replication, but that is really something that is just going to cause problems, not solve them. I imagine that anything you would do...

  • RE: Format elapsed time

    select

    [HH:MM:SS:mmm] = convert(varchar(12),ET-ST,114),

    *

    from

    ( -- Test Data

    select ST = convert(datetime,'20080318 23:57:33.887') ,

    ET= convert(datetime,'20090319 10:45:47.850')

    ) a

    Results:

    HH:MM:SS:mmm ST ...

Viewing 15 posts - 1,906 through 1,920 (of 3,011 total)