Results for "XML"

11 / 184 posts

How to comma separate value by using XML in SQL server

Before SQL Server 2017 (14.x), you can achieve the comma-separated values using the XML method. Here's an example of how you can achieve this: DECLARE @Sta…

database mysql postgresql
Mar 19, 2026 2 min read

How to get first date of given date or month.

Get First date of month: SELECT DATEFROMPARTS(YEAR(GETDATE()), MONTH(GETDATE()), 1) AS FirstDayOfCurrentMonth Create function for that IF NOT EXISTS (SELEC…

database mysql pivot
Mar 19, 2026 1 min read

How to one series with comma separate(any Delimiter) value split into in rows

If we have one series with comma separate(any Delimiter) value and we want split into in rows, I have create function for that: IF OBJECT_ID('TF_SplitSerie…

database pivot SQL Server
Mar 19, 2026 1 min read

UNION, UNION All, INTERSECT, EXCEPT used in SQL Server

UNION : The UNION operator is used to combine the result sets of two or more SELECT statements into a single result set. It removes duplicate rows from the…

database EXCEPT INTERSECT
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
Mar 19, 2026 9 min read

What is View in SQL server

A view is a virtual table based on the result-set of an SQL statement. A view contains rows and columns, just like a real table. IF OBJECT_ID('ViewTable','…

cloud comma saparate database
Mar 19, 2026 1 min read

ANY and ALL operators used in SQL

The ANY operator: returns a boolean value as a result returns TRUE if any of the sub-query values meet the condition Any means that the condition will be t…

comma saparate database mysql
Mar 19, 2026 1 min read

Logical Query Processing Phases in SQL

SQL query processing consists of several logical phases, which describe the order in which SQL statements are evaluated. These phases help in understanding…

database mysql oracle
Mar 19, 2026 3 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
Mar 19, 2026 6 min read

What is Power BI

Power BI is a suite of business analytics tools developed by Microsoft that allows you to visualize and share insights from your data. Power BI consists of…

business-intelligence comma saparate data-visualization
Mar 19, 2026 2 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
Mar 19, 2026 3 min read