Viewing 15 posts - 18,076 through 18,090 (of 18,923 total)
WOW... and I thaught I was starting to know something about t-sql.
Where did you learn to do that?? (I know it's just a little trick but still it's not that...
April 20, 2005 at 12:58 pm
You don't need dynamic sql to do this task, please stay away from it.
April 20, 2005 at 6:36 am
But it is a nice way to create a few version of the same proc and see which one performs the best.
April 19, 2005 at 2:03 pm
Why not truncate / reinsert??
Might save you the permission problem in this case.
April 19, 2005 at 1:37 pm
Create proc MyProc @Operator as varchar(2), @EquipmentCount as INT,
AS
Set nocount on
select count (*) as carrier_count from dbo.v_MTSTM_EquipmentCountByCarrier where 0 <
case when @Operator = '<' and equipment_count ' and equipment_count...
April 19, 2005 at 1:36 pm
Maybe we should find a way to scare these guys away
.
April 19, 2005 at 12:59 pm
And from my belly profile you could see that you'd have plenty of room to bounce things off me
.
April 19, 2005 at 12:56 pm
I for one just ain't afraid of that tiny shark... he's gonna have to try harder to scare me off this board
.
April 19, 2005 at 12:44 pm
Is it possible that you forgot 1 column in the exists?..
or that the diff ljoin screwed up more data than you thaught?
April 19, 2005 at 12:25 pm
Seems ok from here... what's the problem??
Did you do a select into of the full statements or only the last join that was causing problems?
April 19, 2005 at 12:16 pm
Hence my suggestion to read the whole post before trying to help... It's happening far too often these days (not just you
).
April 19, 2005 at 12:07 pm
not in on 8 M records?????????????????????????
I would strongly suggest left join or not exists on this situation.
April 19, 2005 at 11:53 am
As it's been suggested you can run a left join or a not exists statement to see which line is missing from the second table. As far as syntaxe...
April 19, 2005 at 11:30 am
Viewing 15 posts - 18,076 through 18,090 (of 18,923 total)