Forum Replies Created

Viewing 15 posts - 24,496 through 24,510 (of 26,486 total)

  • RE: Index Selection

    Where the columns in the select list come into index selection relates to covered indexes. For example, you have an index on an Employee table using EmpID, EmpLastName, EmpFirstName....

  • RE: SQL Best Practices - Universal Checklist

    Carl Federl (7/3/2008)


    A new category - Networking:

    For each application, use DNS to alias the server name. Then when a database needs to be moved for performance reasons or the...

  • RE: Deleting batches of rows with TOP

    Jeff Moden (7/3/2008)


    Jeff Moden (7/3/2008)


    Ted Pin (7/3/2008)


    Oops, I meant "Would a prolific contributor like to write [a guide to writing articles] for [the SQLServerCentral.com community]?"

    Nah... I'd get it wrong... I...

  • RE: Deleting batches of rows with TOP

    The purpose of doing looped Deletes is usually two fold...

    1. Do the deletes and still allow the table to be used.

    2. Keep the transaction log small.

    Item #2 above...

  • RE: SQL Best Practices - Universal Checklist

    I can see using table variables in test environments to test insert/update/delete processes in a explicit transaction. In SQL Server 2005 this is easier using the OUTPUT clause to...

  • RE: Maximum Capacity

    Ron Kunce (7/3/2008)


    jim.powers (7/3/2008)


    This really isn't that hard to understand. The link posted with the question's answer is plainly obvious.

    http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx

    In the Workgroup column on the row for RAM, the limit...

  • RE: Backup Chains

    Steve Hindle (7/3/2008)


    Thanks you for all your replies.

    I have also been experimenting...

    I created:

    Full1.Bak

    Tran1.TRN

    Full2.BAK

    Tran2.TRN

    using SQL2005. I deleted Full2.BAK and restored Full1.Bak, Tran1.TRN and then Tran2.TRN and this worked.

    I'm still a tad...

  • RE: An MVP From Way Down South

    And another hearty Congratulations!

    😎

  • RE: Congratulations to Our New MVPs

    Contratulations to both of you!

    😎

  • RE: which is more secure for file deletion, sp_OACreate or xp_cmdshell

    I'll ask a more general question first. What is being deleted, and what are the requirements for the solution you are working on? I ask, as another way...

  • RE: Calculating Age

    Andrew Hall (7/1/2008)


    Previous script returning a string for days when age < 1 month wks 1-3 months and months < 1 year has an out by one error on the...

  • RE: Calculating Age

    Sergio Lugo (6/30/2008)


    Hi everyone !

    I use this formula:

    Age = floor(datediff(day, [DateOfBirth], getdate())/(365.25))

    You can also put it in a calculated column.

    It works (I think) because one year actually has 365.25 days......

  • RE: Differential Backup Failure

    After seeing this error in another forum thread, I have 2 possibilities. One, the recovery model being used has changed on the database. Two, a BACKUP LOG WITH...

  • RE: Query on Active/Inactive history table

    Does this help you with getting you where you need to go?

    create table #ActiveStatus (

    AcctId int,

    ActiveStatus bit not null, -- 1 =...

  • RE: Query on Active/Inactive history table

    Is this regardless if it also went inactive during that same time (ie does it matter the order of active/inactive)?

    😎

Viewing 15 posts - 24,496 through 24,510 (of 26,486 total)