Upload csv file and import into db table
Last Post 11-21-2008 07:33 AM by Chad Nash. 1 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Tom WorkmanUser is Offline
skipping stones
skipping stones
Posts:8
Avatar

--
11-20-2008 02:40 PM

    I need a way to let users upload a delimited text file with a pre-defiled format, and have the system parse and insert the data into a database table.  Is there a way to do this with Dynamic Forms/stored proc?

     

    Thanks.

    -Tom

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    11-21-2008 07:33 AM
    Tom,

    Hi. I do not know of a direct way for Dynamic Forms to do this. What you could do is possibly save the file, then use a SQL completion event to pass the filename to the database. Something like stp_executeandopenfile '$(YourShortFileFieldName)' etc...

    From there all logic would have to be setup to open the file via TSQL and perform any type of cursor/loop and manage your data there. I would first make sure to get this working where you can use it just under Host, SQL or under the query analyzer, then once you have it working move it to a SQL event within Dynamic Forms.

    -Chad


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi