Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / General DB Topics / General DB Topics / September 2004

Tip: Looking for answers? Try searching our database.

Generate sql mail using stored procedure

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tchangmian - 24 Sep 2004 03:37 GMT
First, i want to check for duplicate data in table. If found that have
duplicate data,the stored procedure will automatically generate a mail
to the client. Is it possible to do that? and what is the coding for
the stored procedure? Thanks
Christopher Browne - 24 Sep 2004 04:10 GMT
> First, i want to check for duplicate data in table. If found that
> have duplicate data,the stored procedure will automatically generate
> a mail to the client. Is it possible to do that? and what is the
> coding for the stored procedure? Thanks

How you would accomplish this depends heavily on what vendor you got
your SQL implementation from.

For instance, your proposal would be nonsense if you purchased your
database from MySQL AB, because their product supports neither stored
procedures nor triggers.

Other products have potential ways of accomplishing this; the
implementations of stored procedures vary widely between vendors, and
how email is submitted will vary depending on both the DBMS and the
operating system.
Signature

"cbbrowne","@","linuxfinances.info"
http://www.ntlug.org/~cbbrowne/
If you  ever drop your  keys into a  river of molten lava,  let'em go,
because, man, they're gone.

Laconic2 - 24 Sep 2004 17:50 GMT
> First, i want to check for duplicate data in table. If found that have
> duplicate data,the stored procedure will automatically generate a mail
> to the client. Is it possible to do that? and what is the coding for
> the stored procedure? Thanks

This may be a stupid question, but why don't you keep duplicates out in the
first place?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.