Viewing 15 posts - 58,621 through 58,635 (of 59,053 total)
Actualy, if you do a search for "DELETE DUPLICATES", you come up with just a couple of articles which use cursors and group bys and adding columns and using MAX/GROUP...
October 10, 2005 at 6:54 am
Vishal,
If your field list looks like this...
field value: Oracle,VB,ASP,PHP
field value: Java,VB,PHP,MYSql
field value: Java,VB,Oracle,Asp.net,MSSQL,Asp
field value: Windows,HASP,Excel,VBA
Consider the following code to keep from listing the 4rh line when looking for ASP and...
October 9, 2005 at 9:22 pm
And, you might want to consider using the user name in the 3 part naming convention as part of best practices...
October 9, 2005 at 8:32 pm
With 7 million rows of data, I'm thinking that you'll get a recompile on run anyway just due to the number of changes in the data. So, I gotta ask,...
October 9, 2005 at 8:30 pm
Chris,
Likewise it's interesting to think that databases are not used for performance... whatever. The real key is that the inclusion of the NOLOCKs greatly reduced the number of deadlocks in...
October 6, 2005 at 10:46 pm
Chris,
Yup... I agree on the data integrity thing but considering that a ROLLBACK is supposed to be (and, fortunately, is) an extremely rare occurance (and then usually only on the...
October 5, 2005 at 6:08 pm
>I can only say that I would not do that.
Why not, Chris?
October 4, 2005 at 5:27 pm
Thanks for the reply, Chris. Your experience seems to contradict what BOL says. Now, THAT's never happened before, eh?
Kinda why I asked if anyone had experience with...
October 4, 2005 at 7:13 am
Rumor has it that there are some very stiff penalties for storing unencrypted credit card information and other seemingly minor infractions on safeguards. I would say there's no such thing...
October 3, 2005 at 9:31 pm
Just for grins, how fast does it run without the ORDER BY? If it's really fast, use the 14 row result set as a derived table and select from THAT...
September 27, 2005 at 7:17 am
Just a quick thought... why does the BCP login/password need rights to anything but the destination table? Make a user that only has rights to the input staging table (you...
September 27, 2005 at 7:11 am
This will convert the number of seconds since midnight to a datetime (for today) datatype so you can do the join...
SELECT DATEADD(ss,secondssincemidnightcol,DATEADD(dd,DATEDIFF(dd,0,GETDATE()),0))
September 27, 2005 at 7:07 am
Nice job Sushila.... I use EM to troubleshoot other people's more complex joins and, occasionally, to make my own. And, I "steal" code from it and QA quite a bit...
September 26, 2005 at 4:55 am
The "best" way would be to not store data in such a fashion...
That, not-with-standing... something like this should work...
SELECT c.CategoryName,
c.CategoryID
FROM Category c,
UserCategory uc
WHERE ','+uc.CategoryID+',' LIKE...
September 25, 2005 at 7:32 pm
Admittedly, I've not done much with Federated Servers but I'm not sure why the relatively simple process of ETL would justify the need even in a world wide setting. The...
September 14, 2005 at 5:40 am
Viewing 15 posts - 58,621 through 58,635 (of 59,053 total)