Forum Replies Created

Viewing 15 posts - 271 through 285 (of 373 total)

  • RE: Insert if its new record, Update its existing record in database

    I too have found that the MERGE construct works very nicely. Sure beats having an INSERT / UPDATE which was done historically....

    Kurt

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

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

  • RE: Issues with DTA....

    Well today I'm a happy man... I found the issue that I have been having issues with. It turns out to be a GRANT issue in the MSDB database....

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

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

  • RE: Check Constraint and Case Statement

    Why are you using a constraint construct here instead of a trigger?

    Kurt

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

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

  • RE: How to move specific columns from one DB to another one?

    pavlenych (8/15/2011)


    But i can't use this Wizard, because it can't use View, only whole DB.

    I'd check permissions on your views, cuz the import/export wizard should allow you to move data...

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

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

  • RE: How can I email myself a list of databases on my server?

    jpSQLDude (8/12/2011)


    It seems like this should be simple, but I must be missing something really basic.

    Everything works fine except the part about trying to stuff EXEC sp_databases into a...

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

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

  • RE: stored proc calls another sp --Can both run parallelly ???

    kumar1 (8/12/2011)


    @ninja's_RGR'us: Thanks very much for this solution. I am working closer with this solution.

    @Kurt W. Zimmerman: You are obsoltely right.I have done similarly before but used waitfor delay option.

    Thank...

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

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

  • RE: stored proc calls another sp --Can both run parallelly ???

    Some time ago I wrote a process that was spawn asynchronous Agent jobs to process a range of data. I don't remember the exact details of the work to...

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

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

  • RE: WHERE IN (NULL,0,1)

    zach.hassler (8/12/2011)


    I think I figured it out.

    WHERE (@Parameter IS NULL OR (@Parameter IS NOT NULL AND someflag = 1))

    Often times, when dealing with null values in a column of data...

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

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

  • RE: Cursors: Static v Insensitive

    Sean Lange (8/12/2011)


    I think the more important question is how can you eliminate your cursor and therefore not really care about some of the subtle details. 😛

    Honestly cursors are one...

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

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

  • RE: Issues with DTA....

    Brandie Tarvin (8/12/2011)


    Kurt W. Zimmerman (8/12/2011)


    Any script I run through DTA comes back with the same results.... IE no recommendations and yet Estimated Improvement: 99%.

    And being totally snarky (forgive the...

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

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

  • RE: Issues with DTA....

    Brandie Tarvin (8/12/2011)


    What changed between the time it was providing results and the time it stopped?

    Any OS service packs? Any SQL Server hot fixes / SPs? Any major issues with...

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

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

  • RE: Issues with DTA....

    Brandie;

    Sorry for the confusion.... What I should have said DTA is no longer providing me any results. Any script I run through DTA comes back with the...

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

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

  • RE: Does your employer assume you have broadband internet?

    I think the simple answer to this question is it all depends on the employer. I live in a metropolitan area and everyone in the "hood" has broadband. ...

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

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

  • RE: SQL 2005 - Shortcut key to take a table to Query window

    I use a tool from Redgate called SQL Compare that allows me to compare database structures. If you need to get down to the data level there is SQL...

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

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

  • RE: Full-Text Index - script for checking for auto-populate status

    Well folks... I managed to spend some time on this and I got the answer.... along with a job that runs to check the status

    I found this:

    select objectproperty(object_id('table name'),'TableFullTextBackgroundUpdateIndexOn')

    This...

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

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

Viewing 15 posts - 271 through 285 (of 373 total)