Viewing 15 posts - 1,966 through 1,980 (of 39,720 total)
Honestly, use something like FlywayDB Community or a similar framework. No need to reinvent this stuff.
May 3, 2021 at 5:36 pm
Mostly agree with the above. Use a SAN. VPNs tend to be fairly cheap and work well, but in the long term you might want some type of app. I'd...
May 3, 2021 at 5:35 pm
If you don't want second alerts, what I might do is log alerts as they are sent based on a silo and time. If you have sent an alert in...
May 3, 2021 at 5:31 pm
How can you tell if there is more data in the table? You can count rows, but if someone adds a row and deletes a row, you won't be alerted.
As...
May 3, 2021 at 4:22 pm
This might also help: https://www.sqlservercentral.com/steps/stairway-to-xml-level-4-querying-xml-data
May 3, 2021 at 4:20 pm
I like no/low code tools, like Power BI and others. Let some people start to solve problems, and when they find them working, take what they did and improve it...
May 3, 2021 at 3:18 pm
That context switching is tough. It gets me, too, and so I try to batch together different types of work and areas so that I can focus better.
May 3, 2021 at 3:15 pm
This script creates 2 procedures which return view models in JSON format. The view models return the posts for a thread in either recent view (plain old normal view) or...
April 29, 2021 at 2:28 pm
This script creates 7 posts in the 'frm.posts' table. These are "indirect responses" to thread(s) or replies to (other) posts. The variable declarations are repeated for each procedure execution (to...
April 29, 2021 at 2:27 pm
Added statements to populate frm.posts_sv as well as frm.posts.
/*
delete frm.posts;
dbcc checkident ('frm.posts', reseed, 0) with no_infomsgs
alter table frm.posts_sv set (system_versioning = off);
delete frm.posts_sv;
delete frm.posts_sv_history;
alter table frm.posts_sv...
April 29, 2021 at 2:27 pm
This script creates 5 posts in the 'frm.posts' table. These are direct responses to threads.
/*
delete frm.posts;
dbcc checkident ('frm.posts', reseed, 0) with no_infomsgs
go
*/
set nocount on;
set xact_abort on;
begin...
April 29, 2021 at 2:26 pm
This script creates 5 posts in the 'frm.posts' table. These are direct responses to threads.
/*
delete frm.posts;
dbcc checkident ('frm.posts', reseed, 0) with no_infomsgs
go
*/
set nocount on;
set xact_abort on;
begin...
April 29, 2021 at 2:25 pm
This script creates 5 threads in the 'frm.threads' table.
/*
delete frm.threads;
dbcc checkident ('frm.threads', reseed, 0) with no_infomsgs
go
*/
set nocount on;
set xact_abort on;
begin transaction
/*create proc frm.api_threads_post
@f_idint,
...
April 29, 2021 at 2:25 pm
Regarding the MERGE statement in the frm.api_posts_reply_post procedure the major issue I saw is/was the target is the entire frm.posts table. The Docs for MERGE is a litany of warnings,...
April 29, 2021 at 2:24 pm
This script creates 3 stored procedures which create rows in the remaining 2 tables, 'frm.threads' and 'frm.posts' tables. The proc to create new threads is a plain insert. The proc...
April 29, 2021 at 2:23 pm
Viewing 15 posts - 1,966 through 1,980 (of 39,720 total)