Home Forums SQL Server 2008 SQL Server Newbies Afficher le résultat de la procédure DetailRapport sous excel RE: Afficher le résultat de la procédure DetailRapport sous excel

  • Beatrix Kiddo (11/24/2014)


    anglais, svp

    Very roughly, it's:

    ---

    Hi, I'm a beginner with SQL 2008. In my project/work I would like to export the output of the 'DetailRaport' procedure into an Excel table. I used tutorials and snippets of code found online to write this code:

    [...]

    Could somebody please help me correct this code; I can't see how to correct these errors. Thanks in advance.

    ---

    I think Sean's got it covered though :-D.

    I can't even pretend to decipher French without an interpreter but...

    syntaxe non valide: "CREATE PROCEDURE"

    made it pretty obvious even to me what the question was.

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/