Forum Replies Created

Viewing 15 posts - 901 through 915 (of 5,502 total)

  • RE: New or Existing Database

    It depends 😀

    If the DBs are in the same instance, use the same collation and security context, have a similar layout of file groups (e.g. in terms of log file...



    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: Sum rows of data from various tables in single column

    You might need to use your current query as the source of a CrossTab query as described in the related link in my signature.



    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: Sum rows of data from various tables

    duplicate post. no replies please.

    Original post: http://www.sqlservercentral.com/Forums/FindPost1187493.aspx



    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: Error in stored procedure

    GSquared (10/6/2011)


    LutzM (10/6/2011)


    ...As a side note: if you're using nested transactions, be aware that a COMMIT or ROLLBACK only affect the outermost transaction (see BOL, Nesting Transactions for details).

    Not quite....



    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: I Have Some Problem in this Query

    It seems like you just reposted the original query.

    Did you even try to follow the hint given by BrainDonor? :unsure:

    What exactly do you mean by "Where need to give"?



    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: Error in stored procedure

    It seems like you're using several transactions but the (logical) number of COMMIT /ROLLBACK commands does not match the number of related OPEN TRANSACTION commands.

    You'll need to review the code...



    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: Pivot with possible multiple rows

    Ok, now we have the result set you don't want to have.

    But what is the result set you're looking for?



    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: How to find PATINDEX for [

    As usual, google will return some helpful info as long as you know the "magic spell".

    in this case, "patindex escape" would have provided a number of helpful links. 😉

    I agree...



    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: Xml format issue

    Please provide some ready to use sample data as described in the first link in my signature together with your expected result based on the sample data provided.



    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: Need Help on SQL Query

    It sounds like homework or test.

    If not, can you please explain the business case?



    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: How to find PATINDEX for [

    Since [ is a meta-character in wildcard expressions, you'll need to wrap it with another set of brackets:

    SELECT PATINDEX('%[[]%',mytextfield)



    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: Pivot with possible multiple rows

    Without seeing the expected result based on your sample data it'S hard to tell what solution may be useful.

    In general, I would look into the CrossTab approach as describerd in...



    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?

    parsayandan (10/3/2011)


    Hello

    codevc.com is a code collection website and he collect best and true way in programming and IT

    ...

    You know, the very first thing this person should post is:

    DO NOT...



    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: Insert data from xml

    I tend to disagree with Ole Kristian:

    SQL Server can handle such scenarios. The concept is called "staging table". You'll shred the xml into a separate table (e.g. all columns being...



    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: Random job failure

    As per this link the issue might be related to an expired password



    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 - 901 through 915 (of 5,502 total)