PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.databases.mysql > how to create insert from select
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
how to create insert from select

Réponse
 
LinkBack Outils de la discussion
Vieux 02/10/2007, 18h07   #1 (permalink)
usaims
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut how to create insert from select

Greetings and thanks in advance.

I need to insert data into a table from a select statement from a
different database on another physical machine. I was just planning on
using copy and paste to do it. My goal is to create the insert syntax
from a select statement but not insert on the intial machine where I
executed the select statement. Just create the insert statement and
I'll just happily copy and paste to the other machine.


usaims

  Réponse avec citation
Vieux 02/10/2007, 19h40   #2 (permalink)
Paul Lautman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to create insert from select

usaims wrote:
> Greetings and thanks in advance.
>
> I need to insert data into a table from a select statement from a
> different database on another physical machine. I was just planning on
> using copy and paste to do it. My goal is to create the insert syntax
> from a select statement but not insert on the intial machine where I
> executed the select statement. Just create the insert statement and
> I'll just happily copy and paste to the other machine.
>
>
> usaims


Use mysqldump or if you have phpmyadmin, use the export function. It creates
INSERT statements for you


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 11h00.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09417 seconds with 10 queries