Viewing 15 posts - 196 through 210 (of 297 total)
Oh, I think you mean the comment by Joe Celko about your low score etc.
Yes, I meant that. I really can't believe I reached out for help and...
November 5, 2021 at 1:59 pm
Huh??
Oh, I think you mean the comment by Joe Celko about your low score etc., even if you didn't quote that. At least I hope you didn't refer to my...
November 5, 2021 at 1:28 pm
I would probably create a mapping table between City and Region:
create table dbo.City2RegionMap (
City varchar(20) not null,
Region varchar(20) not...
November 5, 2021 at 10:01 am
This should work, I think:
UPDATE t
SET t.CarStatus = '2'
FROM #Test t
INNER JOIN (
SELECT CarID, MIN(Id) AS Id
FROM #Test
...
November 5, 2021 at 9:23 am
I'm not a SSRS expert. I know enough to get myself in trouble. Anyway, if memory serves, I recall seeing somewhere a blog post, maybe a Microsoft...
November 4, 2021 at 4:27 pm
/* Setting up test data */
declare @sales table (
DMDUNIT char(1),
U_ONSALE_DATE date
)
insert into @sales (DMDUNIT, U_ONSALE_DATE)
...
October 21, 2021 at 10:51 am
... or maybe this one?
select
js.job_id,
j.name,
js.last_outcome_message,
jst.subsystem,
jh.step_id,
...
October 20, 2021 at 9:42 pm
What about this one?
SELECT
j.job_id AS FailedJobId,
j.name AS FailedJobName,
jh.instance_id AS FailedJobInstance,
jh.run_date...
October 20, 2021 at 7:17 pm
Since you're on SQL Server 2019, you shouldn't need to use XML and STUFF etc. any more - you can use the STRING_AGG function, which became available with SQL Server...
October 20, 2021 at 5:03 pm
And yet, I've not seen where that actually matters. And, it won't matter unless you're doing RBAR updates of the same row more than once every 3.3 milliseconds because...
October 14, 2021 at 4:49 pm
The DateTime vs DateTime2 argument is not as clear-cut as you imply.
Take a look here, for example, to see some reasons DateTime may be preferred: https://www.sqlservercentral.com/forums/topic/why-do-some-dbas-avoid-datetime2
Okay, that's an...
October 12, 2021 at 6:10 pm
We need a bit more clarity on this, I think.
Why are you storing start and finish dates as varchar() rather than DATETIME?
Or better yet, store them as datetime2(0), which...
October 12, 2021 at 4:44 pm
I'm not fluent in the SSRS VBA syntax, but that replace looks strange. I think you need only the "inner" parameters, i.e.
=Replace(Fields!Justification_Text.Value," ","")
But since the error message mentions the VT...
October 8, 2021 at 3:44 pm
I'm sorry about the misinformation. I didn't pay attention to the list of "Applies to" services.
I remembered some excited chatter some months ago about the functions now being available, but...
October 8, 2021 at 2:36 pm
Without knowing your data, it might be as simple as that the VT control character is used in your column to indicate a line break, instead of the more "normal"...
October 8, 2021 at 1:48 pm
Viewing 15 posts - 196 through 210 (of 297 total)