Is anybody knowing how to create Formatted Excel file using SQL server

  • can anybody help me to create formmated Excel file using SQL server 2005, I have one additional requirement as one column values that starts with 0000 but in excel it is not showing 0000, but if we can do that column values converted into Text in SQL server so that problem may be solve, but i don't know how to convert that data as text on SQL server and is there any possibility that we can change color of particular cell using SQL server?

    Please advice.

  • have you considered using reporting services? it supports all types of advanced/rich formatting.

  • Wouldn't it be easier to change the color of a cell using "conditional formatting"?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply