Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SQL Server: Cast not a valid function  RSS feed

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!