Results for "create table"

9 / 184 posts

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

How to Create table in Power BI using Dax

ROW: The ROW function in DAX creates a single row table with the specified columns and values. ROW(columnName1, value1, [columnName2, value2], ...) Si…

Power BI
Mar 19, 2026 1 min read

SQL MERGE statement

CREATE DATABASE SqlShackMergeDemo GO USE SqlShackMergeDemo GO CREATE TABLE SourceProducts( ProductID INT, ProductName VARCHAR(50), Price DECIMAL(9,2) ) GO …

database insert Power BI
Mar 19, 2026 1 min read

PartitionBy() in PySpark

partitionBy() एक function है जो DataFrame को disk par likhne (write) के time par use hota hai. ये function pyspark.sql.DataFrameWriter class ka part hai. �…

create table Data Skew partitionBy
Mar 19, 2026 3 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
Mar 19, 2026 2 min read

Database trigger to audit (Transaction logs) all of the DDL changes made to the Database

Create table DatabaseLog: CREATE TABLE [dbo].[DatabaseLog]( [DatabaseLogID] [int] IDENTITY(1,1) NOT NULL, [PostTime] [datetim…

azure database oracle
Mar 19, 2026 2 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
Mar 19, 2026 1 min read

What is “CREATE TABLE TYPE” in SQL Server?

Ye ek User-Defined Table Type (UDTT) hota hai. Aap 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
Mar 19, 2026 2 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
Mar 19, 2026 4 min read