php.de

Zurück   php.de > Webentwicklung > PHP Einsteiger > PHP Tipps 2006

 
 
LinkBack Themen-Optionen Thema bewerten
Alt 11.06.2006, 21:50  
Gast
 
Beiträge: n/a
Standard Mysql Tabelle Exportieren und Importieren (Kopieren)

Hi,

alsi ich habe Folgendes Problem, und zwar das ich eine grundtabell ehabe die sich imemr ändert und die muss irgendwie kopiert werden ?


MFG
 
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 11.06.2006, 21:55  
Erfahrener Benutzer
 
Registriert seit: 13.11.2005
Beiträge: 2.583
xabbuh
Standard

http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html
xabbuh ist offline  
Alt 11.06.2006, 21:58  
Gast
 
Beiträge: n/a
Standard

ähm sry aber ich glaube das geht nur über console und ich muss das irgendwie über PHP machen


MFG
 
Alt 11.06.2006, 22:01  
Erfahrener Benutzer
 
Registriert seit: 13.11.2005
Beiträge: 2.583
xabbuh
Standard

CREATE TABLE kann auch mit den Resultaten von SELECT-Abfragen arbeiten.
xabbuh ist offline  
Alt 11.06.2006, 22:06  
Gast
 
Beiträge: n/a
Standard

Zitat:
CREATE TABLE new_tbl LIKE orig_tbl;

CREATE TABLE ... LIKE does not preserve any DATA DIRECTORY or INDEX DIRECTORY table options that were specified for the original table, or any foreign key definitions.

You can precede the SELECT by IGNORE or REPLACE to indicate how to handle rows that duplicate unique key values. With IGNORE, new rows that duplicate an existing row on a unique key value are discarded. With REPLACE, new rows replace rows that have the same unique key value. If neither IGNORE nor REPLACE is specified, duplicate unique key values result in an error.

To ensure that the binary log can be used to re-create the original tables, MySQL does not allow concurrent inserts during CREATE TABLE ... SELECT.
Previous / Next / Up / Table of Contents

Das sieht glaube ich dannach aus was och bruache bloß werden da auch die tabellen inhalte mit Übertragen? WEil so wie ich das gelesen habe nich t

MFG
 
 


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Was ist das Limit der Datensätze in einer MySQL Tabelle? ph!l Datenbanken 3 17.01.2010 22:37
[Erledigt] Php Mysql ausgabe in Tabelle / Gruppentrennung xitam PHP Tipps 2008 3 28.05.2008 22:03
MYSQL - Abfragen, vergleichen, kopieren medico Datenbanken 1 31.08.2006 10:32
Problem mit mySQL Datenbanken 7 27.09.2005 12:06
MYSQL - ASCII query in UTF8 Tabelle PHP Tipps 2005-2 1 14.09.2005 14:43
mysql abfrage über 4 Tabelle - bis 3 geht, bei der 4. habert Datenbanken 2 08.09.2005 11:59
Text mit Absätzen von mysql tabelle anzeigen Matthiasnet PHP Tipps 2005-2 2 27.07.2005 14:39
select feld mit auswahl aus mysql tabelle PHP Tipps 2005 10 01.06.2005 14:17
[Erledigt] CSV Datei in MySQL importieren Datenbanken 3 04.04.2005 09:11
DB Tabelle kopieren und anschliessend löschen test022 PHP Tipps 2004-2 15 25.11.2004 10:40
Tabelle drucken bzw. exportieren ajo_silent PHP-Fortgeschrittene 5 11.11.2004 14:29
tabelle in Mysql übertragen Datenbanken 0 05.08.2004 10:23
Maximal Wert in MYSQL Tabelle nach id rausfinden? PHP Tipps 2004 3 03.07.2004 23:27
[Erledigt] einlesen von .txt file in deine Tabelle unter MySQL Datenbanken 1 16.06.2004 14:14
[Erledigt] HILFE: Column count doesn't match value count at row 1 Datenbanken 17 12.06.2004 16:45

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
mysql tabelle exportieren, mysql export table, mysql tabellen exportieren, mysql tabelle importieren, mysql tabelle export, mysql tabellen importieren, tabelle exportieren mysql, mysql datenbank exportieren, mysql table export, mysql einzelne tabelle exportieren, mysql table exportieren, export table mysql, mysql tabellen sichern, export mysql table, mysql einzelne tabellen importieren, mysql einzelne tabelle importieren, mysql export table data, tabellen exportieren mysql, mysql export tabelle, mysql einzelne tabellen sichern

Alle Zeitangaben in WEZ +1. Es ist jetzt 19:21 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.