Forum Replies Created

Viewing 15 posts - 48,901 through 48,915 (of 49,566 total)

  • RE: Log File is full

    Accept their offer, and check that the log is been backed up. Check how often, and make sure it's not failing.

    DBCC

    SQLPerf(LogSpace)

    It'll show you the percentage of...

  • RE: Log File is full

    Possibly, but there's a lot of info in there and it's not intended to be human-readable. It's confusing at best.

    Run DBCC OPENTRAN to see if there are any open transactions....

  • RE: Log File is full

    View what about it? The size, the percentage full, the actual log records?

    While it is possible to read the log records, I really don't recomend it. It's verbose, completely undocumented...

  • RE: Help Needed !!!!!!!!!!!!!!

    Is this a homework assignment, or a test or some sort? It certainly looks like it.

    What specifically are you having problems with?

  • RE: ‘sqlcmd’is not recognized as an internal or external command

    Probably your path is wrong. At the command prompt type path and see what it returns.

    I can't remember offhand where to add paths, but it souldn't be hard to...

  • RE: Log File is full

    First thing to do is to check that the transaction log is actually getting backed up. It won't be the first time that a log should be getting backed up,...

  • RE: returning most current record

    Can you give us the structure of the audit table and some sample data?

    Have multiple rows been changed? How are those records identified in the audit table?

  • RE: Need to prevent row-level updates and deletes

    Triggers is certainly an option, and probably is the one with the least work required.

    Just remember with triggers that a trigger fires once for an change and has all...

  • RE: Odd SQL query isnt working

    Can you perhaps post some sample data and desired output?

    Maybe there's another way of doing this.

  • RE: Odd SQL query isnt working

    That's definatly odd SQL.

    What is it that you're trying to do?

  • RE: (X OR Y) vs. IN (X,Y)

    SELECT * FROM sysobjects WHERE xtype='P' OR xtype = 'S' OR xtype = 'U'

      |--Compute Scalar(<Removed for brevity> )

           |--Clustered Index Scan(OBJECT: ([master].[dbo].[sysobjects].[sysobjects]), WHERE: (([sysobjects].[xtype]='P' OR [sysobjects].[xtype]='S') OR [sysobjects].[xtype]='U'))

  • RE: (X OR Y) vs. IN (X,Y)

    No difference. the query plans for the two are identical. In fact, checking the query plan, the query parser expanded the second out into ORs.

    I tried these two

    SELECT

  • RE: Service start time

    That's brilliant. Thanks. I didn't think of looking there.

  • RE: Service start time

    Can you read those from T-SQL? CLR?

  • RE: Personal Laptop

    Company I work for doesn't provide laptops. We all work on desktop machines.

    I bought my own laptop, and while I do sometimes do work on it, it is my machine...

Viewing 15 posts - 48,901 through 48,915 (of 49,566 total)