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. Table insertion?

Table insertion?

Scheduled Pinned Locked Moved Database
question
6 Posts 2 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.
  • K Offline
    K Offline
    Karthick_gc
    wrote on last edited by
    #1

    Hi to all, I have a mail table with the fields like id,to,receiver,subject,description,date etc.. when i fill the to field with multiple receipient seperated by comma, i want to store in the table for all members. How it is possible?

    M 1 Reply Last reply
    0
    • K Karthick_gc

      Hi to all, I have a mail table with the fields like id,to,receiver,subject,description,date etc.. when i fill the to field with multiple receipient seperated by comma, i want to store in the table for all members. How it is possible?

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      So split the recipeints by comma and repeat the insert for each one.

      Never underestimate the power of human stupidity RAH

      K 1 Reply Last reply
      0
      • M Mycroft Holmes

        So split the recipeints by comma and repeat the insert for each one.

        Never underestimate the power of human stupidity RAH

        K Offline
        K Offline
        Karthick_gc
        wrote on last edited by
        #3

        Yes. Can u tell how to split and insert for each receipient?

        M 1 Reply Last reply
        0
        • K Karthick_gc

          Yes. Can u tell how to split and insert for each receipient?

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #4

          I just did, split the recipients using text.split Insert each record using your current insert method, changing the recipeint each time.

          Never underestimate the power of human stupidity RAH

          K 1 Reply Last reply
          0
          • M Mycroft Holmes

            I just did, split the recipients using text.split Insert each record using your current insert method, changing the recipeint each time.

            Never underestimate the power of human stupidity RAH

            K Offline
            K Offline
            Karthick_gc
            wrote on last edited by
            #5

            I cant get.Can u describe briefly?

            M 1 Reply Last reply
            0
            • K Karthick_gc

              I cant get.Can u describe briefly?

              M Offline
              M Offline
              Mycroft Holmes
              wrote on last edited by
              #6

              What are you doing over here - go back to the ASP forum where they may have more patience with fools - you obviously have no idea what you are doing.

              Never underestimate the power of human stupidity RAH

              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