Click here to Skip to main content
11,571,471 members (75,382 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: SQL-Server-2008
select top 1 pagedetailid,convert(VARCHAR(11),TopicDate,106) as TopicDate,photoid,Description,imagename,[language],topicheading,topicdescription from View_PhotoNews where  topicdate<=getdate()and PageDetailId!=17759and PageId=21 order by topicdate desc,newid(),PageDetailId desc
Posted 18-Feb-13 18:45pm
S. M. Ahasan Habib at 19-Feb-13 5:05am
What is you question?
Shanalal Kasim at 20-Feb-13 1:46am
What is you question?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS

Advertise | Privacy | Mobile
Web04 | 2.8.150624.2 | Last Updated 19 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100