SELECT Top 10

> -----Original Message-----
> From: Stuart Kidd [mailto:[EMAIL PROTECTED]
> Sent: dinsdag 3 februari 2004 11:24
> To: CF-Talk
> Subject: RE: Get Records
>
> It's Access.
>  
> -----Original Message-----
> From: Pascal Peters [mailto:[EMAIL PROTECTED]
> Sent: 03 February 2004 10:21
> To: CF-Talk
> Subject: RE: Get Records
>  
> What DB?
>
> > -----Original Message-----
> > From: Stuart Kidd [mailto:[EMAIL PROTECTED]
> > Sent: dinsdag 3 februari 2004 10:58
> > To: CF-Talk
> > Subject: Get Records
> >
> > Hi guys, can someone tell me the way I can specify how many
> records to
> > get, e.g. just the first 10 records?
> >  
> > <CFQUERY NAME="DisplayPropertyList" datasource="020"> SELECT
> > PropertyData.PropertyDataID,
> PropertyData.PropertyDataAgentReference,
> > PropertyData.PropertyDataFlatNumberHouseName,
> > PropertyData.PropertyDataStreetNumber,
> > PropertyData.PropertyDataStreetName,
> > PropertyData.PropertyDataPostcodeZip,
> > PropertyData.PropertyDataDateModified,
> > Count(PropertyEnquiry.PropertyEnquiryID) AS countEnquiries FROM
> > PropertyData LEFT JOIN PropertyEnquiry ON
> PropertyData.PropertyDataID
> > = PropertyEnquiry.PropertyDataID WHERE PropertyAgentID =
> > #Client.PropertyAgentID# GROUP BY PropertyData.PropertyDataID,
> > PropertyData.PropertyDataAgentReference,
> > PropertyData.PropertyDataFlatNumberHouseName,
> > PropertyData.PropertyDataStreetNumber,
> > PropertyData.PropertyDataStreetName,
> > PropertyData.PropertyDataPostcodeZip,
> > PropertyData.PropertyDataDateModified
> > ORDER BY #URL.SortBy#                 
> > </CFQUERY>
> >  
> > Cheers,
> >  
> > Stuart
> >  
> > Ps: (I am going to start sticking in cfqueryparam tags,
> just working
> > on
> > them!)
> >
> >
> >
>   _____  
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to