Results for "Stored Procedure"

59 / 59 posts

Understanding Stored Procedures in MSSQL

What is a Stored Procedure? A stored procedure is a group of SQL statements that are compiled and saved in the database. Instead of writing the same SQL qu…

azure database oracle
Match in titleMatch in content
Mar 19, 2026 5 min read

Stored Procedure in MySQL

Syntax for Creating a Stored Procedure DELIMITER // CREATE PROCEDURE procedure_name (IN param1 data_type, OUT param2 data_type) BEGIN -- SQL statements END…

Match in titleMatch in contentMatch in code
Mar 19, 2026 1 min read

What is Functions and Difference between Functions and Stored Procedures in SQL Server

What is a Function in sql : A function is a set of SQL Statements that perform a specific task. Basically, it is a set of SQL statements that accept only i…

database oracle programming
Match in titleMatch in content
Mar 19, 2026 3 min read

SYS and INFORMATION_SCHEMA

...s schema is a special schema that contains system views and stored procedures that provide metadata about the SQL Server…

code database oracle
Match in contentMatch in code
Mar 19, 2026 5 min read

Store Error Logs In SQL

Create Table for Error log: CREATE TABLE [dbo].[ErrorLog]( [ErrorLogID] [int] IDENTITY(1,1) NOT NULL, [ErrorTime] [datetime] …

azure mysql programming
Match in contentMatch in code
Mar 19, 2026 2 min read

What is “CREATE TABLE TYPE” in SQL Server?

...me ek custom table ka design bana lete ho, jise aap baad me Stored Procedures, Functions, aur…

CREATE TABLE TYPE Table data type Table Variable
Match in content
Mar 19, 2026 2 min read

How to find table column information by using SQL query

...Guide to Fetching Table and Column Metadata with SQL Server Stored Procedures When working with databases, understanding the structure of tab…

azure database pivot
Match in content
Mar 19, 2026 4 min read

SQL Server Deadlock & Performance Monitoring Made Easy

...Server deadlocks and monitor performance with ready-to-use stored procedures for faster troubleshooting and optimization.

Blocking DatabaseMonitoring DatabasePerformance
Match in tagsMatch in content
Mar 19, 2026 5 min read

SQL Server Multi-Level Approval Workflow with Auto Skip Logic

In many enterprise applications like HRMS, Travel Requests, Expense Approval, Purchase Approval , we need a multi-level approval workflow . But real system…

Multi-Level Approval Workflow SQL
Match in contentMatch in code
Mar 1, 2026 14 min read

SQL Server Index Optimization Automation (Missing & Unused Index Management)

Got it! Yeh lo plain content — seedha copy karo apne blog mein. Pehle workflow diagram, phir poora blog content.Pehle workflow diagram — screenshot leke blog m…

SQL Server Index Optimization Database Performance
Match in tagsMatch in contentMatch in code
Mar 24, 2026 8 min read

Database Permissions in SQL Server

...rform on specific database objects (like tables, views, and stored procedures). Permis…

azure database security
Match in content
Mar 19, 2026 2 min read

Triggers in SQL server

A trigger in SQL is a special type of stored procedure that runs automatically when certain actions happen in a table or view . A trigger cannot be explici…

comma saparate database mysql
Match in content
Mar 19, 2026 7 min read

What is a SQL Statement and types of SQL statements

...query or command used to perform various operations on data stored in a relational database. SQL statement…

database oracle programming
Match in contentMatch in code
Mar 19, 2026 4 min read

Functions in MySQL

In MySQL, a Function is similar to a Stored Procedure but with some key differences. Functions are used to perform calculations or operations and return a …

Match in content
Mar 19, 2026 1 min read

SQL Interview Q&A

Here are the questions along with their corresponding answers extracted from the provided context: What is SQL? SQL stands for Structured Query Language. I…

clustered index database interview
Match in content
Mar 19, 2026 12 min read

Added columns in a table by dynamic ways

...S NOT NULL BEGIN DROP PROC AddedDynamicColumn END GO CREATE PROCEDURE AddedDynamicColumn AS BEGIN SELECT ED.empid,E…

database mysql pivot
Match in content
Mar 19, 2026 5 min read

Statistics in SQL Server

Statistics SQL Server ke “mind” jaise hote hain. Ye SQL Server ko batate hain ki table me data kis tarah se distribute hai — jaise kitne values unique hain…

CREATE STATISTICS Statistics UPDATE STATISTICS
Match in contentMatch in code
Mar 19, 2026 11 min read

How to use GOTO statement in SQL server

If you want to jump to a specific point in your SQL code, you can use the GOTO statement. The GOTO statement is used to exit a loop or a nested block of co…

database GOTO oracle
Match in contentMatch in code
Mar 19, 2026 2 min read

SQL Server Agent Jobs & Schedules – Complete Practical Guide (Step-by-Step)

Agar aap SQL Server me automation samajh chuke ho, to next logical step hai SQL Server Agent Jobs aur Schedules ko practically use karna . Is blog me hum d…

Agent Jobs & Schedules SQL
Match in content
Mar 19, 2026 4 min read

Variables In MySQL

Variables are used to store values temporarily during the execution of SQL queries. There are two main types of variables in MySQL: Session Variables : Ses…

mysql
Match in contentMatch in code
Mar 19, 2026 1 min read

MDF, NDF, LDF, and Filegroups

🔹 1. Filegroup kya hota hai? 🔸 Definition: Filegroup SQL Server में logical storage unit hota hai, jisme ek ya zyada data files hoti hain. Ye filegroups …

Filegroup ldf mdf
Match in content
Mar 19, 2026 3 min read

SQL Server System Databases

Introduction SQL Server me jab hum kaam karte hain, to generally hum tables, queries aur user databases par focus karte hain. Lekin ek hidden backbone hota…

Database Administration Master Database SQL Server MSDB SQL Server
Match in content
Mar 14, 2026 4 min read

SQL Server Management Studio (SSMS) – Complete Beginner Guide

SQL Server Management Studio Kya Hai? SQL Server Management Studio (SSMS) ek graphical interface (GUI tool) hai jisse aap SQL Server ke almost saare operat…

SQL Server Management Studio SSMS SQL
Match in content
Mar 19, 2026 3 min read

SQL Server Administration – Management Tools Overview

Is section me hum mainly SQL Server ke management tools aur system databases ko samjhenge. SQL Server Management Tools Jab aap Microsoft SQL Server install…

Management Tools SQL Server Management Tools SQL
Match in content
Mar 19, 2026 4 min read

SQL Server Agent Alerts, Operators, Database Mail & Job Activity Monitor

Production environment me sirf jobs schedule karna hi kaafi nahi hota. Hume monitoring aur notification system bhi chahiye hota hai taaki agar koi job fail…

Agent Alerts Database Mail
Match in content
Mar 19, 2026 5 min read

SQL Server Optimization Q&A

1. What is SQL Server Optimization? Answer: SQL Server Optimization ka matlab hota hai database ka performance better banana — jaise queries fast chalna, k…

database Index Seek oracle
Match in content
Mar 19, 2026 5 min read

Implementing Transactions,Error Handling, and Dynamic SQL in SQL

Think of a transaction as a complete package deal. It's like when you buy something from a store. You give them money, and in return, you expect to get the…

comma saparate database Dynamic SQL
Match in content
Mar 19, 2026 16 min read

Master Database in SQL Server

Introduction SQL Server me agar koi ek database sabse zyada critical hai, to wo hai: Master Database Ye SQL Server ka core brain hai. Agar master database …

SQL Server Master Database SQL Server SQL Server System Databases
Match in content
Mar 19, 2026 3 min read

TempDB in SQL Server

Introduction SQL Server me ek aisa database hai jo har query, har process aur almost har operation me involve hota hai. Ye ek temporary w…

Database Performance SQL Server SQL Server Administration
Match in content
Mar 16, 2026 4 min read

Database Backup in SQL Server

In SQL Server, taking a database backup is crucial for data recovery and protection. Here’s a basic guide on how to perform a database backup and restore i…

backup database sql-server
Match in content
Mar 19, 2026 10 min read

What is Managed and External table in Spark

In Apache Spark, both Managed and External tables are used to store the data. However, there are significant differences in how Spark manages the data for …

azure data-engineering data-science
Match in content
Mar 19, 2026 3 min read

What is Blocking in SQL, How to solve blocking, and Kill Session

What is Blocking in SQL? Blocking occurs in SQL Server when one query or transaction holds a lock on a resource (like a row or table) and prevents other qu…

database oracle performance
Match in contentMatch in code
Mar 19, 2026 5 min read

Model & Resource Database in SQL Server

Introduction SQL Server ke system databases me kuch aise hidden heroes hote hain jo directly dikhte nahi, lekin bahut powerful role play karte hain. Aaj hum 2…

Match in content
Mar 24, 2026 4 min read

Spark SQL useful command

Spark SQL provides a variety of commands for managing databases, tables, and performing SQL operations. CREATE DATABASE IF NOT EXISTS demo; SHOW DATABASES;…

create table database spark sql
Match in content
Mar 19, 2026 3 min read

File Handling(create, read, write, and delete files etc.)

...n essential feature when working with data that needs to be stored perma…

copy create folder delete
Match in content
Mar 19, 2026 5 min read

Table Partitioning in SQL Server

Table Partitioning एक advanced database concept है जिसका उपयोग बड़े tables को छोटे, manageable हिस्सों (partitions) में बाँटने के लिए किया जाता है। इससे pe…

LIST Partitioning Partition RANGE Partitioning
Match in content
Mar 19, 2026 22 min read

Index Rebuilding vs. Reorganization in SQL Server

As a database grows, maintaining optimal performance becomes crucial. One of the key contributors to performance degradation over time is index fragmentati…

database oracle performance
Match in content
Mar 19, 2026 5 min read

Data archive in SQL Server

A data archive refers to the process of moving inactive or less frequently used data from an operational system to a storage system , typically in a separa…

database oracle Power BI
Match in content
Mar 19, 2026 2 min read

What difference between between MySQL and MSSQL

Feature MySQL MSSQL Ownership Oracle Corporation Microsoft Licensing Open-source (GPL) and commercial versions Commercial with free Express Edition Operati…

mysql
Match in content
Mar 19, 2026 2 min read

Pivoting and Unpivoting Data in SQL

Pivoting Data : Pivoting is the process of converting rows of data into columns, effectively changing the orientation of your data. It's useful when you ha…

database mysql pivot
Match in content
Mar 19, 2026 6 min read

In-Memory Databases (Data Warehouse Context)

🔹 In-Memory Database kya hoti hai? In-memory database wo database hoti hai jisme: 👉 Data hard disk par store nahi hota 👉 Data directly RAM (memory) me s…

In-Memory Databases Data Warehouse and Data Mining
Match in content
Mar 19, 2026 3 min read

Dynamic CREATE TABLE Script in SQL Server

DECLARE @TableName NVARCHAR(100) = 'Employee'; DECLARE @SQL NVARCHAR(MAX) = ''; DECLARE @PKCols NVARCHAR(MAX) = ''; -- Get Primary Key Column(s) SELECT @PK…

Create Table dynamic Foreign Key Constraints – Automatically Generate Non-Clustered Indexes
Match in content
Mar 19, 2026 4 min read

Table Types Comparison: SQL Server vs PostgreSQL

Table Type SQL Server PostgreSQL Scope / Lifetime Usage Notes Permanent Table CREATE TABLE Employee (...) CREATE TABLE Employee (...) Permanent in DB until…

Table Type SQL
Match in content
Mar 19, 2026 1 min read

Understanding Data Types and Variables in MSSQL vs PostgreSQL

📊 Data Types Comparison Table 🚩 Category 🟦 MSSQL 🟨 PostgreSQL Integer Types INT , BIGINT , SMALLINT INTEGER , BIGINT , SMALLINT , SERIAL Decimal Types …

Data Types Identity RETURNING id
Match in content
Mar 19, 2026 2 min read

Collect() in PySpark

PySpark collect() Function – The collect() function in PySpark is used to retrieve all the rows of a DataFrame (or RDD) from the distributed cluster back t…

collect PySpark
Match in content
Mar 19, 2026 2 min read

Understanding Default Size of VARCHAR in SQL Server

Introduction When working with SQL Server, developers often use the VARCHAR data type to store variable-length character data. However, many overlook a cri…

Understanding Default Size of VARCHAR in SQL Server Varchar Varchar Size
Match in content
Mar 19, 2026 2 min read

What is the KDD (Knowledge Discovery in Databases)

In today's world, data is everywhere. Businesses, healthcare, banking, and even social media generate vast amounts of data every second. But raw data alone…

Cleaning the Data Data Integration data mining
Match in content
Mar 19, 2026 3 min read

OLTP vs OLAP: A Beginner's Guide

What is OLTP? OLTP stands for Online Transaction Processing . It is a type of database system designed to handle a large number of short, quick operations,…

Data warehouse OLAP OLTP
Match in content
Mar 19, 2026 2 min read

Log Shipping (Ship Log) in SQL Server

Log Shipping in SQL Server is a high-availability feature that allows you to automatically send transaction log backups from a primary database on one serv…

backup database sql-server
Match in content
Mar 19, 2026 2 min read

What are System Tables, File Tables, External Tables and Graph Tables in SQL Server

1. System Tables Definition : System tables are internal tables used by SQL Server to store information about the database and server itself. These are met…

SQL
Match in content
Mar 19, 2026 3 min read

Basic in NumPy

NumPy is a Python library. NumPy is used for working with arrays. NumPy is short for "Numerical Python". The array object in NumPy is called ndarray, it pr…

Match in content
Mar 19, 2026 3 min read

What is catalog in Spark

In Apache Spark, the catalog refers to the internal management system that keeps track of all the metadata related to tables, databases, functions, and oth…

azure database databricks
Match in content
Mar 19, 2026 2 min read

Schema and Handling Corrupt data in PySpark

A schema in PySpark (and generally in data processing) defines the structure of a DataFrame, including the names and data types of each column. It serves a…

comma saparate data-engineering database
Match in content
Mar 19, 2026 4 min read

What is Data Ingestion and DataFrame API

Data ingestion : Data ingestion refers to the process of collecting, importing, and importing data from various sources into a system or storage environmen…

DAta ingestion Data Load etl
Match in content
Mar 19, 2026 4 min read

XML Data – Complete Conceptual Guide (SQL Server Perspective)

How insert data on table from XML in SQL server, example: There are two method for insert data in table from XML. DECLARE @XMLInput VARCHAR(MAX); SET @XMLI…

azure comma saparate database
Match in content
Mar 19, 2026 6 min read

SQL Server Data type

SQL Server provides a variety of data types to store different kinds of data efficiently. Here are some commonly used SQL Server data types: CHAR(size): A …

comma saparate database Datatype
Match in content
Mar 19, 2026 4 min read

Normalization in Databases

Normalization in a database is the process of organizing the data to reduce redundancy and improve data integrity. The main goal of normalization is to bre…

comma saparate database mysql
Match in content
Mar 19, 2026 2 min read

What is an Index? Explain its different types in SQL

✅ Index in SQL Server (इंडेक्स इन SQL सर्वर): Index SQL Server में एक database object (डेटाबेस ऑब्जेक्ट) है जो टेबल के डेटा को जल्दी से प्राप्त करने के लिए…

database Index mysql
Match in content
Mar 19, 2026 9 min read

Use of Apply(Cross and Outer) operator in SQL server

APPLY operator joins two table expressions. Also, I'll show how it differs from regular JOINs. Operator: CROSS APPLY Similar: INNER JOIN When to Use: Use a…

comma saparate database excel
Match in content
Mar 19, 2026 3 min read