Forum Replies Created

Viewing 15 posts - 2,476 through 2,490 (of 14,953 total)

  • RE: Are the posted questions getting worse?

    Grant Fritchey (12/27/2011)


    Jeff Moden (12/26/2011)


    I have a serious question for my fellow Threadizens...

    Based on the fact that we can't get people to run good sets of backups despite Umptymillion articles,...

  • RE: Are the posted questions getting worse?

    bitbucket-25253 (12/26/2011)


    Revenant

    I can be biased, but I would make sure that the methodology conforms to http://www.amazon.com/How-We-Test-Software-Microsoft/dp/0735624259/ref=sr_1_1?ie=UTF8&qid=1324952533&sr=8-1.

    Gosh - if that is the definitive method then Lord help us...

  • RE: Differential backup without full backup

    Probably.

    Yes, differential is all changes since the last full backup.

    But most third party backup software does backups that count as "full" backups. Some don't (doing file-level backups instead), but...

  • RE: Advice for my scenario

    You could use the Top () operator to do that.

    declare @Rows int;

    set @Rows = 5;

    select top (@Rows) MyColumn

    from dbo.MyTable

    order by MyOtherColumn;

  • RE: Advice for my scenario

    Yes. Just translate your Courses Purchased into hours in all cases, whether they buy hours directly or courses.

    This sounds like homework or a test. Is it?

  • RE: TRY + CATCH + PARTIAL ROLLBACK

    Dev (12/27/2011)


    karthikeyan-444867 (12/27/2011)


    LOOP ?

    WHILE LOOP ?

    Loops are equally bad as cursors. You might only save few milliseconds (or microseconds).

    And you might make it worse. While Loops are...

  • RE: TRY + CATCH + PARTIAL ROLLBACK

    karthikeyan-444867 (12/27/2011)


    Thats what my first thought (using cursor) on this requirement. But...i just wanted to do this without using BAD CURSOR 🙁

    The "badness" of a cursor is pretty mild compared...

  • RE: Connect to SQL Server

    If you want to restart SQL Server services (SQL Server, SQL Agent), you can do that from within SSMS, by right-clicking the appropriate item and selecting Restart.

    Other services, you right-click...

  • RE: Added index caused proc time to increase from 8 seconds to 5 minutes- caused by a function in the where clause

    I've seen this before.

    The index was better for the rest of the query, and since SQL Server can't estimate into a scalar UDF, it decided to use that index. ...

  • RE: Connect to SQL Server

    Is the server local (same computer as Management Studio) or remote (different computer)?

    If remote, is it on the same Windows domain as the computer with SSMS (Management Studio), or a...

  • RE: Need help joining two tables without common key

    update a set a.[did]='z' from locn a

    join acs b on a.[lid]=b.[lid]

    join aco c on c.[uid]=b.[uid]

    where c.[type]='c'

    You want a (locn) updated where a.did = 'd', per your description:

    I want to update...

  • RE: Data is saved in a different format.

    The client pcs could certainly be an issue. Could also be browser version issues, if the application is browser-based. Or could be a WINE vs Windows issue, if...

  • RE: Self Join

    Costs in execution plans are, by and large, junk data. Use the I/O and time stats instead.

    Another option would be to Outer Apply the sub-query, but that's likely to...

  • RE: Query Tuning

    I have to admit, I spent a couple of minutes reading and re-reading the possible answers, trying to figure some way it could possibly be something I was missing. ...

  • RE: Query Tuning

    tabinsc (12/27/2011)


    Excellent question Jeff! I do have one question: If clustered index columns are auto-appended to nonclustered indexes, what if the nonclustered index is unique? Adding the...

Viewing 15 posts - 2,476 through 2,490 (of 14,953 total)