Home Forums SQL Server 2005 Development Pulling Filename from Windows directory into table RE: Pulling Filename from Windows directory into table

  • fm447k (8/10/2009)


    How do I email the list of filenames from the table? I'm using SQL 2005 and have configured Database Mail.

    Apologies here because I don't know. They have Lotus Notes and SQL Server 2000 and have the email system setup where I can't even do automatic DBA notifications where I'm currently working. I had to use CDONTS to setup any kind of automated email and that differs a whole lot from system to system. Because it's operating on SS2k, it has an 8k limit (unless I used the TEXT data type and I'm not going there) so I end up writing such things out to a file and then identify the file as an attachment. It's a real pain.

    --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)