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 > Insert text file in a text field ...
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Insert text file in a text field ...

Réponse
 
LinkBack Outils de la discussion
Vieux 18/10/2007, 15h41   #1
electric_r@yahoo.it
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Insert text file in a text field ...

Hallo,

I have 2 questions:

1) How can I insert a text file into a TEXT field of a table (by an
sql instruction) ?

2) How can I insert a microsoft word file into a BLOB field of a table
(by an sql instruction) ?

Please, could you me ?

Thank you .

Fab.

  Réponse avec citation
Vieux 18/10/2007, 17h21   #2
Peter H. Coffin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Insert text file in a text field ...

On Thu, 18 Oct 2007 06:41:52 -0700, electric_r@yahoo.it wrote:
> Hallo,
>
> I have 2 questions:
>
> 1) How can I insert a text file into a TEXT field of a table (by an
> sql instruction) ?
>
> 2) How can I insert a microsoft word file into a BLOB field of a table
> (by an sql instruction) ?
>
> Please, could you me ?


This is a task for the application program, not the database itself.

--
A way of life that is odd or even erratic but interferes with no rights or
interests of others is not to be condemned because it is different.
-- Chief Justice Warren E. Burger
  Réponse avec citation
Vieux 18/10/2007, 19h12   #3
Paul Lautman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Insert text file in a text field ...

electric_r@yahoo.it wrote:
> Hallo,
>
> I have 2 questions:
>
> 1) How can I insert a text file into a TEXT field of a table (by an
> sql instruction) ?
>
> 2) How can I insert a microsoft word file into a BLOB field of a table
> (by an sql instruction) ?
>
> Please, could you me ?
>
> Thank you .
>
> Fab.


Look at the LOAD_FILE() function in the manual


  Réponse avec citation
Vieux 19/10/2007, 11h08   #4
Captain Paralytic
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Insert text file in a text field ...

On 18 Oct, 14:41, electri...@yahoo.it wrote:
> Hallo,
>
> I have 2 questions:
>
> 1) How can I insert a text file into a TEXT field of a table (by an
> sql instruction) ?
>
> 2) How can I insert a microsoft word file into a BLOB field of a table
> (by an sql instruction) ?
>
> Please, could you me ?
>
> Thank you .
>
> Fab.


Do not multi-post. Cross-post if you must but don't multi
post It wastes people's time. http://www.blakjak.demon.co.uk/mul_crss.htm.

  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 00h38.


Édité par : vBulletin® version 3.7.3
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 ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10565 seconds with 12 queries