Viewing 15 posts - 8,806 through 8,820 (of 26,490 total)
Playing a little bit, I think your data may be a bit messed up. In you BULK INSERT you tell it to start at row 2, this tells me...
February 10, 2013 at 7:32 pm
salma.pinky (2/10/2013)
Use test
DROP TABLE PDTEST
create table pdtest
(
CustID INT IDENTITY(1,1),
work_phone_extension varchar(5),
residential_postal_or_zip_code varchar(30),
residential_street_address_line_1 varchar(30),
residence_phone varchar(17),
work_phone varchar(17),
name_part varchar(30),
mailing_city varchar(20),
mailing_postal_or_zip_code varchar(30),
mailing_street_address_line_2 varchar(30),
mailing_street_address_line_1 varchar(30),
...
February 10, 2013 at 7:29 pm
First, you will need the following function to run my code down farther below:
/****** Object: UserDefinedFunction [dbo].[DelimitedSplit8K] Script Date: 2/9/2013 1:22:37 PM ******/
DROP FUNCTION [dbo].[DelimitedSplit8K]
GO
/****** Object:...
February 9, 2013 at 1:24 pm
kylemkr85 (2/8/2013)
Msg 145, Level 15, State 1, Line 1
ORDER BY items must appear in the select list if...
February 8, 2013 at 6:56 pm
At this point, I will bow out and defer to Paul. He has spent much more time than I digging into these things than I and has a much...
February 8, 2013 at 6:46 pm
Give this a shot:
SELECT DISTINCT
wcv.contact_name
,wcv.contact_organization_name
,wcv.workitem_title
,wcv.workitem_number
,wcv.workitem_created_on
,wcv.assigned_to_worker_name [Assigned...
February 8, 2013 at 4:12 pm
You still only have a total of 12 cores, the other 12 cores are hyperthreads and they should not affect the number used by SQL Server, but I may be...
February 8, 2013 at 3:43 pm
Roger Sabin (2/8/2013)
the cost of finding a few records (using second index) + lookup for other fields
was greater than ---
the cost...
February 8, 2013 at 3:37 pm
Brandie Tarvin (2/8/2013)
Lynn Pettis (2/8/2013)
Roger Sabin (2/8/2013)
But I still don't see why the first index is more "correct" when it requires trolling through thousands of records...
February 8, 2013 at 12:21 pm
L' Eomot Inversé (2/8/2013)
Lynn Pettis (2/8/2013)
Revenant (2/8/2013)
Lynn Pettis (2/8/2013)
Am I (shudder) an idiot?No. Is there anything that make you think you are?
🙂
Not really, other than having someone call me one...
February 8, 2013 at 12:08 pm
Roger Sabin (2/8/2013)
But I still don't see why the first index is more "correct" when it requires trolling through thousands of records to find just the...
February 8, 2013 at 11:26 am
Revenant (2/8/2013)
Lynn Pettis (2/8/2013)
Am I (shudder) an idiot?No. Is there anything that make you think you are?
🙂
Not really, other than having someone call me one here on the forums.
February 8, 2013 at 11:22 am
mehta.saurabhj (2/8/2013)
No i said similar have a look you idiot!!!
This is a professional site and this is totally uncalled for.
February 8, 2013 at 9:31 am
mehta.saurabhj (2/8/2013)
No i said similar have a look you idiot!!!
Really???? Look again at your first post, I quoted it in mine.
Your statement from your original post, emphasis...
February 8, 2013 at 9:26 am
Viewing 15 posts - 8,806 through 8,820 (of 26,490 total)