Forum Replies Created

Viewing 15 posts - 4,666 through 4,680 (of 9,643 total)

  • RE: PASS or Class?

    As Gail has mentioned it might depend on who is teaching the class.

    Here's my take otherwise.

    If the main thing you are interested in is learning and getting in-depth knowledge, then...

  • RE: Selecting columns based on user input?

    I understood you to mean that you could have several different ways the manager wants to look at the data. If it is only those 2 then I would...

  • RE: remove duplicate rows

    Please run this against the same database and post on the results:

    SELECT @@VERSION AS version,

    SERVERPROPERTY('ProductVersion') AS version1,

    ...

  • RE: remove duplicate rows

    You have to put a ";" before the WITH. It's a little annoying, but it is required. You either have to end the prvious statement before the cte...

  • RE: Standardizing a Field

    This can be done. Here are a couple of tips that should help. Check out the STUFF() function in BOL and lookup Tally table here on SSC. ...

  • RE: Selecting columns based on user input?

    Your options are either to limit the selections the manager has and run a specific stored procedure for each option, return the all the detail data and do all the...

  • RE: remove duplicate rows

    Are you running SQL Server 2005? That statement should work on 2005/2008 against any table. Can you post the actual table structure?

  • RE: SQL 2005 Sample Databases

    Here's[/url] a GL project on codeplex.

  • RE: remove duplicate rows

    I believe you are getting this error because there is no PK or Unique Index on the table so SSMS can't identify what to delete.

    Behind the scenes SSMS is running...

  • RE: Sending emails

    Looks like the error is being returned from the mail server because your mail server limits the size of mail messages. I don't think this is a SQL Server...

  • RE: restore just one table

    Yes the restore to a new or temporary database is the way to do this.

    The syntax for restoring a backup to a different database is this:

    RESTORE newDatabase FROM DISK='Path to...

  • RE: Using a Trigger to record SQL command execution errors?

    Isn't this something that should be handled in the application, not in SQL Server? The application receives an error message or time out message from SQL Server when there...

  • RE: Returning accumulated totals from multiple rows

    Jeff has pointed you in the right direction.

  • RE: Query performance for Ordering

    Try running with a recompile hint. You might be just re-using the cached plan.

  • RE: Query performance for Ordering

    You may want to check out this blog post[/url] by Grant Fritchey as it applies to your query.

    What happens if you remove the TOP operator.

Viewing 15 posts - 4,666 through 4,680 (of 9,643 total)