SQL GETDATE()

Patty

Senior Member
Joined
Aug 15, 2008
Messages
711
Reaction score
0
Please help a noob here :)

So I got a fairly basic understanding of SQL. I have an Afrihost hosting packing with SQL 5.1. In PhpMyAdmin I run a simple query SELECT NOW() and it returns a result. However when I run SELECT GETDATE() I get the following error: #1305 - FUNCTION dbname_db.GETDATE does not exist

Should the results be the same?

I'm suspecting that this database doesn't have a lot of functions?

Thanks
 
Last edited:
Thanks for reply! So where does GetDate() come from then, because I often come across it on the net being used within SQL?
 
Top
Sign up to the MyBroadband newsletter
X