Viewing 15 posts - 916 through 930 (of 6,036 total)
March 24, 2017 at 2:54 am
Agent limits the history in 2 measures - overall and per job.
The number 100k you've mentioned - is it overall number?
If yes - what is the limit...
March 22, 2017 at 7:45 am
March 20, 2017 at 7:31 pm
SELECT 1 WHERE EXISTS (
SELECT 1 FROM View1 WHERE field1 = 'Y'
union all
SELECT 1 FROM View2 WHERE field1 = 'Y'
)
March 20, 2017 at 4:48 am
I don't think that TOP 1 does what you think it does.
It does exactly what I think it does.
It makes sure that there is no way to get an...
March 20, 2017 at 4:23 am
I have business logic for date comparisons that go beyond the typical DATEDIFF...
March 20, 2017 at 1:54 am
This will be different:
select t1.col1, t1.col2,t2.col1.t2.col2
from (select col1,col2 from table1 group by col1,col2)t1
join (select col1,col2 from table2 group by col1,col2) t2
on t1.column1=t2.column1
March 19, 2017 at 9:14 pm
AND NOT EXISTS (SELECT * FROM Tbl3 WHERE Tbl3.ID=c.ID )
March 19, 2017 at 8:42 pm
I have an issue where a stored procedure runs the following code and a...
March 19, 2017 at 8:06 am
March 19, 2017 at 6:04 am
How many records per SKU?
Is it a unique key?
Is the uniqueness enforced through the UNIQUE constraint?
Apart from that - the logic of the query seems troubled.
March 18, 2017 at 4:33 pm
I cannot see SKU mentioned anywhere begore.
What is the correlation between SKU and PKey?
March 17, 2017 at 3:08 am
Here is hardcode SQL for you:SELECT SL.{Required Columns}
FROM ServerList SL
INNER JOIN (
SELECT [Server],[DB's], MIN(Ranking) as MinRanking, MAX(Ranking) as MaxRanking
FROM [YourTable]
GROUP BY [Server],[DB's]
)...
March 16, 2017 at 4:08 pm
March 16, 2017 at 2:57 pm
I ran across a block of code today which does deletes from a table...
March 16, 2017 at 5:39 am
Viewing 15 posts - 916 through 930 (of 6,036 total)