Viewing 15 posts - 3,106 through 3,120 (of 6,486 total)
Yes you can have a CASE statement in the join, but it will hurt performance somewhat. If you're joining two tables, I would consider dealing with the invalid end...
May 30, 2008 at 6:59 am
I'm not sure why you would need that. The culture is going to be important on the front-end, since it's going to determine how you interact with the end-user....
May 29, 2008 at 5:37 pm
Rod at work (5/29/2008)
OK, that was it. WOW, I feel so stupid; the answer is so obvious.Oh well, thank you everyone for helping me out of my brain fart.
It's...
May 29, 2008 at 1:52 pm
Must....resist...getting...sucked...into...religious...war...debate.
May 29, 2008 at 1:23 pm
Sounds to me that the calculation is wrong for your requirement. Perhaps a different windowed aggregate function.
Try this:
select count(distinct Left(ToName,2)) OVER(PARTITION BY TransTime, DriverNo) as CustCount,
...
May 29, 2008 at 1:12 pm
Jack - what exactly are you having trouble with? What is not happening?
Can't help you without some more specifics....
May 29, 2008 at 12:46 pm
swarada1783 (5/29/2008)
I am planning to use SQL Server Express 2005 as the back end database for one of the VB applications which runs continuously on the client's machine.The data that...
May 29, 2008 at 12:14 pm
Also - keep in mind that unless he also changed the query to USE the full-text index, chances are - it's not using it. Full-text uses different operators to...
May 29, 2008 at 12:02 pm
If you need the T-Logs backed up, then I'd say - skip truncating. Ever. If you need to shrink then by all means, do so, just do it...
May 29, 2008 at 11:58 am
pete.trudell (5/29/2008)
May 29, 2008 at 11:47 am
You're going to have to provide some more details than that. Do these size tables have the same layout and you want to UNION them all? or are...
May 29, 2008 at 11:44 am
Warren Peace (5/29/2008)
Assume this is a production SQL 2005 DB and the recovery model is Full.
A dB get's...
May 29, 2008 at 11:33 am
Good catch Antonio. One small change will help with that. Still looking for breaks, but forcing one at the beginning:
declare @start int
set @start=min(col1) from #myTable;
;With bobCTE as
...
May 29, 2008 at 11:20 am
Phil Factor (5/29/2008)
May 29, 2008 at 11:13 am
your OR is throwing you off.
I'm thinking you want your WHERE clause to be:
where StartTime >= '2008-5-29' and StartTime < '2008-7-1'
and...
May 29, 2008 at 10:58 am
Viewing 15 posts - 3,106 through 3,120 (of 6,486 total)