Search
 
SCRIPT & CODE EXAMPLE
 

SQL

SQL Server Splitting a string column into multiple rows, while repeating ID column


INSERT INTO TempSubProduct (ID, SubName)
SELECT ProductID, SPL.value
FROM Production.Product  AS PP
CROSS APPLY STRING_SPLIT(PP.Name,' ') AS SPL;
Comment

PREVIOUS NEXT
Code Example
Sql :: back up stored procedures mysql 
Sql :: faire la différence entre deux tables sql big query 
Sql :: how to add new column with default value in sql server 
Sql :: sql use with to get value counts and percentages 
Sql :: oracle last connexion 
Sql :: Rows, INSERT INTO, Returning 
Sql :: time in sql server 
Sql :: sql select rows with simlar names 
Sql :: what is truncate in sql 
Sql :: oracle list partitioned tables 
Sql :: mysql join same table multiple times group by 
Sql :: Unable to locate package libmysql-java 
Sql :: memberikan password root mysql 
Sql :: prisma transaction 
Sql :: Host ' is not allowed to connect to this MySQL server 
Sql :: sql with as 
Sql :: mysql not null 
Sql :: mysql delete duplicate rows except one 
Sql :: oracle convert hours to minutes 
Sql :: sql server inner join 
Sql :: postgresql create table add unique constraints 
Sql :: install pymysql in python 3 in windows 7 v2.7.10 codes with pip 
Sql :: open cursors in oracle 
Sql :: insert data to postgresql from excel 
Sql :: sql cross apply vs join 
Sql :: sql replace null values with another column 
Sql :: find the names of sailors who have reserved at least one boat 
Sql :: synonym oracle 
Sql :: create a table 
Sql :: auto increment psql not primary key 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =