Viewing 15 posts - 1,651 through 1,665 (of 13,849 total)
As usual, code not formatted and no question is asked.
December 18, 2021 at 9:39 am
BUT even if you DO get it on your screen, there are a LOT of typos in it which makes it impossible to copy-paste into SSMS UNLESS you want...
December 17, 2021 at 2:53 pm
Ah yes, that's much easier to read now, on my brand new 20-metre-wide screen.
December 17, 2021 at 2:36 pm
Such a shame you're on 2012. It's time to upgrade! In 2017+, this solution works:
WITH r1
AS (SELECT R
...
December 17, 2021 at 12:17 pm
Have a look at this link.
In order to use CommandTimeout, it seems you will first need to create an OdbcCommand and push your query through that.
December 17, 2021 at 9:38 am
I answered this question yesterday. Why are you asking it again?
December 17, 2021 at 9:30 am
Use single quotes for literals, not double quotes.
Date literals should be in the form 'YYYYMMDD'.
December 16, 2021 at 5:27 pm
As usual, you have provided a wedge of code and not asked a question. Please try not to make people play 'Guess the question' when you are posting.
December 16, 2021 at 5:23 pm
I've done some playing around with this and encountered exactly the same problem as you with the standard Excel source – a Jet error.
The way I got it to work...
December 16, 2021 at 5:18 pm
Do you use any other software (outside of SQL Agent) to run scheduled tasks?
December 16, 2021 at 1:06 pm
It's beginning to look a lot like ... a catch-all query.
I suggest you get yourself a nice drink and read this article: https://sqlinthewild.co.za/index.php/2018/03/13/revisiting-catch-all-queries/
December 15, 2021 at 4:04 pm
This, maybe
Select Itemcode,Itemname,ItemGroup
from tbl1
where (itemgroup is null and @ItemGroup is null) or (itemgroup is not null and @ItemGroup is...
December 15, 2021 at 2:27 pm
Hi
Error is coming Invalid column HCode
Thanks
Still no question.
December 15, 2021 at 11:22 am
Hi
(Select Case (select count(*) from tbl1 T where T.num = T0.num ) when 0 then HCode=STUFF ( ( SELECT ', '+ CAST(A0.[aCode] AS VARCHAR(MAX)) FROM O A0 INNER JOIN...
December 15, 2021 at 11:14 am
Viewing 15 posts - 1,651 through 1,665 (of 13,849 total)