If it is a file containing structured data then you may be able to import the data into Access. If it is a file with actual SQL statements then you will some how have to get the SQL into Access and the execute it. But without some more information its not easy to say what is possible!
If each SQL statement was valis, then it would still be necessary to read each SQL statement individually to execute it. So code will be necesary to do this.
Kan man ikke bare bare redigere filen således, at den virker? Fjerne Create Table, og så oprette tabellen selv og så fjerne alt "INSERT INTO polyphonic_ringtones_text ". Kan man ikke bare køre det i vb.net i asp.net?
Not quite sure what you mean by "...og så fjerne alt "INSERT INTO polyphonic_ringtones_text ""
If you did that then the file would be empty :o)
You can run SQL in vb.net/asp.net but as far as I know, NOT directly from a text file containing the SQL. So you will either need to open the file and read the SQL into your program and run it from there. OR code the SQL statements directly in your code.
But without more information its hard to help.
If you create the table in Access then yu can cut and paste the INSERT into.... stataments (one at a time) into Access query designer and run them there
Det er over 3000 rækker....det er derfor jeg prøver andre metoder ;) Kan man ikke bare oprette en tabel i en database, og så kopiere dataene fra sql filen, altså: ---------------- INSERT INTO polyphonic_ringtones_text VALUES (1,'What\'s Luv?','Ashanti',2); INSERT INTO polyphonic_ringtones_text VALUES (2,'7 Days','Craig David',0);
Not quite sure I understand that! what does a midi file have to do with a file containing plain SQL text?
If you do have a midid file somewhere, then it may be an idea to only save the path/filename to the file in the database. Then you can maybe use shellexec() to open the file using the files associated program.
I need an answer to me comments 09/07-2005 10:06:34
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.