Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SQL Server: Cast not a valid function

 
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