Forum Replies Created

Viewing 15 posts - 48,361 through 48,375 (of 49,571 total)

  • RE: Transaction log size wont go down

    Yup. That's correct.

    If you don't need to be able to make point-in-time restores, then you can change to simple recovery mode. In simple the log auto truncates on checkpoints.

  • RE: Return result of dynamic query from function

    Look at sp_executesql

    DECLARE @ReturnValue DATETIME, @EmployeeID INT

    SET @EmployeeID = 1

    exec sp_executesql N'SELECT @JoinDate = JoinDateQuery NewHireEmployee where empid = @EmpID ',

    N'@EmpID int, @JoinDate DATETIME OUTPUT', @EmpID = @EmployeeID, @JoinDate...

  • RE: Spid is blocking itself?

    What you're seeing in parallelism waits. Is there a wait type of CXPacket?

    iirc, the display of spids blocking themselves was new in SP3 or 4. Before that you wouldn't see...

  • RE: Memory Available to SQL Server 2005

    rhunt (10/22/2007)


    Great, thanks. I thought the whole AWE issue was resolved with Server 2003...guess not. I did find info that said it would be on if my system...

  • RE: MCITP

    You need 2 exams. The Technical specialist for SQL 2005 (70-431) and then the MCDBA upgrade exam 70-447. Those 2 will get you your ITP (Database Admin)

    There's no upgrade path...

  • RE: Transaction log size wont go down

    Is the DB in full or bulk-logged recovery mode?

    If so, do you have log backups runnng? If you're in full recovery mode and have no log backups, the log will...

  • RE: System Performance - High CPU utilization--> SQLSRV.exe

    Matt Miller (10/22/2007)


    ...with fill factor @ 100%.

    No. With any fill factor. Of course, the lower the fill factor the more out of order inserts you can have without...

  • RE: sql_variant

    Oh no! The one table to rule them all design. If I were you, I'd start running now. This database 'design' tends to crop up again and again in tales...

  • RE: Subquery as column in query, then re-used in another column?

    Move the subquery into the from clause, so you can reference it as if it was another table. You'll likely get better performance too.

    SELECT ... FROM Table1 INNER JOIN (SELECT...

  • RE: How can I install 'Database Engine Tuning Advisor' with SQL Server 2005 Express ?

    I may be wrong, but I think it only comes with the non-free versions of SQL server.

    What you may like to do, if you're serious about SQL is buy...

  • RE: Memory error in 32 bit sql server 2005

    Edit: Never mind, I'm talking garbage

    Since you have AWE enabled, that's not the issue.

  • RE: sql server

    You need to patch SQL to SP2 or later for it to run on Vista

    Download SQL Express. You should be able to fid it pre-patched. That's enough to play around...

  • RE: System Performance - High CPU utilization--> SQLSRV.exe

    If your clustered index is on a column that doesn't increment (identity, date inserted) then inserts cause page splits. Page splits cause increased IOs and index fragmentation. Fragmentation causes slower...

  • RE: Returning rows in one table based on rows not in another table

    Yup. That's pretty much the same query expressed a different way. The IS NULL check needs to be left out, or you'll get no records as you've reversed the logic...

  • RE: Preventing Page Locks

    Ian Harris (10/19/2007)


    Am I correct in believing that on the whole it is better to let the SQL Server work out how to apply locks?

    In my opinion, 100% correct. My...

Viewing 15 posts - 48,361 through 48,375 (of 49,571 total)