-
Apr 25th, 2006, 02:53 AM
#1
Thread Starter
New Member
Script to enter data to sql table
Hi all,
I am wondering how easy it is and if so how to have a text file read in externally as data in my sql database.
eg I have a text file in the same directory as my sql database is stored.
It contains circuit reading numbers:
25
24
25
30
40
45
How could I write some sort of script that when I click on it would extract these numbers and place them into my circuit readings table in my database? I am a novice so have no idea where to begin.
So from above 25 would become Circuit1, 24 Circuit 2 etc as a new row in my Circuit readings table.
Thanks for any advice.
Phil
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|