Collection de scripts et procédures

AddLinkedServer.sql

Procedure to make create of SQL Server Linked server easier

KillProcess

Kill all actives connections on a database.

p_alter_column

Stored procedure will make the job of altering the type of an SQL Server Table

p_Backup_DB

Procedure in order to Quick launch the backup of a database

VIEW_DEFAULT_CONSTRAINTS

get the details of the defaults constaints

p_drop_column

Easyly drop a column.

p_drop_defaultconstraint

Drop the default constraint associated to a column

p_drop_primaryKey

drops the primary key of a table.

p_export_csv

Export a Query to CSV Format

p_MaintenancePlan

Quick maintenance plan for a database.

p_rebuild_indexes

rebuild the all the indexes of a databases

p_restoreBackup

Will restore a backup from a file.

p_shrinkDB

Shrinks the current database

p_tableAllocation

Will give the size of tables and indexed and number of rows of each table.
This allow to understand how the size is used inside a database.

p_waits

Detect the processes actually waiting for the release of a lock

VIEW_COLUMNS_INDEXES

list the columns included in indexes.

Votre commentaire

Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:

Logo WordPress.com

Vous commentez à l’aide de votre compte WordPress.com. Déconnexion /  Changer )

Photo Facebook

Vous commentez à l’aide de votre compte Facebook. Déconnexion /  Changer )

Connexion à %s