Forum Replies Created

Viewing 15 posts - 241 through 255 (of 373 total)

  • RE: Update script

    parulprabu (9/30/2013)


    Sean Pearce (9/30/2013)


    kapil_kk (9/30/2013)


    SrcName (9/30/2013)


    can you put your code in more details?

    What are these T.labeltext , T.LabelKey, T.FileID.

    error message is clear

    SELECT 'UPDATE table_1 T

    SET labeltext ='+ T.labeltext

    'WHERE...

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

  • RE: Empty disk - what to do? (performance)

    There is a lot of unknown information here. If done correctly the logical drives sit on different raid sets or LUNs. But we can't say for sure. In addition there...

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

  • RE: Need to redirect .net app to another sql server

    I have to agree with Sean on this. It does not make any sense to hard-code database connections. It presents so much work for the developer and produces a...

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

  • RE: Need to redirect .net app to another sql server

    Ed Wagner (9/27/2013)


    Sean Lange (9/27/2013)


    Jon Higgins (9/27/2013)


    Meanwhile, walk up to that developer and punch him straight between the eyes. It is unacceptable to hard code a connection string into an...

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

  • RE: Error converting data type nvarchar to numeric

    sestell1 (9/27/2013)


    You should definitely read that article, it is very good but the solution presented there only works for integers.

    I think something like this will get you close:

    WHEN ISNUMERIC(Value) =...

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

  • RE: ORDER BY clause based on values IN ()

    I'd probably do something silly like this:

    declare @somedata table (ID int primary key identity (1,1)

    ...

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

  • RE: Duplicate key was ignored warning returned even when no duplicates are found

    Can you provide the table definition for PORT?

    I ran into an issue like this where by there were nulls in the source data. Once I excluded them I had no...

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

  • RE: how to replace this cursor with set based solution?

    Luis Cazares (9/26/2013)


    Be careful on using table variables, they might reduce performance on your query depending on the number of rows. You should test what's better for your performance (temp...

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

  • RE: Empty disk - what to do? (performance)

    When I provision for a new SQL Server box here is what I ask for:

    1) System disk

    2) Data disk

    3) Log disk

    4) TempDB Data disk

    5) TempDB Log disk

    Most of systems, these...

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

  • RE: Need to redirect .net app to another sql server

    Sean Lange (9/27/2013)


    Can't you go to that developer and have them fix their code?

    +1

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

  • RE: Prevent backups on C:\ drive?

    I find this question somewhat puzzling. All of my backups go to a designated backups folder. I have never created a backup in an unwanted location. So...

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

  • RE: Using Alias in Where

    I agree here with the CTE or CROSS APPLY. Otherwise you would have to but your select in your WHERE clause which is in my opinion is bad coding....

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

  • RE: data copy

    This is something I do all the time. There are several methods you can choose from. The first is a real simple method that you discovered. The...

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

  • RE: Five Rules For Sucessful Conversations With DBAs

    Hold the phone here.... you are placing a stereotype on DBAs which I don't really agree with.... I have played the role as DBA for a very long time along...

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

  • RE: Primary Keys which are not Clustered Indexes in a database

    Interesting script. I ran it against one of my legacy databases to which I manage but did not design. It was quite clear the designer didn't understand the...

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman

Viewing 15 posts - 241 through 255 (of 373 total)