wood burning stoves 2.0*
The moose likes JDBC and the fly likes SQL Server: Cast not a valid function Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "SQL Server: Cast not a valid function" Watch "SQL Server: Cast not a valid function" New topic
Author

SQL Server: Cast not a valid function

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi,
Anyone have any thoughts on way I get this SQL error message:
'CAST' is not a recognized function name.
Produced by:
rs = stmt.executeQuery("SELECT CAST(START_DATE AS NCHAR(50)) AS T FROM TISCOURSES");

Thanks for your help.
Yoo-Jin.
 
 
subject: SQL Server: Cast not a valid function
 
Similar Threads
how do i get this boolean
access data inside Object
Oracle cast()+PreparedStatement
how to run a function in PL/SQL from a java function....
how to run a function in PL/SQL from a java function....