jQuery in Action, 2nd edition*
The moose likes JDBC and the fly likes SQL server 7.0 and Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "SQL server 7.0 and Java" Watch "SQL server 7.0 and Java" New topic
Author

SQL server 7.0 and Java

Saima Khan
Greenhorn

Joined: Jan 15, 2002
Posts: 6
Hello All,
Is there any way to fire a triger to a Java Application throug a SQL server 7.0 when a database goes below certain value .Higly appreciate if any body have any experience .
Saima
Tina Coleman
Ranch Hand

Joined: Dec 12, 2001
Posts: 150
There's a concept of an extended stored procedure, which is essentially a DLL that you write that SQL Server can execute. You would then write your trigger to execute the extended stored procedure if your condition was met, and your extended stored procedure would then trigger your Java code.
Unfortunately, I have no experience doing this sort of thing, so can't give you too much more info. But thought it was a direction worth looking into.
Saima Khan
Greenhorn

Joined: Jan 15, 2002
Posts: 6
Thanks a lot Tina.
I am not using the SQL server documentation for extended stored procedures.
Let's pray for me.

Saima
 
wood burning stoves
 
subject: SQL server 7.0 and Java
 
Similar Threads
jdbc connection and query execution
DSN less Connectivity
Connection with SQL Server
ms sql driver
SQL Server 7.0 & IDENT_CURRENT