Forum Replies Created

Viewing 15 posts - 24,451 through 24,465 (of 26,490 total)

  • RE: Management Studio equivelent to Enterprise Manager Data editor

    Right click on the table in the Object Explorer Pane, select Open Table.

    😎

  • RE: Given an employee table( with columns Emp_ID,Emp_Name,Emp_Salary), how would you find out the fifth highest salary?

    Hard to tell from the question alone. Michael Earl is right, we need to know more from the OP before we can really answer the question.

    😎

  • RE: Moving System Databases

    Here is what I found in BOL.

    G. Moving tempdb to a new location

    The following example moves tempdb from its current location on the disk to another disk location. Because tempdb...

  • RE: Moving System Databases

    The easiest system database to move is tempdb. If memory serves me, there is actually an example in BOL on how to move tempdb. It does require a...

  • RE: Get rid of cursors

    I had a little time here at work and started looking at your code a bit. Something I noticed was the use of 3 part naming conventions in your...

  • RE: Reduce Code Duplication in Stored Procedure?

    I only gave you the query, you'll need to put it into your proc.

    ALTER PROCEDURE [dbo].[spTEST]

    (

    @LineNum VARCHAR(10) = NULL,

    ...

  • RE: DIY

    There are somethings I can do, some things I can't, and some I just don't want to do. I really don't want to work on the cars, I'd rather...

  • RE: Reduce Code Duplication in Stored Procedure?

    charles.frank (7/11/2008)


    Is there a way I can reduce the duplication in this stored procedure? In each if statement, I have practically identical code except for one line in the...

  • RE: Validate Date

    mailsar (7/11/2008)


    RBarryYoung,

    I have a Question,

    Is 1 better or 2 better(Join).

    1.

    FROM Product, ProductType

    WHERE ProductType.ProductTypeID = @ProductTypeID AND

    ...

  • RE: Get rid of cursors

    CTE's alone won't eliminate your cursors. You have to totally relook at the process from set based view instead of a row by row view as is done with...

  • RE: Get rid of cursors

    rbarryyoung (7/11/2008)


    Missing: sample data for the tables (in the form of INSERT statements that can be cut, paste, and run in SSMS to load the tables).

    still not seeing it.

    You noticed,...

  • RE: Understanding INNER join in detail

    john.richter (7/10/2008)


    ...--witness the gentleman above who has yet to be introduced to upper case. I've noticed my own growing propensity to skip words and drop vowels. ...

    Could be...

  • RE: Get rid of cursors

    What we have: current code, table DDL, sample output.

    Missing: sample data for the tables (in the form of INSERT statements that can be cut, paste, and run in SSMS to...

  • RE: Get rid of cursors

    Although the WHILE loop eliminates the CURSOR, it doesn't eliminate the RBAR. You are still doing row by row processing.

    In order to really help, we need additional information. ...

  • RE: Understanding INNER join in detail

    Marty Benson (7/9/2008)


    I was actually expecting this article to show me why I needed the "INNER" keyword when using "JOIN".

    I always just use "JOIN" without the "INNER" and I was...

Viewing 15 posts - 24,451 through 24,465 (of 26,490 total)