Viewing 15 posts - 1 through 15 (of 17 total)
Thanks G-Squared.
What I ended up doing was created a stored procedure that first select all distinct uids from the invoice table ordered by invoice number. Since invoice numbers increment...
May 12, 2008 at 4:29 pm
Ok so I know how to do this now.
I use a stored procedure to get all distinct customers while ordering by their associated invoice.date.
I store this information in a declaration...
May 10, 2008 at 9:38 am
I think I need to do the following logic:
SELECT *
FROM customers INNER JOIN
invoices INNER JOIN
tickets
WHERE top 1(invoice sorted ascending...
May 10, 2008 at 9:16 am
This is actually for a client needing an export of unwanted customers. I wanted to see how theoretically this could be accomplished.
Also, How is you telling me the...
May 10, 2008 at 9:03 am
It returns the record, yet when i run my app the dataset is null (until I remove the update).
March 20, 2008 at 2:03 pm
I ended up creating a separate query for the update and rearranged by asp.net code to work with it. My beliefs about this, until someone changes it, is that...
March 20, 2008 at 1:59 pm
After changing the declared table to a temporary table I am still not getting any results in my asp.net dataset. This makes no sense. If the temporary or...
March 20, 2008 at 12:40 pm
worked like magic! The query now only takes 6 seconds compared to 1:30.
Thanks a ton!!
Cheers,
Justin
January 24, 2008 at 8:52 am
Hey guys I am back. I have another query that I am optimizing that is very similar to the one in this post a couple of months back.
Here is...
January 23, 2008 at 7:09 pm
That is insane... I have much to learn and it looks like I'm at the right place! 😎
December 1, 2007 at 8:21 am
3 seconds with correct results! 😀
November 30, 2007 at 2:28 pm
Antares
Your query did get the correct values, however it took 55 seconds to run the query. I think that the previous solution of using the exists rather than the...
November 30, 2007 at 1:56 pm
wow.. I'm learning more and more.. I'll let you know if that last one work as well. Thanks!
November 30, 2007 at 1:49 pm
Ken: I just tried your suggestion and after adding the brackets around the bottom in Gray, it worked beautifully. It got all 4 of the accounts in...
November 30, 2007 at 11:35 am
Interesting Ken. Thanks for that info as well. I will try your query out and get back to you on that as well.
I am still a...
November 30, 2007 at 8:28 am
Viewing 15 posts - 1 through 15 (of 17 total)