Viewing 15 posts - 57,961 through 57,975 (of 59,066 total)
Bulk Insert does not necessarily require field separators if you use a format file. Or, just use Bulk Insert to import to a single column tables and then use SUBSTRING...
July 24, 2006 at 10:09 pm
Totally untested... should be nasty fast if the ID and StartTimeColumns are indexed.
SELECT tc.ID,
tc.StartTime,
tc.StopTime,
d.MinStopTime AS OriginalStopTime
FROM dbo.TimeClock tc WITH (NOLOCK),
...
July 24, 2006 at 10:06 pm
If you want strictly ANSI 92 compliant stuff, there's no need for a book on T-SQL...
For the record, if you're one of those folks that insists on writing...
July 24, 2006 at 9:50 pm
Aye... thanks Rudy... you made my day!
"Non illigitimi ie carborondum" ![]()
July 24, 2006 at 9:28 pm
Ok folks... Dave and, I'm sure, Scott will be interested in this...
First, Scott posted what I call "QCSV" or "Quoted Comma Separated Values". This is a format where the double...
July 24, 2006 at 9:07 pm
That's kinda where I was going to take it but Scott already beat the heck out of his data provider...
July 24, 2006 at 5:38 pm
That must be why I'm "a little behind"
(Sorry, couldn't help myself
)
July 24, 2006 at 5:33 pm
| it's always easier when you've been doing this for years, |
Can't argue with that, Colin... it's why us old...
July 24, 2006 at 5:16 pm
In that case, I'll give it a whirl... I was just "busy"...
July 24, 2006 at 4:50 pm
It is just less typing in Query Analyzer... |
... unless you cheat and use SELECT/INTO... if you are...
July 24, 2006 at 4:48 pm
I believe that if you include "Reorganize data and index pages" in the {Optimizations} tab, fragmented tables are defragmented.
July 24, 2006 at 4:41 pm
Nice job, Ryan... I was being lazy... not enough coffee that day...
July 24, 2006 at 6:16 am
Table variables are not necessarily faster than Temp tables... they do not and cannot be made to use statistics...
Also, if you think that table variables might be faster because they...
July 23, 2006 at 5:56 pm
Develop a weekly maintenance plan... see Books Online for how...
July 23, 2006 at 5:47 pm
Viewing 15 posts - 57,961 through 57,975 (of 59,066 total)