Quantcast
Channel: Active questions tagged cte - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 213

insert the records after splitting the column values

$
0
0

Notes stored in the database as

#AAA_FIRST, #AAA_SECOND_ENTRY, #AAA_THIRD, #AAA_FOURTH, #AAA_FIFTH_ENTRY

.now i am trying to insert AAA in one table and FIRST , SECOND_ENTRY,THIRD,FOURTH,FIFTH_ENTRY in details table

for row 2

insert AAA in the same table if doesn't exist and #AAA_FIRST, #AAA_FIFTH_ENTRY in details table

row 1 -> id 100 ->

#AAA_FIRST, #AAA_SECOND_ENTRY, #AAA_THIRD, #AAA_FOURTH, #AAA_FIFTH_ENTRY

row 2 -> id 200 ->#AAA_FIRST, #AAA_FIFTH_ENTRY

*please help


Viewing all articles
Browse latest Browse all 213

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>