Instruction SQL SERVER BULK INSERT d'un fichier.txt dans une TABLE SQL SERVER

User: "JEAN_21512"
Altair Community Member
Updated by JEAN_21512

version francaise (16.1.1.28887)

Bonjour,

puis-je avoir un exemple de requête avec une instruction "bulk insert" à partir d'un fichier .txt vers une table sql server dans l'onglet "Requête" ?

image

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Nicholas_21406"
    Altair Employee
    Updated by Nicholas_21406

    For our English speaking friends: 

    can I have an example query with a "bulk insert" statement from a .txt file to a sql server table in the "Query" tab

    User: "Nicholas_21406"
    Altair Employee
    Updated by Nicholas_21406

    For our English speaking friends: 

    can I have an example query with a "bulk insert" statement from a .txt file to a sql server table in the "Query" tab

    • Je crains que les instructions INSERT ne soient pas autorisées ici. Si, toutefois, vous avez écrit une procédure stockée qui effectuait une insertion groupée, vous pouvez alors l'appeler à partir de ce formulaire.
    • I'm afraid INSERT statements are not allowed here. If, however, you wrote a stored procedure that performed a bulk insert, you could then call it from this form.

    image

    • Vous devrez créer une procédure stockée à l'aide de SQLServer Management Studio ou quelque chose comme ça :
    • You would need to create a stored procedure using SQLServer Management Studio or something like that:

    image

    • Vous pouvez ensuite appeler la procédure stockée à partir de ce formulaire.
    • You could then call the stored procedure from that form.

    image

    User: "JEAN_21512"
    Altair Community Member
    OP
    Updated by JEAN_21512

    Merci pour votre réponse : c'est parfait ;)