feature request [ 1658127 ] Select charset encoding on import

This commit is contained in:
teo_sarca 2007-02-13 16:49:04 +00:00
parent a4cc48d2e2
commit 7618483385
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
insert into AD_MESSAGE_TRL (
"AD_MESSAGE_ID", "AD_LANGUAGE", "AD_CLIENT_ID","AD_ORG_ID","ISACTIVE","CREATED","CREATEDBY","UPDATED","UPDATEDBY",
"MSGTEXT","MSGTIP","ISTRANSLATED"
)
select
m.AD_Message_ID, lang.AD_Language, m.AD_Client_ID, m.AD_Org_ID, 'Y', m.Created, m.CreatedBy, m.Updated, m.UpdatedBy,
m.MsgText, m.MsgTip, 'N'
from AD_Message m, AD_Language lang
where
m.AD_Message_ID = 50007
and lang.IsSystemLanguage='Y' and lang.IsBaseLanguage='N'
and not exists (select * from AD_Message_TRL m2 where m2.AD_Message_ID=m.AD_Message_ID and m2.AD_Language=lang.AD_Language)
;
commit;