Viewing 15 posts - 46 through 60 (of 104 total)
Dwain,
Thanks. I was presenting the most simplistic example I would need to process. I was hoping once this basic query was working I would be able to increase its complexity...
February 10, 2013 at 7:40 pm
sqlGDBA,
I am looking for ways to improve the response time of the query. This query takes about 30 seconds. However, this is only one of several dozen similar queries. The...
December 11, 2012 at 6:29 pm
Lowell,
Yes, the item numbers are char(15) variables. The item numbers follow the format XXX-XXX-XXXX. For simplicity, I dropped the “-“ and the 10th numeric digit because it is rarely present....
December 11, 2012 at 12:33 pm
Jason,
Thanks for your reply. I do not understand "the index the engine is choosing is 6 in your list (IX_GMFPick_5)". I see several indexes and a Heap. How/why did you...
October 29, 2012 at 9:52 am
Jason,
I have executed Reindex on all the indexes. Currently, fragmentation is < .02 or = 0 on every index.
I included the fields suggested in the non clustered Row Index lookup...
October 29, 2012 at 8:44 am
I will keep that in mind.
thanks.
July 13, 2012 at 10:57 am
Thanks for the additional information.
Do you think if the file is found by the stored procedure that the SQL user would also have access to the file? I do...
July 13, 2012 at 9:40 am
Found part of the error.
The format file must have a blank line at the end. I had purposely made sure there was NOT a blank line. My previous experience...
July 13, 2012 at 8:58 am
Jasmine D.
Thanks for the reply. To test the Permission theory, I ran my smaller bulk insert and the bulk insert that is the topic of this post from the same...
July 12, 2012 at 10:33 pm
Jared,
Thank you that worked. I had written a Bulk Import about 2 years ago and I used that as my model. That older import (which still works) only has a...
July 9, 2012 at 1:19 pm
Jared,
Thanks. That enabled me to get to the original error I needed help with. So that I didn't have to create a second post, I added the date field to...
July 9, 2012 at 12:55 pm
Thanks everyone for your assistance. That should do it for me.
pat
July 9, 2012 at 6:53 am
Gullimeel,
I receive an error, "Invalid object name 'a' ".
If the ItemNo is removed from the Group By in dwain.c's solution, the correct order number is returned.
Thanks,
pat
July 9, 2012 at 4:51 am
A slight modification to dwain.c's solution works and seems simple enough.
--Remove ItemNo from the Group By
Select OrdNo
From OrdLine
where ItemNo IN ('A', 'B', 'C')
GROUP BY OrdNo
HAVING COUNT(ItemNo) = 3
Thank...
July 9, 2012 at 4:47 am
Thanks for the input.
Here is the code to create a table and populate it.
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[OrdLine](
[OrdNo] [int] NULL,
[ItemNo] [varchar](50) NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
Add...
July 9, 2012 at 4:43 am
Viewing 15 posts - 46 through 60 (of 104 total)