I’m working on a multi lingual system using database ,
am Trying to clone all record with specific language_id ‘EN’ , and clone into same table but different language_id with same key_value and key text
table language
id---language_id---key_value---key_text
1 EN _WELCOME Welcome
2 CH _WELCOME ...
3 EN _LOG_IN Log In
4 CH _LOG_IN ...
Did some workhome , but its not working , not sure this is right way of doing the job.
INSERT INTO language (language_id,key_value,key_text)
(SELECT 'FR','key_value','key_text' FROM language WHERE language_id='EN' )
//Unknown column 'language_id' in 'where clause'
I got this sample from some old webs tutorial , but they are working on different table
If you want to insert all
'EN'data as'FR', Try; T-Sql