Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8968183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:24:46+00:00 2026-06-15T17:24:46+00:00

I have approximately 1000 lines that are used to generate a db like so

  • 0

I have approximately 1000 lines that are used to generate a db like so :

INSERT INTO cfg_locale VALUES(1,8,1,0,0,'Unknown Switch Type','Enum_CfgSwitchType')
INSERT INTO cfg_locale VALUES(1,8,1,1,0,'Nortel Meridian 1','Enum_CfgSwitchType')
INSERT INTO cfg_locale VALUES(1,8,1,2,0,'Rockwell Spectrum','Enum_CfgSwitchType')
INSERT INTO cfg_locale VALUES(1,8,1,3,0,'Rockwell Galaxy','Enum_CfgSwitchType')
INSERT INTO cfg_locale VALUES(1,8,1,4,0,'Nortel Communication Server 2000/2100','Enum_CfgSwitchType')
INSERT INTO cfg_locale VALUES(1,8,1,5,0,'Avaya Communication Manager','Enum_CfgSwitchType')

Please note that i need to translate this db to french (recreation is not an option)

Here are samples of the french config file:

INSERT INTO cfg_locale VALUES(1,8,29,0,0,'Type de HA inconnu','CFGHTNoHAType')
INSERT INTO cfg_locale VALUES(1,8,29,1,0,'Non spécifié','CFGHTColdStanby')
INSERT INTO cfg_locale VALUES(1,8,29,2,0,'Reprise intermédiaire','CFGHTWarmStanby')
INSERT INTO cfg_locale VALUES(1,8,29,3,0,'Reprise immédiate','CFGHTHotStanby')

I was thinking :

REPLACE((cfg_locale VALUES(1,8,1,0,0,'Unknown Switch Type','Enum_CfgSwitchType')),INSERT INTO cfg_locale VALUES(1,8,29,0,0,'Type de HA inconnu','CFGHTNoHAType'))

This obviously doesn’t work (SQL NOOB)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T17:24:47+00:00Added an answer on June 15, 2026 at 5:24 pm

    If you want to update existing data you would have to do something like

    Update cfg_locale set Field='Type de HA inconnu',Field2='CFGHTNoHAType'
    Where Keyfield=xxxx
    

    where could could be perhaps

     Where Field='Unknown Switch Type' and Field2='Enum_CfgSwitchType'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to send emails to approximately 1000 users such that no one gets
I have a task to design a SQL database that will record values for
I have an array with approximately 1000 elements what I want to do is
I have a series of approximately 50 images each approximately 100kb each that needs
I have an XML file that is approximately 12mb which has about 16000 product's.
I have approximately 7 terabytes of various media files (pdf's, jpg's, tiff's) that currently
I have a Solr/Lucene index file of approximately 700 Gb. The documents that I
I have been developing in Android for approximately two months now. Yesterday, my eclipse
I have a large binary file (700 Mb approximately) which I load to TMemoryStream.
I have a program which needs to hold approximately 3000 open file descriptors in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.