niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Sybase
T-SQL print statement ...
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
bravegag
*nix forums beginner


Joined: 12 Apr 2006
Posts: 16

PostPosted: Wed Jun 28, 2006 5:13 pm    Post subject: T-SQL print statement ... Reply with quote

Hi all,

I have a java app that connects to Sybase using jConnect 6.05
and calls a stored procedure using the CallableInterface.

Any print statement within the stored procedure becomes a
SQLException on the java side???? e.g.

com.sybase.jdbc3.jdbc.SybSQLWarning: Beginning REORG REBUILD
of ...

why if it is a SQLWarning is being thrown as a SQLException?

how can I disable this (very stupid) Sybase behaviour?

- is there anything like "set showoutput off" or disable output session
parameter? or even a jConnect parameter to disable SQLException on
SQLWarning occurrences or whatever?
- Removing the print statements out of my procedure is not enough as
I call some other internal Sybase procedures that also seem to be
printing crap out.

Many thanks in advance,
Best Regards,
Giovanni
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Tue Dec 02, 2008 12:55 pm | All times are GMT
navigation Forum index » Databases » Sybase
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Unable to print PDF only. subhankar RedHat 0 Mon May 05, 2008 9:08 am
No new posts Select statement Shamna Sybase 0 Mon Sep 17, 2007 6:03 am
No new posts ECPG (usage of simple select statement) Jasbinder Bali PostgreSQL 0 Fri Jul 21, 2006 3:28 am
No new posts print all permutations of string anurag C 10 Thu Jul 20, 2006 5:57 pm
No new posts How to print at certain point in perl Amaninder.Saini@gmail.com Perl 13 Wed Jul 19, 2006 4:08 pm

Personal Loans | Loan | Online Advertising | Buy PSP | Credit Cards
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2302s ][ Queries: 16 (0.1684s) ][ GZIP on - Debug on ]