Forum Replies Created

Viewing 15 posts - 2,881 through 2,895 (of 18,926 total)

  • RE: Row Merge with a Twist

    zaleeu (9/8/2011)


    Okay, time to figure this out then.

    Cheers !

    😛

    HTH, I'm not trying to be thick or anything. I just want to make sure you can support that code in...

  • RE: string concatenation

    That might give you some ideas.

    SELECT

    T.name,

    STUFF((

    SELECT

    ...

  • RE: Restore database

    Lowell (9/8/2011)


    lol i got two honorable mentions in there!

    I gotta know, what is in that Lowell_used_columns file? i'm sure i have the same script saved, but I dunno what yours...

  • RE: Row Merge with a Twist

    zaleeu (9/8/2011)


    Nope, you lost me 🙂

    I dont see any place where you mention the name of the table. (Customers)

    Can't write this one for you. While this is a simple...

  • RE: tempdb got big

    Krasavita (9/8/2011)


    I re started server and my temp db got very 111.38 MB small, but I would like to monitor and see why it got so big before.

    We told you...

  • RE: Restore database

    ps. (9/8/2011)


    In fact i shud write the names too 🙂

    Glenn Berry i remember.. but hard to find actual owners for all queries 🙁

    That's only my desktop (one of them anyways)....

  • RE: Row Merge with a Twist

    zaleeu (9/8/2011)


    OOPS I Posted in the Server 2005 area.

    Sorry.

    Anyway ..

    Thanks for the reply. Will try that.

    Won't matter for this one :-).

  • RE: Restore database

    Krasavita (9/8/2011)


    I am restoring as a new database

    What does the script I posted returned?

  • RE: get number of days from two dates

    Use a calendar table.

    SELECT COUNT(*), Month FROM dbo.Calendar WHERE dt BETWEEN @Start AND @End GROUP BY Month

  • RE: Restore database

    ps. (9/8/2011)


    Ninja's_RGR'us (9/8/2011)


    I did and now I don't know where I got it from :-D.

    I'll write your name at the top of the notepad file;-)

    I have done this only one...

  • RE: Row Merge with a Twist

    I use this, then I pivot on the presentation layer.

    SELECT

    T.name,

    STUFF((

    SELECT

    ...

  • RE: Restore database

    GilaMonster (9/8/2011)


    I've definitely seen it run 'forever' before. Maybe a different version of SQL.

    We definitely believe you on this. Apparently this is a "it depends" answer.

    Now only if the...

  • RE: tempdb got big

    He edited his post, it's the one prior to this one. There was 2 rows for 200 MB so I just rounded :-D.

    Ninja's_RGR'us (9/7/2011)


    That's 200 MB, not the...

  • RE: Backup taking more time than usual

    :

    Grant Fritchey (9/8/2011)


    Ninja's_RGR'us (9/8/2011)


    I should preface all my messages with.

    I'm a moron, don't listen to me. Anything I say can destroy your servers and have you fired for doing...

  • RE: Restore database

    ps. (9/8/2011)


    GilaMonster (9/8/2011)


    ps. (9/8/2011)


    GilaMonster (9/8/2011)


    Restoring over an existing database that is in use? If so, the restore can't even start until exclusive access is obtained on the DB.

    SQL throws error...

Viewing 15 posts - 2,881 through 2,895 (of 18,926 total)