Viewing 15 posts - 2,536 through 2,550 (of 8,731 total)
whereisSQL? (7/7/2016)
HappyGeek (7/7/2016)
djj (7/7/2016)
ReworkRethink
Regret
Retry
July 7, 2016 at 10:42 am
Nice Chris, I hope that this helps Eliseo.
I think that I understand what you're saying about the TOP filtering before the aggregate, even if the execution plan indicates otherwise with...
July 7, 2016 at 9:47 am
This site can help you: http://docs.oracle.com/cd/E18283_01/nav/portal_booklist.htm
Also, even if it's supposed to be used to move from Oracle to SQL Server, this could help you to check differences and similarities: https://mva.microsoft.com/en-us/training-courses/sql-server-2014-essentials-for-oracle-dbas-9062?l=VGDAvmR4_7004984382
July 7, 2016 at 9:42 am
ChrisM@Work (7/7/2016)
Luis Cazares (7/7/2016)
...The TOP 1000 is not helping because it needs to group the data before limiting the results....
That was my first thought too Luis so I set up...
July 7, 2016 at 7:57 am
Was that post a downgraded version of this one: https://www.brentozar.com/archive/2012/06/sql-server-poor-performance-checklist/ ?
July 7, 2016 at 7:35 am
It seems that you could have a data issue. The amount of data is not similar on both dates.
The TOP 1000 is not helping because it needs to group the...
July 7, 2016 at 6:58 am
Your condition is the same as writing WHERE R.RoleName = @String
Either you split the values (the best splitter can be found here: http://www.sqlservercentral.com/articles/Tally+Table/72993/) and remove the quotes.
SELECT DISTINCT UT.TaskID, UT.TaskName,...
July 7, 2016 at 6:49 am
PJ_SQL (7/6/2016)
ColA:
AAAA-AOP/W 00160000
ASSSS-DOU/W00160000
O/OF EEEE 00000000
So, I need to split the column on the criteria that if it starts with 0 then split it...
July 6, 2016 at 1:03 pm
You're really not helping us to help you. My suggestion would be to use the DelimitedSplit8k which can be found here along with its explanation:
http://www.sqlservercentral.com/articles/Tally+Table/72993/
Having that, the query would be...
July 6, 2016 at 12:49 pm
PJ_SQL (7/6/2016)
I have this data :DEP-A CALLEJ00025000
Need
cola ...
July 6, 2016 at 12:40 pm
TheSQLGuru (7/6/2016)
Luis Cazares (7/6/2016)
SELECT l.pageno,
l.batchid,
l.loadid,
n AS lnidmin,...
July 6, 2016 at 12:12 pm
You're over complicating yourself. Here's a simpler version of your query.
SELECT l.pageno,
l.batchid,
l.loadid,
n AS lnidmin,
...
July 6, 2016 at 7:17 am
Here's an option using a tally table. If you don't know what a tally table is, read the following article:
http://dwaincsql.com/2014/03/27/tally-tables-in-t-sql/
I'm not sure if my math is more complex that it...
July 6, 2016 at 6:25 am
Viewing 15 posts - 2,536 through 2,550 (of 8,731 total)