Тёмный

How to Kick Users Out of SQL Server Databases 

Sean MacKenzie Data Engineering
Подписаться 13 тыс.
Просмотров 381
50% 1

Developer and administrators often run into the situation where an application has been left open somewhere on the network, with some record locks preventing a database from having development or admin work done because it is "in use". Whether you are running a Microsoft Access/SQL Express combo, a Windows app, or some other app, this situation can be inconvenient as you try to discern which user (or users) are keeping this database in use. This method falls into my "sledgehammer" category. It isn't always pretty but it kicks out all user sessions from a particular database on your SQL Server or SQL Server 2022 Express server. Let's go check it out.
Block spammers from harassing your Remote Desktop, filling your Windows security logs with failed RDP attempts, and burning up your bandwidth with my BZ RDP Cloaker:
buy.billzone.c...
Check out my easy time entry system for your business:
system.billzon...
Join me on Patreon!
/ mackenziedataengineering
Check out some tech (and support my channel!):
www.amazon.ca/...
Want the code from this video?
mackenziemacken...
Interested in transforming your career or finding your next gig?
system.billzon...
Want my team to do a project for you? Let's get to it!
system.billzon...
Contact form you can find at www.mackenziema...
Follow me on social media:
/ mackenziedataanalytics
/ seamacke
/ seamacke
/ seamacke
/ psmackenzie
Get Microsoft Office including Access:
click.linksyne...
Got a RU-vid Channel? I use TubeBuddy, it is awesome. Give it a try:
www.tubebuddy....
#sqlexpress #sqlserver #msaccess

Опубликовано:

 

24 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@yo0b
@yo0b 2 месяца назад
Hello I use Access and sometimes I want to close all interfaces used in Access But I find it difficult to do that, is there a dedicated method Access only
@seanmackenziedataengineering
@seanmackenziedataengineering 2 месяца назад
Yes there is! Check it out: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-noKLt1mm7D4.html Access does not have a native method for this because it is not a server-based technology (it is passive). So, as I show, you build some functionality that checks every so often if the app should close itself.