Forum Replies Created

Viewing 15 posts - 181 through 195 (of 1,034 total)

  • RE: Dropping #temp tables at the end of stored procedure

    aaah duh.... figured out how to search...

    here it is.

    Of course he counterracts his own "don't" statement from before and says it shouldn't matter. Which is what I thought until...



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

  • RE: Dropping #temp tables at the end of stored procedure

    What's odd, was that I was in a session held by Microsoft about 2 years ago and the expert talking about performance recommended against it. Something about how the...



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

  • RE: SET Options - 2

    mtassin (12/4/2012)


    I get this if I run the script.

    Msg 102, Level 15, State 1, Line 8

    Incorrect syntax near 'GO'.

    If I remove the semi-colon from the GO, it works.

    BLAH! Why...



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

  • RE: SET Options - 2

    I get this if I run the script.

    Msg 102, Level 15, State 1, Line 8

    Incorrect syntax near 'GO'.

    If I remove the semi-colon from the GO, it works.



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

  • RE: SQL

    Hugo Kornelis (11/30/2012)


    Tom, I also have been trying to find when cascading referential integrity was introduced. Like you, I could not find anything conclusive, but I might very well have...



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

  • RE: SQL

    Koen Verbeeck (11/30/2012)


    dineshbabus (11/30/2012)


    How come you are saying Cascade is normal on update/delete. By default it will be No Action rite?

    Yes. But changing it is also normal.

    Just because the default...



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

  • RE: SQL

    dineshbabus (11/30/2012)


    I think he is expecting us to think in normal scenario.. We shud not think beyond that..

    My normal scenarios include Nullable foreign keys and DELETE CASCADE options.



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

  • RE: SQL

    Koen Verbeeck (11/30/2012)


    Got it wrong because you can update or delete rows in the primary tables if you specify ON CASCADE options.

    Next time do more homework please.

    I completely concur

    On CASCADE...



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

  • RE: Transactions in T-SQL

    I thought it was a good question... a little bit tedious for me to pick through (apparently I need more coffee or something), but a good one nonetheless.



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

  • RE: Nanoseconds

    I was going to say... method two.

    cast(cast(reverse(substring(cast(@t as binary(9)),2,5))

    as binary(5)) as bigint)*100

    Lacks a select, lacks a declare for @t, etc... and the question was , which methods...



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

  • RE: Partitioned index

    I should have looked at and answered this one this morning.

    Instead I'm sitting here after a big lunch barely concious... I think I picked answers at random.



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

  • RE: SSIS Processing of SSAS Multidimensional Cube Fails

    Just an FYI here.

    I managed to get my SSIS package to process SSAS.

    I did it by creating a Job in SQL Agent to run the IS task.

    When I then ran...



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

  • RE: MDX Guide for SQL Folks: Part I - Navigating The Cube

    This is something I've wanted to have in my pocket for a long time.

    SQL has always made sense to me... MDX has not... and until I've read and re-read this...



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

  • RE: character ordering

    Oh and of course I got it wrong... because I just went with

    SELECT ASCII('Z')-ASCII('0')

    Sadly I'm just too dang American... A thru Z, 0 thru 9... sure... but ASCII isn't Latin1_General_CI_AS



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

  • RE: character ordering

    SQL Kiwi (11/1/2012)


    derek.colley (11/1/2012)


    I'm afraid this question was just too obscure for me. It's a good question, sure, but why would I need to know this or reference it...



    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

Viewing 15 posts - 181 through 195 (of 1,034 total)