Search the Community
Showing results for tags 'sql script'.
-
Hallo zusammen, ich versuche mich zum testen gerade an der Aufgabe, eine Datenbank mit 480 Kategorien und einen Stammdatensatz von rund 190.000 Artikeldaten zu initialisieren. Ich muss den Ursprungsdatensatz vom reinen Textformat sowieso umkrempeln, also Zeilenweise einlesen, umkonvertieren in ein CSV. Nun braucht der Import der CSV Datenbank pro 5 Datensätze ca. eine Sekunde. (Anfangs etwas schneller) *schnarch* ;o) Ich kann suchen nach was ich will, ich finde zu dem Thema nirgends etwas. Daher hier die Frage: Gibt es nicht irgendwo eine Anleitung, Script, Idee, damit man das gleich ins SQL-Format bringen kann und sich dem Umweg über CSV spart, um es auf der Konsole in die Datenbank zu schreiben? Leider habe ich für Prestashop keine Beschreibung gefunden, die die Bezüge der Tabellen innerhalb der Datenbank einigermaßen, zumindest für mich sinnig, offenbart, so dass man hätte etwas eigenes konstruieren können. Im Moment habe ich Version 1.7.6.3 im Einsatz. Wäre nett wenn ich zumindest ersten Input diesbezüglich bekommen könnte. Danke
- 17 replies
-
- import csv
- database
-
(and 1 more)
Tagged with:
-
Hi all, Really hoping someone can help me out with this one. I've been banging my head on the walls. 🥺 As mentioned in the title, I'm trying to update the 'alias' field in the ps_address table in my database. Currently it simply says "My address" but I need it to be in Japanese and read "自分の住所". I've tried to run this SQL command : However it just tells me I'm not very familiar with SQL. Can anyone tell me how to fix this? Thanks in advance
-
Somehow Prestashop has lost the product tax rule (the tax rule exists, but all the products show "no tax"). How can update the 12,000 products I have online so PS adds the taxes? Most of my products have Canadian GST and BC PST, but some are just GST - I can manually change those, but going through each product to change its tax rule is prohibitive. Can someone design a sql query that would update all products? Thank you!