Stored Procedures

End to End Server Disk Space reporting within SQL Server

  • Script

This procedure using OLE object calls to obtain server disk space values and writes them to a table. It then creates an HTML report based on the contents of the table and then , via a SQL Agent job, sends out colour coded emails relating to how much drive space is left... this is very handy!!!!

2 (2)

2016-03-16 (first published: )

993 reads

SQL Server Stored Procedures and SET options

  • Article

SET options on stored Procedures work a bit different when compared with ad-hoc queries. These differences in behavior are often overlooked when developing the procedures and generating deployment scripts. This mistake can lead to undesired behavior in the application.

4.25 (36)

2015-10-02 (first published: )

16,082 reads

Encrypting and Decrypting SQL Server Stored Procedures, Views and User-Defined Functions

  • Article

Some companies put business or application logic in SQL Server using stored procedures, views and functions to return values to the calling applications or perform tasks. This is not unusual in companies that use the SQL Server layer to perform business tasks, such as finance operations, or incorporate application functionality into the programmability layer. Here's a tip to preserve secrecy on some procedures, views or functions in order to maintain security.

2013-07-16

3,864 reads

Blogs

All about PASS Summit 2019

By

Here are the things you must/should probably know about PASS Summit 2019, as told...

Database Fundamentals #22: Using the Join Operator, CROSS JOIN

By

While the CROSS JOIN is not used much, and, depending on the size of...

Automate Your SQL Notebooks with Two New Options

By

There are two new options for automating your SQL Notebooks with your SQL Servers....

Read the latest Blogs

Forums

Is Data the Future of the Vibrant Web?

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Is Data the Future of...

Log_Reuse_wait_Desc 'AVAILABILITY_REPLICA'

By Syed_SQLDBA

I have a very small DBs (3 GB) but I noticed that the size...

Publishing article revision updated intro comment date in article forum

By Solomon Rutzky

I recently revised an article, https://www.sqlservercentral.com/steps/stairway-to-sqlclr-level-2-sample-stored-procedure-and-function , and just noticed that, in the article-specific forum...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers