Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I am writing a script like: ceil(month(Date)/3) as Purchase_Quarter and getting an error as 'unrecognised built in function 'ceil''.
Please help.
Thanks,
Madhura
Sunny, you were right, may be SQL does not recognise ceil function. But, if I load the quarter seperately like you showed, it does not select the other fields from SQl select statement.
When you use * (asterisk) in your preceding load you get all your fields from the below table.
Or use CEILING as proposed by Sasidhar Parupudi
Thanks Sasidhar, that worked as I wanted.