Format Number with Commas in SQL Server

Format Number with Commas in SQL Server Using Query

In this SQL Server tutorial, you will learn how to format number with commas in SQL Server. Where you will understand how to use FORMAT() function to format the number. Also, you will use the different format specifier with the FORMAT() function to format the value with commas. Format Number with Commas in SQL Server … Read more

How to Check Autogrowth in SQL Server Using Query?

Check Autogrowth in SQL Server Using Query

In this SQL Server tutorial, I will show you how to check autogrowth in SQL Server using query. In this tutorial, you will learn how to use the sys.master_files system view to check the autogrowth of a database and all the databases on the SQL Server. Also, use the sp_MSforeachdb and sp_helpfile system procedures to … Read more

Check Database Table Size in SQL Server

Check Database Table Size in SQL Server

In this SQL Server tutorial, you will understand how to check database table size in SQL Server. Where you learn about the different system procedures or views to check the size of each table within any database. Also, you will see how to use SQL Server Management Studio to check the table size. Check Database … Read more

How to Get All Database Size in SQL Server Using Query?

Get All Database Size in SQL Server Using Query

In this SQL Server tutorial, I will show you how to get all database size in SQL Server using query. In this tutorial, you will use the sp_helpdb stored procedure and sys.master_files view to retrieve the size of all the databases on the SQL Server. Get All Database Size in SQL Server Using Query To … Read more

How to Generate Stored Procedure Script File in SQL Server?

Generate Stored Procedure Script File in SQL Server

In this SQL Server tutorial, you will learn how to generate stored procedure script file in SQL Server. You will understand about this script file and its benefits. Then, you will understand the syntax for the generated script file using the command line in sql server. In the end, you will use the SQL Server … Read more

How to Give Permission to Execute Stored Procedure in SQL Server?

Give permission to Execute stored Procedure in SQL Server Using SSMS Adding User

In this SQL Server tutorial, I will show you how to give permission to execute stored procedure in SQL Server. You will understand why giving execute permission on the stored procedure is necessary with examples. Then, understand the syntax that you can use to give execute permission. After that, I will demonstrate through query and … Read more