Forum Replies Created

Viewing 15 posts - 466 through 480 (of 1,314 total)

  • RE: SQL Backup preferences...

    INIT & NO INIT are switches for the obscure BACKUP LOG and BACKUP DATABASE commands.  The standard maintenance plan creates a new file for every log backup, so these settings...

  • RE: SQL Backup preferences...

    Shrinking files on a regular basis is not a recommended practice.  It causes physical file fragmentation over time.

    If you must do it, you can do it with a maintenance plan. ...

  • RE: SQL Backup preferences...

    A transaction log backup does cause the log file to shrink.  It truncates the active log, meaning it reduces the number of pages in the transaction log that are considered...

  • RE: Is IIS required?

    We have some SQL Servers at a web-hosting site and they all require IIS for the hosting company's maintenance tools.  IIS is not required for SQL Server, but perhaps there...

  • RE: SQL Backup preferences...

    If the log for a 4 GB database grows to 8 GB in the 4-hour span between log backups, you've either got a huge amount of activitiy or a problem...

  • RE: how to improve performance of the query with unions

    I see a lot of the same joins at the beginning and end of each view definition.  Could you isolate the different parts of each of the three views, union...

  • RE: Need my SQL to go retro (from 2005 to 2000)

    The problem is simpler when you realize you don't need a common table expression, ROW_NUMBER(), or a correlated subquery.  Once you put an identity field on avg_days and get the...

  • RE: Need script to render list of all Tables, their columns, and their Datatypes

    If you base your query on INFORMATION_SCHEMA views it should also work for SQL 2005.

    select

    c.TABLE_CATALOG

            ,c.TABLE_SCHEMA

            ,c

  • RE: Using the Command Prompt vis SQL Server Agent

    How about using a DTS package?  It should be able to handle existence checking, bulk insert, and file moving with no problems.

  • RE: custom functions can they be without dbo.

    I pity your successors who would have to maintain that mess.  You're asking "Should I rewrite my application, or rewrite SQL Server?".  The answer is to rewrite the application, because...

  • RE: Wmi alert not firing

    Sorry, I didn't read all the messages.  My servers are still at SP1.

  • RE: Wmi alert not firing

    I have a CREATE DATABASE alert that works, with the definition below.  The response to the alert is to send email to DBA (a Windows mail group).  The alert definition...

  • RE: SQL Server 2005 Configuration Database

    OSQL, SQLCMD, and SSIS are all covered very well in the SQL Server documentation (Books Online).  Another option would be SMO.

  • RE: SQLServer2000 is not using and index in query

    Another possibility, if the previous excellent suggestions don't fix the problem, is having different data types in the joined fields.  This requires a conversion function which makes indexes useless.  The...

  • RE: Need help changing Owners

    You could right-click on the view in the object browser and select Edit...the resulting script should be an ALTER VIEW script with the correct schema name.  It would require at...

Viewing 15 posts - 466 through 480 (of 1,314 total)