Go Back   CodingForums.com > :: Server side development > MySQL

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-23-2002, 10:56 PM   PM User | #1
fritz Jung
New to the CF scene

 
Join Date: Jul 2002
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
fritz Jung is an unknown quantity at this point
import logic code

I have been using PHPmyadmin to do daily imports...

1. empty the table...
2. import the text file

I'd like to FTP all my files up and then create a statement that will

do this for several tables...

This will both automate the process and enable to deal with a SSH ftp connection instead of the 'clear' phpmyadmin...

Can anyone point me to a resource for this logic OR a way to grab what PHPmyadmin is doing????

Thanks.
__________________
Fritz Jung
co-founder
the Witches' Voice
www.witchvox.com
fritz Jung is offline   Reply With Quote
Old 07-24-2002, 09:59 AM   PM User | #2
Robbie
New Coder

 
Join Date: Jul 2002
Location: Behind my PC :)
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Robbie is an unknown quantity at this point
OK, lemme see....

if you click _something_ in your PMA, eg 'empty' or somthing, on the page that loaded you will see on the top something like this:

---
affected rows: xxx
SQL-query:
DELETE FROM [tabel] WHERE some = 'thing'
---

and that's the query you need, and on this way you can find your needing querycodes.
Robbie is offline   Reply With Quote
Old 07-24-2002, 01:55 PM   PM User | #3
fritz Jung
New to the CF scene

 
Join Date: Jul 2002
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
fritz Jung is an unknown quantity at this point
Quote:
Originally posted by Robbie
OK, lemme see....

if you click _something_ in your PMA, eg 'empty' or somthing, on the page that loaded you will see on the top something like this:

---
affected rows: xxx
SQL-query:
DELETE FROM [tabel] WHERE some = 'thing'
---

and that's the query you need, and on this way you can find your needing querycodes.
thanks... That is a path...

Now to get this all together.
__________________
Fritz Jung
co-founder
the Witches' Voice
www.witchvox.com
fritz Jung is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:12 PM.


Advertisement
Log in to turn off these ads.