Viewing 15 posts - 9,556 through 9,570 (of 14,953 total)
I got my DBA experience through necessity. I built a database (started out being for my own use at work), and then I got to administer it.
There is a...
May 11, 2009 at 8:09 am
Jeff Moden (5/10/2009)
Paul White (5/10/2009)
May 11, 2009 at 7:07 am
It probably can be done without a loop/cursor. I'd need create scripts for tables and insert statements for some sample data, to tell for sure. But it does...
May 8, 2009 at 12:26 pm
Splitting the string into pieces is the easy part. Making sure you have the right part going into the right field is the tricky part.
The way to split it...
May 8, 2009 at 12:11 pm
That kind of cursor is generally going to be faster than a While loop. In this case, you've already shown that it is.
The point of not using cursors, however,...
May 8, 2009 at 12:05 pm
(For future reference, it's helpful if you provide the kind of test set-up that I have at the beginning of the solution below.)
Try this:
-- Set up Test Data
create table #T...
May 8, 2009 at 12:00 pm
I'm going to ask a potentially stupid question: Have you tried swapping out the new server's network card?
May 8, 2009 at 11:01 am
GilaMonster (5/8/2009)
GSquared (5/8/2009)
GilaMonster (5/8/2009)
May 8, 2009 at 10:56 am
It is possible. Performance usually suffers, but it is possible.
May 8, 2009 at 8:50 am
Worst mistakes I've seen were all from one dev. He uses cursors to step through table variables, so as to populate other table variables that can then have nested...
May 8, 2009 at 8:02 am
GilaMonster (5/8/2009)
May 8, 2009 at 6:57 am
Hey Barry, I could check in the storeroom, I'm pretty sure there are still some of those APL keyboards lying around. Doubt whether they have USB cables attached to them...
May 7, 2009 at 3:19 pm
The best indexing will depend on what selects you are running, as well as what update/insert/delete activity the tables have.
For a table like this one, you really don't have a...
May 7, 2009 at 3:17 pm
The Pivot operation should do what you need. Take a look at that one.
May 7, 2009 at 1:21 pm
CLR can do OLE automation to access the Excel object model. You can fire off a macro from there.
No, I haven't done this. I have automated Excel before,...
May 7, 2009 at 1:13 pm
Viewing 15 posts - 9,556 through 9,570 (of 14,953 total)