Forum Replies Created

Viewing 15 posts - 20,581 through 20,595 (of 22,202 total)

  • RE: Scripting column moves

    Nope. Sorry.

    The best you can do is write some code to generate the scripts, but you'll need 25 commands for 25 tables.

  • RE: SQL Configuration analysis

    Turning a badly performing query into a stored procedure won't improve performance. You'll need to determine what the query is doing. Is the function being done in the best way?...

  • RE: Scripting column moves

    If you have to rearrange the columns on the second table, the best way is to drop & recreate the table. Or will that cause issues somewhere else?

    Use the MS...

  • RE: nHibernate

    Excellent points. Very well delivered. You've summarized where I find myself. I think the only real remaining issue I have with my team is that they do want to toss...

  • RE: CONVERT IMPLICIT on a datetime causing index scan instead of seek

    Once you've got the datatype right, it comes down to indexing. I modified your first example to run against AdventureWorks, just so I had something to test:

    DECLARE @period DATETIME

    SET @period...

  • RE: ISNULL vs. COALESCE - which to use?

    Until you're down to squeezing the last 10-20ms out of a query, I don't think it matters. COALESCE has a lot more flexibility than ISNULL, so, I'd say, if you...

  • RE: Find out if a database is being used and how much

    I don't think there is one that tracks connections historically. If you really don't want to run Profiler, you might try running queries against sys.dm_exec_query_stats and see if any queries...

  • RE: Query Optimization problem(Heavy cost in Top n Sort)

    Without everything that Gail asked for, answering this is tough, but it looks like you've got that SELECT statement as part of your initial SELECT statement. Move it into your...

  • RE: Table Level Access

    Excellent information. Thank you very much.

  • RE: How To Desing a Database

    Or even go ahead and start developing against SQL Server 2008. It's going to take you a few months to build an application that will host millions of users, so...

  • RE: nHibernate

    Damn straight I'm not sure what I'm getting into.

    I recognize the issue that ORM tools are attempting to solve. I acknowledge that the various tools I've investigated do a pretty...

  • RE: indexes and joins

    While the optimizer might choose to sort & join using the index on the first table, it can't use the index on the first table to access the data on...

  • RE: Efficient Query

    What everyone else has said plus, assuming an OLTP system, you're avoiding scans, bookmark lookups (key lookups) and ineffecient joins in the queries. Assuming a reporting system, you're avoiding scans...

  • RE: Table Level Access

    Samuel Clough (4/22/2008)


    From a DBA perspective, iBatis.NET should really be promoted more than it is. It takes a different approach from most other mappers. It takes care of...

  • RE: Table Level Access

    Andy Warren (4/22/2008)


    Grant, I disagree that removing a tier saves time. Tiers are there for a reason! But we can agree to disagree. Bob, good for you for spanking Steve...

Viewing 15 posts - 20,581 through 20,595 (of 22,202 total)