dupuis2387
Programmer
Hello,
I have a table with one column, which is populated by a bulk insert statement that enters the values from an ASCII txt file. Each line in that txt file equates to one row in the table. Now I'm using microsoft's sp_smtp to send emails, and I'm trying to figure out how to make the @body variable loop through each row in the table and for each row, create one line that will make up the body of the email.
Is this possible without adding another column to identify each row uniquely?
Gah, I hope I posted this problem with some lucidity...
I have a table with one column, which is populated by a bulk insert statement that enters the values from an ASCII txt file. Each line in that txt file equates to one row in the table. Now I'm using microsoft's sp_smtp to send emails, and I'm trying to figure out how to make the @body variable loop through each row in the table and for each row, create one line that will make up the body of the email.
Is this possible without adding another column to identify each row uniquely?
Gah, I hope I posted this problem with some lucidity...