Forum Replies Created

Viewing 15 posts - 8,401 through 8,415 (of 9,701 total)

  • RE: Trigger which gives the information through Mail

    I'm going to reiterate what I said earlier.

    Use DDL triggers to log changes to a table in an Admin database. Use a Datetime column to log the time the...

  • RE: Pivoting Data Without Aggregation

    Glad we could help. @=)

    And thanks for posting your solution.

  • RE: Database Mail not sending the attached text file

    We actually have this working with attachments, but it's been a while since we set it up.

    However, just got a new Dev cluster, so I'll play with it in the...

  • RE: Group By clause

    As soon as I find some data and code I can post without having to sanitize it first, I'll put up an example.

  • RE: Group By clause

    RBarry,

    Depends on the situation. You can't always fix the Group By. Sometimes it screws up your result set if you do.

    Believe me, I've tried that. Sometimes fixing the Group By...

  • RE: Pivoting Data Without Aggregation

    Wait a minute. I just looked at your data again. You're not doing a pivot. Not even close. Pivot is where you change your columns into rows and rows into...

  • RE: Pivoting Data Without Aggregation

    Matt's correct. You have to have a PIVOT to aggregate your rows onto the column. Otherwise, what's the use of the pivot?

    Of course, you can put a dummy aggregation in...

  • RE: Connect to Multiple Servers all at Once

    Oy, I wish!

    However, there's a minor workaround.

    Register all your servers in the "Registered Servers" sidebar. Keep that pinned open so every morning, all you have to do is doubleclick...

  • RE: Group By clause

    Aha! Remembered what it was. This is a poor example because I can't give you my real data and I had a much more complex query. Suffice to say, though,...

  • RE: Need to run a script using the SA logon

    Sounds to me like the test script is trying to alter some other account's login / permissions information. That might be why it needed SA access. Of course, the account...

  • RE: SQL server not taking assigned memory

    PerfMon can also be used to check things like RAM usage, even for SQL Server. I can't remember which SQL Server counter it is, though, off the top of my...

  • RE: Querying a database for a list of tables

    Fernando,

    You actually have a pretty good solution. Unless the table information needs to be further processed, that proc is a quick and dirty way to get the list. The proc...

  • RE: Nested curosors

    You're asking us to diagnose a problem without telling us what your error is or your expected results from the comparison. If you truly believe a table JOIN is not...

  • RE: using IDENTITY_INSERT when repopulating a table

    A note on "sessions". In SSMS, a session is one continuously open query window or, in other SQL apps, one continuous connection. You can't do Identity Insert in two separate...

  • RE: SQL server not taking assigned memory

    Did any of our comments help? Is your problem resolved?

Viewing 15 posts - 8,401 through 8,415 (of 9,701 total)