Forum Replies Created

Viewing 15 posts - 1,501 through 1,515 (of 5,502 total)

  • RE: event notification

    Syed Jahanzaib Bin hassan (5/27/2011)


    use Database Audit Specification against particular object or schema,you can capture all stuff

    http://msdn.microsoft.com/en-us/library/cc280386.aspx

    http://technet.microsoft.com/en-us/library/cc280404.aspx

    Please note this is the SQL 2K5 forum....

    Or is the intention of your reply...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Urgent help with stored procedure (Re-Post) Please need Immediate help...

    Oh, I forgot: an issue open since last Sunday is unlikely to be urgent. If it still is, you might want to consider calling a consultant in. Or you could...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Urgent help with stored procedure (Re-Post) Please need Immediate help...

    What exactly is wrong with the approach posted by Jeffrey at the original thread?

    The ROW_NUMBER approach is the right direction to dynamically calculate the StatusEndDate.

    Please refer to the ROW_NUMBER solution...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Data loss from trigger firing before its previous execution is done.

    The whole trigger is designed to only work with one inserted row.

    The heavy use of NOLOCK hints provide a risk of dirty reads which might be the root cause.

    Rewrite the...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Sort months in chronological order in SSRS

    Glad I could help 😀



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: passing parameter to view

    I would prefer an inline-Table valued function over of a stored procedure.

    The benefit: you can still use it like a view (e.g. SELECT * FROM your_function(param1))



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: blocking due to long query, insert, and new queries

    What table is it, actually, you need to refresh?

    If you don't consider adding proper indexes as an option, you could rewrite the query to create a temp table using the...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: What should be a simple query needed

    Did you realize the @x actually is a variable and not a column name?

    Since we still don't know anything about your table structure we can't provide the correct (SQL Server)...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: What should be a simple query needed

    Ok, let's start from the beginning:

    Please read and follow the instructions given in the first article referenced in my signature and provide ready to use sample data.



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: What should be a simple query needed

    ??????

    Did you try to modify the solution I posted to work against your sample data?



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: What should be a simple query needed

    A very basic example due to missing sample data:

    DECLARE @x VARCHAR(50)

    SET @x='Maryland<h2></h2>'

    SELECT '<h2>'+ REPLACE(@x,'<h2></h2>','</h2>')

    WHERE @x LIKE '%<h2></h2>'



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Sort months in chronological order in SSRS

    ORDER BY CAST(SUBSTRING(CONVERT(VARCHAR(11), date, 113), 4, 8) AS DATETIME)



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: blocking due to long query, insert, and new queries

    The major issue is this rather large join is not supported at all by non-clustered indexes leading to a monster of 26m rows before any filter is applied (in between...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Are the posted questions getting worse?

    GilaMonster (5/23/2011)


    LutzM (5/23/2011)


    Regarding the specific situation: it might be better for the person in question to officially ask for support. Try to deal with the situation "undercover" would just increase...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Are the posted questions getting worse?

    Based on some of your latest reply I might have to re-evaluate my position regarding NP organization... 😎

    Regarding the specific situation: it might be better for the person in question...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

Viewing 15 posts - 1,501 through 1,515 (of 5,502 total)