Converting a MySQL query
Hi Guys I'm new to SQL Server 2000 and am trying to convert some of my php code that previously used MySQL. Here's the query I'm having trouble with: SELECT *,UNIX_TIMESTAMP(lastlogin) as lastlogindate from user WHERE confirmed='1' and approved='1' and login = 'blah' AND password = PASSWORD('blah'); SQL Server doesnt like the UNIX_TIMESTAMP conversion, or […]
2005-01-05
2 reads