mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

581
comptes actifs

#sqlserver

0 message0 participant0 message aujourd’hui

I wish #SQLServer had the COMMENT ON command to add descriptions/comments on database objects. It's pretty common on other RDBMS platforms. So I wrote a wrapper proc for you all to emulate it, and to make the syntax easier.

Go forth and document those database objects:

github.com/sqlsunday/comment-o

GitHubGitHub - sqlsunday/comment-on: A SQL Server substitute for the COMMENT ON statement found on other RDBMS platformsA SQL Server substitute for the COMMENT ON statement found on other RDBMS platforms - sqlsunday/comment-on

This is a common error folks encounter with SQL Server. When it happens to my end users, they often don't know what it means. Their minds begin to race. Wild, often ridiculous assumptions follow.

But at it's core, it really isn't that complicated: The connection attempt failed because the SQL Server you tried to connect to can't be found.

Why can't it be found is a larger discussion. This article covers it very well.

red-gate.com/simple-talk/featu

🛢️ #ChartDB: редактор діаграм баз даних з відкритим вихідним кодом.

Інструмент дозволяє швидко створювати діаграми і таблиці з вашої БД. Один запит - і ви отримуєте схему бази даних у форматі JSON.

Підтримує #PostgreSQL, #MySQL, #SQLServer, #MariaDB, #SQLite та інші.
#database
🔗GitHub github.com/chartdb/chartdb?tab
🔗Сайт chartdb.io/

petit problème de réinitialisation de mot de passe anomyme d' #SQLServer

pas de solution mais un script BAT

- - - - - - - -
@Echo on
echo Reinitialise SA via le script: initialiseSA.sql

sqlcmd -S <nom de Serveur SQL> -E -i "initialiseSA.sql"
- - - - - - - -

qui lance 1 Script SQL: initialiseSA.sql

- - - - - - - -
use master
go
EXEC sp_password NULL, '<mot de pass>', sa ;
go
- - - - - - - -

remplacer <nom de Serveur SQL> par le nom de votre serveur SQL
et <mot de pass> par un mot de pass

Hey #sqlfamily , curious how everybody is doing Ci/CD. I want to do it. I’ve checked in everything in prod into GitHub. I have access to GitHub Actions. But what do people do to get from dev to prod? If I change a table and add a permission, what scripts out the changes from my dev DB? Looks like Sqlpackage and Flyway? If I can’t have the database look like prod (because of extra audit triggers, etc), how should I handle that? Is there a Recommended Best Practice somewhere? #sqlserver

What a weird start to my Wed morning.
A disk drive on a SQL host ran out of space. A database log file was quickly identified--it had grown to ~500GB. What did I find?
🔹 The recovery model was set to SIMPLE
🔹 There were no open transactions on the db.
🔹 log_reuse_wait in sys.databases showed 'REPLICATION'
🔹 Replication was not in use.
🔹 Both the SSMS GUI and DMVs showed 0% free space in the log file.
🔹 Change Data Capture was not in use.

Mais comment c'est trop bien DbaTools pour SQL Server !
On a commencé à faire mumuse avec au boulot, et plus on avance, plus on voit à quel point c'est génial.

Pour ceux qui galèrent à déployer du SQL Server en prod, arrêtez de le faire à la main, et utilisez les. Une ligne de commande, et paf, c'est déployé.
Les manips casse pieds à faire à la main dans SQL Manager ? C'est de l'histoire ancienne ça! Une commande et paf, c'est réglé.

Maintenant, scriptez tout ça, et profitez de la vie...

#SqlServer #DbaTools #VisMaVieDeTech