camster123
asked on
How do we implement SQL Server IF ( SELECT in MySQL 5.6?
How do we implement this SQL Server syntax
IF(SELECT MAX(DateAdded) FROM RestoreDetectors " +
" WHERE CONVERT(VARCHAR,DateAdded, 101) = CONVERT(VARCHAR,GETDATE(), 101) " +
" AND DATEDIFF(SECOND, DateAdded,GETDATE()) <= {0}) IS NULL"
in Mono- .NET 4.5 C# MySql.Data.MySqlClient version 5.6:
any help is greatly appreciated
IF(SELECT MAX(DateAdded) FROM RestoreDetectors " +
" WHERE CONVERT(VARCHAR,DateAdded,
" AND DATEDIFF(SECOND, DateAdded,GETDATE()) <= {0}) IS NULL"
in Mono- .NET 4.5 C# MySql.Data.MySqlClient version 5.6:
any help is greatly appreciated
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER