Viewing 4 posts - 1 through 4 (of 4 total)
Might be to do with the disclaimer, can you try it without or try the code as below?
EXEC msdb.dbo.sp_send_dbmail
@recipients = 'snmsheik@rsi.ramco.com',
@subject = 'My Mail Test',
@body = 'Database mail Test'
April 7, 2009 at 9:07 am
#973480
Hi
I have just ran you code throught our system and got the email without any problems, What email server are you using to send the email and what app are...
April 7, 2009 at 8:46 am
#973442
Hi Grass
I normally use create table and import it using OPENDATASOURCE.
(SAMPLE)
INSERT INTO IMPORTDATA
SELECT *
FROM OPENDATASOURCE('Microsoft.Jet.OLEDB.4.0', 'Data Source=[File location]\;Extended Properties="Text;HDR=No;FMT=Delimited"')...TEXT#csv (your csv filename, replace...
April 7, 2009 at 8:31 am
#973419
Hi,
Why not run your TSQL with OSQL command;
OSQL -E -S{servername} -d{databasename} -q{your TSQL}
May 29, 2008 at 3:35 am
#821651