Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Inserting multiple values with single quotes in single field - forum topic by sunnydepp

$
0
0

I have a table 'T' with two columns - Row_ID and Country_Code. The data in table should look like this. 
Row_ID   Country_Code
1              'USA', 'CHN', 'IND', 'GBR'
2               'MEX', 'CAN', 'FRA', 'GER'
3               'SL', 'BAN', 'JPN', 'SWZ'
 
How do I insert this data using a simple insert ?  I know I can work this out by 'Import' feature in SQL Assistant but I am looking for a INSERT INTO T VALUES (....) solution. The problem is with concatanating values within single quote(').
Let me know if you need me to clarify something which will help you provide solution. Thanks !

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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