Forums / Setting Up Categories, Products, Attributes / Update Data With SQLScripts Created In Excel

Update Data With SQLScripts Created In Excel

Sticky Locked

Views: 161,796

Results 61 to 70 of 70
This thread is locked. New replies are disabled.
12 Mar 2006, 10:14 PM
#61
asllearner avatar

asllearner

New Zenner

Join Date:
Mar 2006
Posts:
4
Plugin Contributions:
0

Update Data With SQLScripts Created In Excel

This was very helpful, and i did manage to get everything to work, but i am still a little leery of using it, naturally.
I have only one use for it right now, which is to delete a long list of category names that cog imported by a faulty use of easy populate.

I have emptied the categories such there are no products for them, but it would be nice to be able to just delete the wayward elements in the categories table, and I assume i would have to do category descriptions table as well. but as everything is linked together in ways only the gods really understand, i wonder if there is more to it?

13 Mar 2006, 8:43 PM
#62
Join Date:
Mar 2006
Posts:
16
Plugin Contributions:
0

Re: Update Data With SQLScripts Created In Excel

tanks K.

Ill check em out :)

Im loving this whole cart thing though I have to say.

no amount of uncorrelated data could ruin it for me...

::frust

I REALLY appreciate you taking the time to answer, point and link for me ::tup

hero!

~?>#segFault...

</div><table border=\'0\' align=\'center\' width=\'95%\' cellpadding=\'3\' cellspacing=\'1\'><tr><td>**QUOTE** </td></tr><tr><td id=\'QUOTE\'>**segmentation fault** - An error in which a running Unix program attempts to access memory not allocated to it and terminates with a segmentation violation error and usually a core dump.</td></tr></table><div class=\'signature\'>
14 Mar 2006, 9:19 PM
#63
Join Date:
Mar 2006
Posts:
16
Plugin Contributions:
0

Re: Update Data With SQLScripts Created In Excel

Data manager...

I tried it. looks great. but I think anyone with non standard table prefixes should check through the code 1st....

I didnt... ouch.

:)

I told the designer dude on his forum... he seems a nice helpful person reading through his posts. Great.

::tup

~?>#segFault...

</div><table border=\'0\' align=\'center\' width=\'95%\' cellpadding=\'3\' cellspacing=\'1\'><tr><td>**QUOTE** </td></tr><tr><td id=\'QUOTE\'>**segmentation fault** - An error in which a running Unix program attempts to access memory not allocated to it and terminates with a segmentation violation error and usually a core dump.</td></tr></table><div class=\'signature\'>
14 Mar 2006, 11:44 PM
#64
dwno avatar

dwno

Totally Zenned

Join Date:
Jan 2005
Posts:
1,285
Plugin Contributions:
0

Re: Update Data With SQLScripts Created In Excel

Being the designer dude, I'd like to ask if you ran the sql through the ZC admin or not, like I suggested? ;)

Edit: let's not hijack the thread though, pm me if you need help with it. ;)

15 Mar 2006, 2:55 AM
#65
Join Date:
Mar 2006
Posts:
16
Plugin Contributions:
0

Re: Update Data With SQLScripts Created In Excel

since I dissed you here
I should undiss you here.

I am an idiot, I did not follow the SIMPLE instructions.

forgive me.

it is great.

(doh!) ::frust

hope that helps put anyone who thinks I am not an idiot straight

::tup

~?>#segFault...

</div><table border=\'0\' align=\'center\' width=\'95%\' cellpadding=\'3\' cellspacing=\'1\'><tr><td>**QUOTE** </td></tr><tr><td id=\'QUOTE\'>**segmentation fault** - An error in which a running Unix program attempts to access memory not allocated to it and terminates with a segmentation violation error and usually a core dump.</td></tr></table><div class=\'signature\'>
18 Mar 2006, 3:16 PM
#66
redsunflower avatar

redsunflower

New Zenner

Join Date:
Mar 2006
Posts:
2
Plugin Contributions:
0

Re: Update Data With SQLScripts Created In Excel

JuxiZoza:

It addresses UPDATING your tables, not INSERTING new records. I never finished the 'inserting new records' addendum that I was working on.
But, that has not prevented numerous users from adapting their worksheets to do that.
I've managed (finally) to get my update scripts working, :D but can't seem to get it to upload any new stock I have.
I've tried changing the 'UPDATE products SET' to say 'INSERT products SET' but this bring back an error. I'm probably just being blonde! ::frust

I'm fine with anything in excel but fairly new to SQL codes. Can anyone give me a couple of pointers as to what i need to change to get my products inserted rather than just updated.

Any help is greatly appreciated!

Zen Cart is fantastic even if it is a steep learning curve (feels more like a cliff!!)

THANKS

18 Mar 2006, 7:36 PM
#68
dwno avatar

dwno

Totally Zenned

Join Date:
Jan 2005
Posts:
1,285
Plugin Contributions:
0

Re: Update Data With SQLScripts Created In Excel

redsunflower:

I've tried changing the 'UPDATE products SET' to say 'INSERT products SET' but this bring back an error. I'm probably just being blonde! ::frust
That's not the way to insert rows.
INSERT syntax
UPDATE syntax

19 Mar 2006, 11:55 AM
#69
redsunflower avatar

redsunflower

New Zenner

Join Date:
Mar 2006
Posts:
2
Plugin Contributions:
0

Re: Update Data With SQLScripts Created In Excel

THANKS Dwno - that's exactly what I needed. You were a great help! ::tup
Wish me luck x

23 Mar 2006, 4:16 AM
#70
manish avatar

manish

New Zenner

Join Date:
Mar 2006
Posts:
24
Plugin Contributions:
0

Re: Update Data With SQLScripts Created In Excel

Hi Guys,

I have read the entire thread and am trying hard to understand uploading data by excel.

Need a small help. I am planning to create a shopping cart for selling Stock Images. I have same price for 3 types of attributes for these images.
To mass upload the data for a particular category which tables do I need to populate.

Thanks.