Forum Replies Created

Viewing 15 posts - 1 through 15 (of 73 total)

  • Reply To: Solve a problem without using Loops

    If anyone is interested... here is what we came up with...

     

    drop table #InvoicesWithBalances

    drop table #AvailableCredits

    drop table #invoice

    drop table #credits

    create table #InvoicesWithBalances

    (

    InvoiceKey decimal(18,0) not null,

    Balance decimal(18,6) null,

    ShipToNumber nvarchar(10),

    SupplierNumber nvarchar(10)

    )

    create table #AvailableCredits

    (

    InvoiceKey...

  • Reply To: Solve a problem without using Loops

    Thanks Jonathan

    Your points about the additional data in the tables are well taken - this is just a simplified example for the purpose of this post.

    I was convinced going into...

  • RE: Amount of RAM in server

    tfeuz - Sunday, November 19, 2017 6:24 PM

    Jeff Moden - Sunday, November 19, 2017 6:21 PM

    November 19, 2017 at 6:25 pm

    #1968709

  • RE: Amount of RAM in server

    Jeff Moden - Sunday, November 19, 2017 6:21 PM

    tfeuz - Sunday, November 19, 2017 6:13 PM

    November 19, 2017 at 6:24 pm

    #1968708

  • RE: Amount of RAM in server

    Jeff Moden - Sunday, November 19, 2017 5:56 PM

    tfeuz - Friday, November 17, 2017 3:19 PM

    November 19, 2017 at 6:13 pm

    #1968706

  • RE: Indexing Issue

    Michael L John - Wednesday, November 15, 2017 3:20 PM

    This is a classic catch-all query.  
    I had this exact same issue to deal...

  • RE: Indexing Issue

    Sergiy - Wednesday, November 15, 2017 2:34 PM

    Ok, from what you're saying I can see several key issues.1. It's all in a...

  • RE: Indexing Issue

    Segiy,

    That is not quite what I am saying...

    In the initial application I had a query that did the following:

    select * from MainProduct Table where...

  • RE: Indexing Issue

    Sergiy

    We move all of the products out of...

  • RE: Indexing Issue

    Gail,

    Most of queries we are seeing are:
          select * from #ChangeProducts where vendorpartnumber like 'bob%'

    As noted above, the user has 5 fields to...

  • RE: Indexing Issue

    Here is the problem with the include --- 
    the gird that returns the results is configurable by user, they can choose to have as little as one of the columns...

  • RE: Indexing Issue

    That is actually the only way it is used... the user is just doing a search on the table and they have an option of searching by any of the...

  • RE: Indexing Issue

    Good point Steve...

    We do limit the searching to only strings that start with what the user inputted.
    So if the user entered "bob" we turn it into like...

  • RE: Need help with figuring out query performance problems

    Adding myself to thread so I can see replies

  • RE: Query performance

    I will Check that index!

    when I refer to the server being slow here are some examples

    - sms takes a good 3-5 minutes to open before it even let's...

Viewing 15 posts - 1 through 15 (of 73 total)