Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. How to Insert Record In MYSQL

How to Insert Record In MYSQL

Scheduled Pinned Locked Moved Database
helpdatabasemysqlxmltutorial
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hello Experts, I have 1 Lacs Records in Excel or XML. And i want to insert those records in Live Database in single Event. So pls help me for this issue.

    If you can think then I Can.

    W S S 3 Replies Last reply
    0
    • L Lost User

      Hello Experts, I have 1 Lacs Records in Excel or XML. And i want to insert those records in Live Database in single Event. So pls help me for this issue.

      If you can think then I Can.

      W Offline
      W Offline
      Wayne Gaylard
      wrote on last edited by
      #2

      My advice would be to convert the excel/xml file to a csv file and then you can use LOAD DATA INFILE[^] syntax to upload the data. This will be much quicker than using a transaction and Insert statements, especially if you are creating indexes. See Speed of Insert Statements[^] to get an idea of what is involved. Hope this helps

      When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman

      1 Reply Last reply
      0
      • L Lost User

        Hello Experts, I have 1 Lacs Records in Excel or XML. And i want to insert those records in Live Database in single Event. So pls help me for this issue.

        If you can think then I Can.

        S Offline
        S Offline
        SilimSayo
        wrote on last edited by
        #3

        You know "Lacs" is not an English word... :) Always remember to say 100K or 100,000.

        L 1 Reply Last reply
        0
        • S SilimSayo

          You know "Lacs" is not an English word... :) Always remember to say 100K or 100,000.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          SilimSayo wrote:

          You know "Lacs" is not an English word

          It is indeed an English word (although the spelling is not correct). You meant it is not American, right?

          1 Reply Last reply
          0
          • L Lost User

            Hello Experts, I have 1 Lacs Records in Excel or XML. And i want to insert those records in Live Database in single Event. So pls help me for this issue.

            If you can think then I Can.

            S Offline
            S Offline
            sri080188
            wrote on last edited by
            #5

            u can use BULKinsert

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups