'to_char' is not a recognized built-in function name, got this error in MsSQL

Viewed 14
 select Customer_Name, Toy_Name, Rental_Start_Date, Rental_End_Date
 
 from Customer c, Toy t, Toy_Rental s
 
 where to_char(Rental_Start_Date,'DD-MM-YY') = '25-01-20'
 
 and c.Customer_Id = s.Customer_Id
 
 and s.Toy_Id = t.Toy_Id;
0 Answers
Related