Forum Replies Created

Viewing 15 posts - 6,346 through 6,360 (of 10,144 total)

  • RE: How do I get fragmentation levels for indexes...

    jblovesthegym (5/1/2012)


    This is for SS 2000, gentlemen!!

    Oops - humble apologies, JB. Glen's written the same suite for different versions, have you looked for 2k?

  • RE: How do I get fragmentation levels for indexes...

    jblovesthegym (5/1/2012)


    ...WITHOUT creating a sproc? Is there a Select I can run to get fragmentation levels for all indexes on a particular table/db/server?

    SQL Server 2005 Diagnostic Information Queries

    ...

  • RE: Rebuild index is running a fragmentation query

    aaron.reese (5/1/2012)


    Guys,

    I have a table with 48M rows in it which I had to copy from one database to another (same instance). to improve performance of the copy I...

  • RE: # of characters

    Jeff Moden (5/1/2012)


    For the same reason you'd distinct a column with dupes. To find out if there are dupes.

    LOL! You got me 😛

    I had an interview last friday morning....

  • RE: # of characters

    Jeff Moden (4/30/2012)


    ChrisM@Work (4/30/2012)


    dwain.c (4/30/2012)


    ChrisM@Work (4/30/2012)


    dwain.c (4/29/2012)


    ...Actually I like writing them because I figure the more I do the better I'll understand them. I did say it wouldn't perform...

  • RE: # of characters

    dwain.c (4/30/2012)


    ChrisM@Work (4/30/2012)


    dwain.c (4/29/2012)


    ...Actually I like writing them because I figure the more I do the better I'll understand them. I did say it wouldn't perform as well (I...

  • RE: # of characters

    dwain.c (4/29/2012)


    ...Actually I like writing them because I figure the more I do the better I'll understand them. I did say it wouldn't perform as well (I tested) but...

  • RE: Calculating time difference

    Eugene Elutin (4/27/2012)


    It's not, just this huge set of sum's and brackets on Friday did make me dizzy. Time for a pint!

    😀

    Careful with that axe, Eugene

  • RE: Calculating time difference

    Eugene Elutin (4/27/2012)


    It's not, just this huge set of sum's and brackets on Friday did make me dizzy. Time for a pint!

    😀

    Stop that! It's two hours to Beer O'Clock!

  • RE: find gaps in multiple sequences

    Sample data:

    CREATE TABLE #Sample (Doc_Nbr int,Ticket_Nbr int)

    INSERT INTO #Sample

    SELECT 12,907 UNION ALL

    SELECT 12,908 UNION ALL

    SELECT 12,909 UNION ALL

    SELECT 12,913 UNION ALL

    SELECT 12,915 UNION ALL

    SELECT 12,919 UNION ALL

    SELECT 14,1481 UNION...

  • RE: Calculating time difference

    pwalter83 (4/27/2012)


    ChrisM@Work (4/27/2012)


    Oh come on, Paul - none of us is going to retype from a bitmap! Be nice!

    This is a sample data from a stored procedure not a table....

  • RE: Calculating time difference

    Oh come on, Paul - none of us is going to retype from a bitmap! Be nice!

  • RE: Calculating time difference

    ChrisM@Work (4/26/2012)


    Hi Paul

    Can you post a little sample data please? I'm sure this can be done more efficiently.

  • RE: Calculating time difference

    Cadavre (4/26/2012)


    ChrisM@Work (4/26/2012)


    Cadavre (4/26/2012)


    ...

    The issue is that you're using formatted data in the database. Instead, you should store this as TIME or DATETIME then convert it to the correct format...

  • RE: Calculating time difference

    Cadavre (4/26/2012)


    ...

    The issue is that you're using formatted data in the database. Instead, you should store this as TIME or DATETIME then convert it to the correct format at the...

Viewing 15 posts - 6,346 through 6,360 (of 10,144 total)