views:

20

answers:

1

I'm about to write my first procedure to check if yesterdays data exists in one database, and if it select some of the data, use a count and insert that data into another database. If the data doesn't exist, then send me an email.

I'm using SQL Server 2005 and I'd like to ask the community for tips or good starting knowledge on smart procedure coding.

Thanks!

A: 

Here is an article on MSDN about stored procedures on SQL Serve 2005 that should help.

YWE