Viewing 5 posts - 1 through 5 (of 5 total)
problem solved by changing the date format
thanks
December 15, 2010 at 2:39 am
Thanks a lot for the replies..
The problem is solved . I just run the script of database from 2008 and run it on 2005 by using the magical Sqlcommand...
July 9, 2010 at 10:46 pm
Hi,
this migh help
Select distinct * from table
Where Date =DATEADD(minute,-120,getdate())
July 2, 2010 at 10:50 pm
Hi mike ,
I use dhte query u suggested and got the output
A_DATE CODE B_DATE CODE
JuneAJulyA
JulyANULLNULL
JuneBJulyB
JulyBNULLNULL
JuneCNULLNULL
Is it need the out put as
A_DATE ...
July 2, 2010 at 5:38 am
Thanks for all replies
i m new to sql queries. would u plz explain what is
cte
for what purpose it is used for..
Thanks
July 1, 2010 at 11:32 pm
Viewing 5 posts - 1 through 5 (of 5 total)