Viewing 15 posts - 61 through 75 (of 1,251 total)
Well, that took a tangent...
Thanks for your input gents. I'd done some poking about and I'd couldn't find what was calling the task anywhere. I did find the proc that...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
December 14, 2020 at 7:47 am
Typical WYPIWYG, what you pay is what you get.
😎
The number of rows limitation just tells us that someone is using an old version of...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
October 8, 2020 at 6:39 am
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
October 6, 2020 at 6:50 am
WITH Numbers AS
(
SELECT CAST(ROW_NUMBER() OVER(ORDER BY(SELECT NULL)) AS decimal(8,2)) AS N
FROM
(VALUES(1),(1),(1),(1),(1),(1),(1),(1),(1),(1))t(N)--10 Rows
CROSS JOIN (VALUES(1),(1),(1),(1),(1),(1),(1),(1),(1),(1))t1(N) --100 Rows
CROSS JOIN (VALUES(1),(1),(1),(1),(1),(1),(1),(1),(1),(1))t2(N) --1000 Rows
/**********Add these lines in if...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
June 1, 2020 at 1:32 pm
You're welcome Paul.
That query will produce up to 1000 rows if needs be just by changing the '<=500' to what you want.
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
June 1, 2020 at 1:13 pm
Have you copied all of the query? It should be returning 500 rows. The last line is 'WHERE N<= 500'.
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
June 1, 2020 at 1:04 pm
Thanks Neil, unfortunately not. It just gives back the numbers 499.01 for lower and 500.00 for upper but I need the numbers from 1.00 onwards
Thank you
Paul
I'm not sure what...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
June 1, 2020 at 12:58 pm
WITH Numbers AS
(
SELECT CAST(ROW_NUMBER() OVER(ORDER BY(SELECT NULL)) AS decimal(8,2)) AS N
FROM
(VALUES(1),(1),(1),(1),(1),(1),(1),(1),(1),(1))t(N)
CROSS JOIN (VALUES(1),(1),(1),(1),(1),(1),(1),(1),(1),(1))t1(N)
CROSS JOIN (VALUES(1),(1),(1),(1),(1),(1),(1),(1),(1),(1))t2(N)
)
SELECT
N-0.99 AS Lower
,NAS Upper
FROM
Numbers
WHERE N<= 500
Does that work?
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
June 1, 2020 at 12:48 pm
I've done a bit of research and experimenting on this and I think I've worked out what's happening. I've got a theory as to why but I shouldn't take as...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
May 26, 2020 at 1:02 pm
What's worse: a problem which starts spontaneously and for which nobody is able to track down the cause, or, the same problem spontaneously stopping over the weekend and nobody having...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
May 19, 2020 at 7:41 am
There's a joke that's been going around about Trump since day one of his time in office. I have no great love for the man (nor any of politicians currently...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
May 4, 2020 at 12:17 pm
Heh... let the silliness continue. I just got an email saying...
KILL 99.9% OF BACTERIA & HARMFUL MICROBES
FORMS A PROTECTIVE SHIELD THAT DELAYS GROWTH OF HARMFUL MICROBES ON INTERIOR SURFACES
Reg...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
May 1, 2020 at 7:14 am
I prefer single-character-per-word aliases myself. But that brings up the subject of collisions. Some queries have insane joined table counts and when you have [ATM] and [Audit] in the...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
April 28, 2020 at 1:29 pm
I agree, but I personally don't like multi character aliases. For me, they clutter the code and make it less readable. I like to name them a,b,c,d... and that...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
April 28, 2020 at 9:19 am
Any chance this is malicious activity? No one kicked things off accidentally? Can you post the schedule code for these? Any similarities in them?
I think it's extremely unlikely it...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
April 2, 2020 at 7:43 am
Viewing 15 posts - 61 through 75 (of 1,251 total)