You are here: Re: MS SQL using TSQL via JAVA jdbc « MsSQL Server « IT news, forums, messages
Re: MS SQL using TSQL via JAVA jdbc

Posted by joeNOSPAM@BEA.com on 02/06/07 15:38

On Feb 5, 10:15 am, asufty...@gmail.com wrote:
> Hello. I am having trouble finding a descent API for executing TSQL
> via JDBC. I have tried the Microsoft driver AND the JDTS driver's but
> get the same syntax errors. I am hoping there is a good solution also
> for executing scripts using the same. Any help is MUCH
> appreciated.Thx.

*No* JDBC driver will 'execute' T-SQL. They simply send it to the
DBMS*.
I suspect you are confusing the syntax of OSQL (eg: with 'GO' to send
SQL)
with actual T-SQL. Show the JDBC code and SQL and error you get.

Joe Weinstein at BEA Systems

* There is a small, well-defined area of JDBC SQL extensions which
has the driver look for specific generic tags in the SQL for some
functions, and replace them with correct DBMS-specific SQL.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация