July 20, 2010 at 12:57 pm
In SQL Server below statement work fine,
select *
from t1 where maintdte != (select MAX(maintdte) from t1)
How
select *
from t1 where maintdte != (select MAX(maintdte) from t1) looks like in SQLCE
?
I'm stuck
November 26, 2010 at 2:30 am
Sorry for being late !!!
For SQLCE, you can use either Exists or In operator:
select *
from t1 where maintdte not in (select MAX(maintdte) from t1)
Regards,
Mayank Parmar
--------------------------------------------------------------------------------
Mayank Parmar
Software Engineer
Clarion Technologies
SEI CMMI Level 3 Company
8th Floor, 803, GNFC info Tower,
SG Highway, Ahmedabad - 380 054,
Gujarat, India.
www.clariontechnologies.co.in
Email: mayank.parmar@clariontechnologies.co.in
MSN : mayank.parmar@clariontechnologies.co.in
Mobile: +91 9727748789
--------------------------------------------------------------------------------
November 26, 2010 at 7:56 pm
Heh... "CE" must stand for "Crippled Edition".
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy