PC Review


Reply
Thread Tools Rate Thread

Database query 2

 
 
=?Utf-8?B?UmF5bW9uZG8=?=
Guest
Posts: n/a
 
      20th Apr 2007

I use the query - SELECT COUNT(*) To count the number of records in our
database. I would like to filter this to ignore records where, for
instance,recordname = 'Ignore' therefore the DRW will count all the oteher
records except those where recordname = ignore.

Can you give me the code for this? Many thanks. You are all a terrific help!
 
Reply With Quote
 
 
 
 
Stefan B Rusynko
Guest
Posts: n/a
 
      20th Apr 2007
SELECT COUNT(recordname) as RecordCount WHERE recordname<>'Ignore'

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


"Raymondo" <(E-Mail Removed)> wrote in message news:FBB3B745-93BE-4029-A6B6-(E-Mail Removed)...
|
| I use the query - SELECT COUNT(*) To count the number of records in our
| database. I would like to filter this to ignore records where, for
| instance,recordname = 'Ignore' therefore the DRW will count all the oteher
| records except those where recordname = ignore.
|
| Can you give me the code for this? Many thanks. You are all a terrific help!


 
Reply With Quote
 
=?Utf-8?B?UmF5bW9uZG8=?=
Guest
Posts: n/a
 
      20th Apr 2007
Of Course! Thanks again

"Stefan B Rusynko" wrote:

> SELECT COUNT(recordname) as RecordCount WHERE recordname<>'Ignore'
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> _____________________________________________
>
>
> "Raymondo" <(E-Mail Removed)> wrote in message news:FBB3B745-93BE-4029-A6B6-(E-Mail Removed)...
> |
> | I use the query - SELECT COUNT(*) To count the number of records in our
> | database. I would like to filter this to ignore records where, for
> | instance,recordname = 'Ignore' therefore the DRW will count all the oteher
> | records except those where recordname = ignore.
> |
> | Can you give me the code for this? Many thanks. You are all a terrific help!
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
database query not showing foxpro database How I import data =?Utf-8?B?bWFuZ2F0?= Microsoft Excel New Users 1 24th Jun 2007 03:31 PM
Excel query of Access database - changed database filename, now error ucdcrush@gmail.com Microsoft Excel Discussion 2 8th Mar 2006 08:42 PM
HOWTO: display database without refresh web page to query database =?Utf-8?B?U1M=?= Microsoft ASP .NET 3 15th May 2005 09:22 PM
After restoring a database, SqlCommand still sees original database, MS Query Analyser shows restored data Tony Riv Microsoft ADO .NET 0 6th Apr 2005 09:18 AM
How to Add an All Values Item to a Database Query by Using the FrontPage 2003 Database Results Wizard =?Utf-8?B?RGFuaWVs?= Microsoft Frontpage 4 2nd Feb 2004 05:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:44 AM.