Viewing 15 posts - 601 through 615 (of 698 total)
Fair enough, so no modification of the table structures, but you should still be able to write an SSMS job, no? Or, technically speaking, you could even just use a...
August 26, 2009 at 12:41 pm
Well, actually, I should have mentioned something - SSIS can only be used as a scheduled task if you have the Enterprise version (or maybe the Developer one as well,...
August 26, 2009 at 12:20 pm
Well, you should ask yourself whether it's important that this process occurs instantaneously.
If it doesn't, then what I'd suggest is that you write an SSIS package which will analyze your...
August 26, 2009 at 11:44 am
Yeah, the execution plans were all identical. So, you're saying that the read-ahead reads are something that could change even if I were to re-run the exact same query? 'Cause...
August 26, 2009 at 7:45 am
Hm - nope, never even heard of that command. What's it do? I'll try it out and see if the results change any.
August 26, 2009 at 7:33 am
Well, I agree there should be no difference 😛 but there is a difference, at least in the IO statistics, which is what confuses me. What's the reason for the...
August 26, 2009 at 7:20 am
Might want to try using SSIS.
I had one application where I needed to import around 15 million records into three separate tables. Originally I had it set up through a...
August 26, 2009 at 6:35 am
You'll have to provide more than that if you want help, since like i said, just a quick test which i pasted above, shows that it works fine.
There must be...
August 25, 2009 at 3:52 pm
There must be something you're not mentioning, because this works fine:
CREATE TABLE #Test
(
CounterID INT,
RecordIndex INT,
CounterDateTime CHAR(24)
)
INSERT INTO #Test (CounterID, RecordIndex, CounterDateTime)
VALUES (2, 2, '2009-08-24 10:44:14.048')
SELECT CAST(CounterDateTime AS DATETIME) FROM #Test...
August 25, 2009 at 3:27 pm
SQAPro (8/25/2009)
A more experienced person (our DBA) explained it...
August 25, 2009 at 1:57 pm
well, personally never used GOTO in a stored proc, so i can't comment on that, but try this. Note that it requires SQL Server 2005+, as the TRY-CATCH blocks don't...
August 25, 2009 at 1:35 pm
Okay, another question on the same note:
Is there any difference between:
SELECT Columns
FROM TableB
JOIN TableA ON SomeColumnA = SomeColumnB
AND SomeClauseFromTableA
WHERE SomeClauseFromTableB
and
SELECT Columns
FROM TableA
JOIN TableB ON SomeColumnA = SomeColumnB
AND SomeClauseFromTableB
WHERE SomeClauseFromTableA
August 25, 2009 at 10:36 am
Perfect - that's what I figured, just wanted to make sure there wasn't any hidden workings going on behind the scenes that I didn't know about.
Personally, I always put the...
August 25, 2009 at 10:26 am
Yeah, I know that for Outer Joins they will, for my purposes I'm only looking at Inner Joins though.
August 25, 2009 at 10:18 am
Fair enough - thanks for the help, I'll go with the approach of accessing the other database for the view directly.
August 25, 2009 at 10:10 am
Viewing 15 posts - 601 through 615 (of 698 total)