Forum Replies Created

Viewing 15 posts - 1,051 through 1,065 (of 5,504 total)

  • RE: 50 Gb msdb ate disk

    Do you run Service Broker on that system?

    If so, what does the following query return on msdb?

    SELECT count(*) FROM sys.conversation_endpoints with (nolock)

  • RE: 50 Gb msdb ate disk

    Do you know what table(s) causing the msdb growth?

    You could run the following code against the msdb:

    create table #tableSize

    (name varchar(100), rows int, reserved varchar(50), data varchar(50), index_size varchar(50), unused varchar(50))

    ...

  • RE: Help with SQL Query

    The following approach might cover for some missing Home Addrees values, too (that would be eliminated by the LEFT OUTER JOIN approach).

    But the CrossTab method posted by R.P.Rozema is definitely...

  • RE: Help with SQL Query

    You could also have a look at the CrossTab article referenced in my signature.

  • RE: Sql Server Broker Starting Conversation but not Passing to remote server

    Maybe Rusanus Blog[/url] can help you to narrow down the issue.

    You'll need to figure out "how far" the message is transferred and work from there.

  • RE: Confusion about schema

    Let's see if I can help to clarify a few things:

    I thought a user always had a schema?

    Yes and no. A user always has a DEFAULT schema.

    As per BOL:

    WITH...

  • RE: My Tempdb is Full

    What is the exact error message you get?

    Is the db set to a max size or is can it grow unlimited but the drive full?

  • RE: Difference b/n SQL 2005 64 bit and 32 bit ??

    Lavanyasri (8/30/2011)


    HI ,

    sorry . I got solution please close the ticket.

    There's no reason to be sorry.

    Instead you should post the solution you found so others migt benefit.

  • RE: Help in joining two fields

    Did you try to iterate through the example I posted?

    You might find that the concept you described won't lead to a valid solution since we would need a value of...

  • RE: Help in joining two fields

    pandeesh (8/29/2011)


    As a rule, we can have first matching combination to be selected:

    for Mr.Lutz example,we can put A1 for first occuring combination(30,30,20,20).

    Please let me know if you need any more...

  • RE: Help in joining two fields

    Nope, no (easy) way to solve it from my point of view.

    How would you sort the following:

    A1,1,100

    A2,1,200

    1,60

    1,30

    1,30

    1,20

    1,55

    1,20

    1,15

    1,30

    1,25

    1,5

    1,20

    There are multiple possible solution and it would require a minimum of three steps...

  • RE: Return one row from multiple rows based on order of tests in where clause

    Yes.

    But you don't have to have the statement in the SELECT list. All that's required is it has to be a valid statement that can be used in the SELECT...

  • RE: Migration of the same data in several directions

    How will you decide if a product is already in the target database? Obviously, you can't use the ProductId so you have to use the "natural key". And what is...

  • RE: Are the posted questions getting worse?

    Grant Fritchey (8/26/2011)


    Need the advice of the Thread.

    Putting together an article on the most common backup errors (apart from not having one) and how to avoid them. I have four...

  • RE: Return one row from multiple rows based on order of tests in where clause

    tshad (8/26/2011)


    That was what I was looking for.

    I added in the Order by without the Top just to see how it would order and it worked great.

    3Main2MainClass

    2MainNULLMainClass

    1MainNULLNULL

    Not sure what this...

Viewing 15 posts - 1,051 through 1,065 (of 5,504 total)