Forum Replies Created

Viewing 15 posts - 5,026 through 5,040 (of 5,678 total)

  • RE: have any idea on what exactly is nolock and why do we need to use this...

    NOLOCK hints are to do non-serialized reads (dirty reads) on data. It ignores all internal locking mechanisms of SQL Server and grabs the data it wants on each table...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Dead Lock Issue

    Wildcat, it's SQL Server:

    com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 112) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

    However, without having tracing...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    GilaMonster (11/9/2010)


    In case anyone (living under a rock maybe) missed the announcement:

    Microsoft® SQL Server® code-named 'Denali' - Community Technology Preview 1 (CTP1) : http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6a04f16f-f6be-4f92-9c92-f7e5677d91f9

    Got a blog post with a couple...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    GilaMonster (11/9/2010)


    I love Wayne's reply there (last page)

    My personal favorite is from Sanchin, though I still feel he gave the OP too much.

    You really wanna know?

    I thought you would rather...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Need to return exceptions data from a one-to-many

    WayneS (11/9/2010)


    @craig-2: 😛 :w00t:

    LOL

    I was getting brainlocked on trying to get away with some MAXRECURSION 0 method and then had a job I've been working on (at work! ...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Need to return exceptions data from a one-to-many

    SSSolice (11/9/2010)


    @OnBreak : represents a clock scan time of when a break began.

    @OffBreak : represents a clock scan time of when a break ended.

    @DaysHoursWorked : represents total hours worked...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Using the salary table on the left, write a SQL Server T-SQL query to find the Top 2 salaries for each employee. The result of the query is on the right.

    For the curious, question is from here:

    http://www.scribd.com/doc/40561966/sql-Test.

    Blocked by websense, I'm assuming it's a historical question/quiz.

    How to find it?

    http://www.google.com/#sclient=psy&hl=en&q=sql+%22top+2+salaries+for+each+employee%22&aq=f&aqi=&aql=&oq=&gs_rfai=&pbx=1&fp=eeb05746d54f919c

    So, the answer they really want is:

    Blah bla bla, blah blah. ...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: matching values

    Marcus Farrugia (11/9/2010)


    Hi Craig, other than reading you're link:

    http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

    No I haven't seen execution plans. Looks like I have some homework to do... 🙂

    Since you're willing to learn, let...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    And back on topic for the thread:

    http://www.sqlservercentral.com/Forums/Topic1018016-338-1.aspx

    *wallbanger*

    I'll be "blah blah"ing over in the corner now.


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: matching values

    Marcus Farrugia (11/9/2010)


    Actually no I don't, my knowledge of indexes in general is limited...

    Hm, have you any experience then in looking at execution plans?


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Really? Then how? (Rant/Vent)

    David Lester (11/9/2010)


    If they find a moderately competent IT director, this will stop. (Over the year there has been no one in the role things have steadily become worse.)

    Okay, Career...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Using the salary table on the left, write a SQL Server T-SQL query to find the Top 2 salaries for each employee. The result of the query is on the right.

    Sachin.Nandanwar (11/9/2010)


    rko.37gags (11/9/2010)


    i attached the excel file

    Now that's better.

    Below is your query.

    select * from

    (

    select *,row_number()over(partition by employeeid order by salary desc)rid from salary

    )T where...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    To drag the Canadian Geese back to a different formation for a moment, my websense and whatever is used in the Contribution Center doesn't play nice at work. At...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Copy data from prod to dev/test databases

    rohit79 (11/9/2010)


    I need to completely refresh Dev/test evn with data ONLY from Prod.

    And I need to retain the original users on each db servers/ea. databases.

    These two items...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Using the salary table on the left, write a SQL Server T-SQL query to find the Top 2 salaries for each employee. The result of the query is on the right.

    rko.37gags (11/9/2010)


    Question: Using the salary table on the left, write a SQL Server T-SQL query to find the Top 2 salaries for each employee. The result of the...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

Viewing 15 posts - 5,026 through 5,040 (of 5,678 total)