Viewing 15 posts - 38,701 through 38,715 (of 59,072 total)
aaa-322853 (4/26/2010)
So lets start with Table Variables. Basicially never use these, regardless of the row size or application (unless it's a UDF)....
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 10:43 am
Holy moly... Guess I needed to read the entire graphic and the underlying text, huh?
Again, IMHO, using Global Temporary Tables is a form of "Death by SQL" because if two...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 7:18 am
Gahh.... I'd also recommend that if you need to reference data more than once from a subquery that you NOT use CTE's... Like Views, if you reference a CTE more...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 7:14 am
It's simply not a given that Table Variables are faster than Temp Tables and Table Variables are a whole lot more difficult to troubleshoot because their content don't persist even...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 7:11 am
Actually, OPENROWSET requires the data to be fairly solid. True that it's more forgiving than BULK INSERT and BCP especially when it comes to how the first row of...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 7:03 am
Carlos Shoji-387174 (9/23/2007)
Very good article!Is there any way to do a similar thing with SQL Server 2000?
Thanks.
Kind of... Please see the following article with the understanding that it's limited to...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 6:57 am
The following two items in your code above...
and a.root_claim_id < b.root_claim_id --original claim ID is less than the duplim ID
and a.claidate <= b.cl_date --original received before duplicate received
... probably consitute...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 6:51 am
Vijay Sinha (4/25/2010)
How To Get Last Inserted Record Value In SQL ServerThe table have no Primary key, identity, it have only one column "Name"(Column Name)
Without either a date column or...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 6:42 am
chandrashekarthota (4/26/2010)
closing down my site for few weeks just because of plagiarism and I have
learned...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 6:23 am
david.wright-948385 (4/26/2010)
Anyone else here find themselves keeping the meeting on track, identifying milestones,...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 6:14 am
ColdCoffee (4/24/2010)
But i got a doubt...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2010 at 10:48 am
eseosaoregie (4/23/2010)
Thanks jeff. Will try it this weekend and let you know how it runs. Much appreciated
Since you PM'd me several times on the subject and half the weekend has...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2010 at 6:24 pm
SQL_NuB (4/21/2010)
Jeff Moden (4/19/2010)
SQL_NuB (4/19/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2010 at 6:20 pm
lmu92 (4/24/2010)
I just had to get used to it in order to get those "man in the middle" out...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2010 at 5:45 pm
I put the OP's files in C:\Temp to have the following code run...
--DROP TABLE #Staging,#Header,#Data
--GO
--===== Supress auto display of rowcounts
SET NOCOUNT ON;
--===== Declare local variables
DECLARE @pFullPath...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2010 at 5:38 pm
Viewing 15 posts - 38,701 through 38,715 (of 59,072 total)