Viewing 15 posts - 76 through 90 (of 6,036 total)
Can you please run this
SELECT TOP 10 item_no, loc, COUNT(*) NN
FROM IMLSMST_SQL
GROUP BY item_no, loc
HAVING COUNT(*) > 1
ORDER BY NN DESC
and post here the outcome?
July 21, 2021 at 1:28 am
How many rows returned by
SELECT IMLSMST_SQL.ser_lot_no
FROM IMLSMST_SQL
WHERE IMLSMST_SQL.loc = '@@LOC'
AND IMLSMST_SQL.bin_no = '@@BIN'
AND IMLSMST_SQL.item_no = '@@ITEMNO'
?
Is column wsPKG.STATUS nullable?
July 21, 2021 at 12:38 am
SELECT DATEDIFF(day, [ExpiredDate], GETDATE() ) FROM MyTable
Almost correct. Except the order of dates:
declare @Today datetime;
set @Today = '20210719';
SELECT MyTable.ExpiredDate
, DATEDIFF(dd, @Today, MyTable.ExpiredDate) DaysLeft
FROM (VALUES
('2021-07-25 15:29:09.000')
,('2021-07-28 17:31:22.000')
,('2021-07-19...
July 20, 2021 at 3:05 am
The query is obviously built by some automated tool and has to be fixed.
unless there is some special logic which is not apparent from the first glance.
July 19, 2021 at 8:10 pm
DATEDIFF(did, ..., ...) should do.
July 19, 2021 at 8:01 pm
Steve, if you learned that getting all requirements upfront does not work - why do you stand by this approach in jobs?
You're misunderstanding me. Getting all the requirements...
July 19, 2021 at 7:57 pm
Steve, if you learned that getting all requirements upfront does not work - why do you stand by this approach in jobs?
July 16, 2021 at 6:48 pm
The rule of thumb here is simple.
a responsible person would not apply for a position with a long list of random requirements. Because he/she does not possess the required skills...
July 16, 2021 at 5:46 am
Update Cars
Set Cars Club=Replace(Cars Club,'Holden','GM') and City=Adelaide
where Cars Club like ‘Holden’
and not (Cars Club like '%Elizabeth Holden%' or Cars Club like 'Holden Elizabeth')
July 6, 2021 at 1:49 am
Did you correct the spelling mistake in Adi’s script?
Holde[nm]
July 6, 2021 at 1:45 am
Another thing I was never able to understand - why index tuning is a job for ops?
they are definitely a part of table design, and changes to it should go...
July 2, 2021 at 12:29 am
People forget that DevOps is about building a culture of collaboration between people with different disciplines. It is not a bunch of technologies, buzzword bingo or fancy job...
July 2, 2021 at 12:22 am
And the ever popular "turn water to wine" requirement (although some of my favorite Developers and fellow DBAs were really good about turning water into some excellent beer).
I wish...
July 1, 2021 at 9:40 am
Never did understand ads that have nothing to do with reality.
How many ads did you actually see?
How many of them passed reality check?
Any?
June 30, 2021 at 2:27 pm
The bottom line is as it always is... "It Depend" on what is needed. 😀
Yep, too right.
It depends, and it depends on requirements, not on file size or any...
June 30, 2021 at 2:21 pm
Viewing 15 posts - 76 through 90 (of 6,036 total)