Viewing 15 posts - 3,421 through 3,435 (of 5,590 total)
Bezan (9/1/2010)
September 1, 2010 at 7:37 pm
Marcia Q (9/1/2010)
And just because I'm paranoid, I have marked on my calendar to double check this on November 7th. 🙂
I would not call this paranoid, but prudent. Always remember:...
September 1, 2010 at 7:02 pm
matt6288 (9/1/2010)
Wayne,Thanks for pointing out the triangular join I had going on. I never see them until someone points them out.
No problem. (Just look for < or >)
I can...
September 1, 2010 at 2:31 pm
Craig Farrell (9/1/2010)
September 1, 2010 at 2:24 pm
Depending on how many of these you have to do, this may work better:
select top (1) Item
from dbo.DelimitedSplit8K(@sss, ',')
order by ItemNumber desc;
Click here for the latest...
September 1, 2010 at 2:11 pm
How's this? Still needs to be made dynamic; I just want to make sure that it's working correctly first.
;WITH CTE AS
(
SELECT Partner, Account, Debit, Credit,
...
September 1, 2010 at 2:02 pm
Bezan,
Given that @startdate = '2009-10-28', is Day1 = @startdate, or the following date?
September 1, 2010 at 1:27 pm
irobertson (9/1/2010)
Jeff Moden (9/1/2010)
Ooooooo... crud. I'm on my way to work and always miss out on the fun stuff. I'll be watching whoever gets to this one. 😛
Lol,...
September 1, 2010 at 1:16 pm
This looks like something that is being displayed to the user. This type of hiding of repeated values is usually handled in the displaying application.
September 1, 2010 at 1:13 pm
I assume that you are using a cursor so that you can get the value of the identity column [dbo].[StockTransferNote].[WebSTNNo], so that it can be put into [dbo].[StnXItems].[WebSTNNo]?
In this case,...
September 1, 2010 at 1:10 pm
Well, I'm in EST, which is GMT - 05:00. However, right now I'm showing a 4 hr difference, and we are in DST. So, since this is off of the...
September 1, 2010 at 12:30 pm
GSquared (9/1/2010)
September 1, 2010 at 12:13 pm
Okay, so now that I blasted the previous query, here's one that will perform better.
Remarks are within the code.
if OBJECT_ID('tempdb..#temp') IS NOT NULL DROP TABLE #temp;
CREATE TABLE #temp
(-- need to...
September 1, 2010 at 11:39 am
This form of a query is known as a "triangular join". You might want to check out this article[/url] for clues on why this query just might be the worse...
September 1, 2010 at 9:56 am
Marcia Q (9/1/2010)
We use SQL2005.
We are in the central time zone.
We observe daylight savings time.
We need...
September 1, 2010 at 9:45 am
Viewing 15 posts - 3,421 through 3,435 (of 5,590 total)