Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Stored Pocedure problem

Author  Topic 

uri dimant
Starting Member

16 Posts

Posted - 2001-08-15 : 08:58:11
Hello!
i would like to write SP that send email to my to me. i quering one table with workid,dateorder.
--select workid,datediff(day,dateorder,getdate())>35) from table
if return =1 then send email to me
if return =0 then nothing
thank you



   

- Advertisement -