Viewing 15 posts - 421 through 435 (of 7,466 total)
I add an extra jobstep to check the db role!
This step will quit reporting success when the raiserror is executed !
It will proceed to the next step if this step...
March 21, 2023 at 1:47 pm
Once you actually get it that you need to work with OFFSET instead of pointers, handling bitwise operations will start working.
I always have such problems when I'm in the US...
March 21, 2023 at 7:52 am
Have you ever investigated MS Query Tuning Assistant ?
March 21, 2023 at 7:28 am
It will avoind storing every sqlplan in the plan cache.
Queries that run only once do not polute your plan cache when this setting is on.
The article below holds all information:
ref:...
March 20, 2023 at 10:16 am
Did you enable contained db authentication at instance level?
exec sp_configure 'show advanced', 1
GO
RECONFIGURE
GO
exec sp_configure 'contained database authentication', 1;
GO
RECONFIGURE;
GO
( edited: added...
March 16, 2023 at 11:59 am
This version also handles most cross database queries:
SET NOCOUNT ON;
IF OBJECT_ID('tempdb.dbo.#invalid_db_objects') IS NOT NULL
BEGIN
DROP TABLE #invalid_db_objects;
END;
CREATE TABLE #invalid_db_objects
...
March 13, 2023 at 10:49 am
you are validating two unrelated columns, right?
you need to correlate starttime and endtime
e.g. by adding ' and STARTTIME < ENDTIME '
March 8, 2023 at 10:30 am
March 8, 2023 at 10:09 am
I would use datalength(v.String) so the training space at the end shows up too, so nobody checking your script actually has to doublecheck the behavior of trailing spaces.
( btw: this...
March 8, 2023 at 9:36 am
did you check this article "SQL Server Performance Counter are Missing"
March 6, 2023 at 7:56 am
Did you try this ?
Declare @tb table ( varcharcol varchar(10) not null )
insert into @tb
values ( '23:01'),( '00:01'),( '00:02'),( '00:03'),( '22:00')
;with cteTimes as (
Select...
March 2, 2023 at 7:45 am
Looking at the provided data, someone had to produce XML, but missed the moint of it
<GrpID>Group ID: 14080.</GrpID>
should in fact be <GrpID>14080</GrpID> ( unless the "." has an actual significance,...
March 2, 2023 at 7:25 am
As you noticed, something went wrong somewhere in 2011.
Did someone forget to:
Anyway, Whenever I implement a partitioned table, I implement boundary constraints,...
February 16, 2023 at 8:09 am
I haven't encountered a developer yet, who wrote such a query himself, without using the "query designer".
I've seen some cases where it actually provided a performance advantage, however, I plead...
February 15, 2023 at 7:53 am
Viewing 15 posts - 421 through 435 (of 7,466 total)