Viewing 15 posts - 58,636 through 58,650 (of 59,067 total)
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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,...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 5, 2005 at 6:08 pm
>I can only say that I would not do that.
Why not, Chris?
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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))
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 14, 2005 at 5:40 am
For reads, a "surrogate view" will give you that transparency. The view would just do a SELECT * from the 4 part name. (Just gotta be careful that you're not...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 11, 2005 at 8:39 am
Viewing 15 posts - 58,636 through 58,650 (of 59,067 total)