Viewing 15 posts - 3,571 through 3,585 (of 10,144 total)
GilaMonster (3/4/2014)
ChrisM@home (3/4/2014)
Less rows per page because of data duplication doesn't come without cost.
What data duplication?
There's always some overhead and someone always has to do the sums, calculate the cost-benefit.
Not...
March 5, 2014 at 1:43 am
Once more with details:
[Expr1031] = Scalar Operator(CONVERT_IMPLICIT(int,[FlexQuotes].[dbo].[BRFCLSeaWeekHis].[Year] as [FCL].[Year],0)),
[Expr1032] = Scalar Operator(CONVERT_IMPLICIT(int,[FlexQuotes].[dbo].[BRFCLSeaWeekHis].[Week] as [FCL].[Week],0)),
[Expr1033] = Scalar Operator(CONVERT_IMPLICIT(nchar(3),[FlexQuotes].[dbo].[BRFCLSeaWeekHis].[CurrencyCode] as [FCL].[CurrencyCode],0)),
[Expr1034] = Scalar Operator(CONVERT_IMPLICIT(decimal(18,5),[FlexQuotes].[dbo].[BRFCLSeaWeekHis].[RateTotal] as [FCL].[RateTotal],0)),
[Expr1035] = Scalar...
March 4, 2014 at 9:42 am
SELECT DATEDIFF(dd,0,GETDATE())-1
SELECT DATEADD(dd,DATEDIFF(dd,0,GETDATE())-1,0)
SELECT DATEADD(hh,18,DATEADD(dd,DATEDIFF(dd,0,GETDATE())-1,0))
Use q3. q1 and q2 help explain the algorithm.
March 4, 2014 at 8:17 am
SELECT --TOP 100 PERCENT
objectid AS companyid,
-- max(CASE WHEN symbolTypeid = 7 THEN CONVERT(int, symbolValue) ELSE NULL END) AS mergentId,
MAX(CASE WHEN symbolTypeid = 5 THEN symbolValue ELSE NULL...
March 4, 2014 at 6:31 am
You've missed the FROM list in CTE3.
March 4, 2014 at 6:22 am
igloo21 (3/4/2014)
Above bolded parts in the quotes display a contradiction. Did the query run correct when removing both the CASE statements or did it NOT run correct?
If it didn't run...
March 4, 2014 at 6:11 am
sCustomer_number is float:
SELECT DISTINCT TOP (100) PERCENT
c.iCustomer_id,
c.sCustomer_number AS CustomerNo,
CASE WHEN c.sCustomer_number = 1 THEN 660 ELSE c.sCustomer_number END AS sCustomer_number,
c.sCustomer_name AS CustomerName,
c.sCustomer_state AS Customerstate,...
March 4, 2014 at 5:36 am
SELECT DISTINCT TOP (100) PERCENT
c.iCustomer_id,
c.sCustomer_number AS CustomerNo,
CASE WHEN c.sCustomer_number = 'SL000000' THEN 660 ELSE c.sCustomer_number END AS sCustomer_number,
c.sCustomer_name AS CustomerName,
c.sCustomer_state AS Customerstate,
cc.CustomerType AS Channel,...
March 4, 2014 at 5:22 am
rodjkidd (3/4/2014)
Shrewsbury - somewhere else that's on my "yet to visit" list. I'm getting almost as much out of this discussion as Gail is.
Deciding whether to wait for the discount...
March 4, 2014 at 3:33 am
Change the key column order of the index nci_SalesDistrict so that UbiquitousTinyIntColum is the leading edge, followed by keysalesdistrict.
It will probably give you seeks. Better still, data should come off...
March 4, 2014 at 2:20 am
Remove the index hint from the query whilst you are still testing and developing. Index hints are used when you've exhausted other, simpler, possibilities.
Add rua.userIsBound to the index as...
March 4, 2014 at 1:54 am
jcrawf02 (3/3/2014)
GilaMonster (3/3/2014)
I see this is going to require some careful planning...*ahem. Cousin Chad and I respectfully submit an item for consideration upon your route:
http://en.wikipedia.org/wiki/Crawford_Castle
😀
It's tragic how little remains of...
March 3, 2014 at 9:46 am
paul.knibbs (3/3/2014)
ChrisM@Work (3/3/2014)
It is. I was going to suggest you take the coast road but we don't really have a joined-up one of those.
Or maybe head across the Severn Bridge...
March 3, 2014 at 6:22 am
GilaMonster (3/3/2014)
ChrisM@Work (3/3/2014)
GilaMonster (3/3/2014)
March 3, 2014 at 6:02 am
GilaMonster (3/3/2014)
rodjkidd (3/3/2014)
GilaMonster (3/3/2014)
BrainDonor (3/3/2014)
SQL Bits XII has finally been announced http://www.sqlbits.com/.Wooot!
Next problem, what do I submit?
Almost posted last night that site was up. But apparently we shouldn't have noticed...
March 3, 2014 at 5:24 am
Viewing 15 posts - 3,571 through 3,585 (of 10,144 total)