Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

Friday, March 30, 2012

MS SQL using TSQL via JAVA jdbc

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.(asufty888@.gmail.com) writes:

Quote:

Originally Posted by

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.


I believe that Datadirect's driver is good. Of course, the price is
radically different than for Microsoft's driver or jTDS.

Then again, if you gets the same syntax errors, maybe the problem is
with your SQL code. Have you checked that it runs OK in Query Analyzer?

--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx|||On Feb 5, 10:15 am, asufty...@.gmail.com wrote:

Quote:

Originally Posted by

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.sql

Wednesday, March 28, 2012

MS SQL SERVER WITH JAVA help plz?

What r the pros and conditions of using MSsql server ?

what the effect of data on the performance in case of MS SQL server?is it good enough tohandle data overloads?

how good the java ms sql server combo works in comparison to other databases !!

SQL Server works great with Java! More here:

http://msdn2.microsoft.com/en-us/data/aa937724.aspx

sql