Diwakar Killamsetty wrote:
> I want to truncate the transaction log programmatically. For that I need to
> issue "dump transaction" statement to MS SQL server. When I run this command
> from isql it works fine, but if I issue the same from a jdbc programs it
> fails. I am creating a callablestatement object, to execute this command.

Make a StoredProcedure out of it, then it should work fine.

        ..bip

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to