Ask a Question related to ASP Database, Design and Development.
-
Jeff Thies #1
Access and !=
I'm not sure how to write this so Access will understand it:
SELECT * FROM some_table WHERE some_field != ''
What is the secret?
Jeff
Jeff Thies Guest
-
Web Service + Anon Access, but getting 401 Access Denied Error
I have a simple webservice that just returns a string. The security for this is set to windows authentication in IIS (XP Professional) and anonymous... -
Network File access using anonymous access
I have seen a number of entries related to accessing remote resources (files in my case) that need to reside on a remote server. We must leave our... -
Access 2002 PDFWriter VBA Code w/WinXP does not work like Access 2000
I am trying to print an Access 2002 report (Windows XP OS) as a PDF. I had success with Access 2000 in a Windows 2000 environment, but as soon as I... -
Access Violation when using Visual Interdev to access Oracle
I am running Windows 200 Pro, IIS 5.0 and trying to connect to an Oracle 8.1 database. Prior to applying a security patch to W2k, the ASP... -
Access denied when creating Access application object
In an ASP file I am running the following in VBScript in order to extract data from an Access 2002 MDB file which is physically located in the... -
Aaron Bertrand - MVP #2
Re: Access and !=
WHERE some_column <> ''
WHERE LEN(some_column) > 0
Also, don't use SELECT *, name your columns...
"Jeff Thies" <cyberjeff@sprintmail.com> wrote in message
news:3F306319.1E7E4272@sprintmail.com...> I'm not sure how to write this so Access will understand it:
>
> SELECT * FROM some_table WHERE some_field != ''
>
> What is the secret?
>
> Jeff
Aaron Bertrand - MVP Guest
-
Jeff Thies #3
Re: Access and !=
As always, Thanks.
Aaron Bertrand - MVP wrote:Will that also pick up nulls?>
> WHERE some_column <> ''
>
> WHERE LEN(some_column) > 0
Good point. Bad example code.>
> Also, don't use SELECT *, name your columns...
Cheers,
Jeff>
> "Jeff Thies" <cyberjeff@sprintmail.com> wrote in message
> news:3F306319.1E7E4272@sprintmail.com...> > I'm not sure how to write this so Access will understand it:
> >
> > SELECT * FROM some_table WHERE some_field != ''
> >
> > What is the secret?
> >
> > JeffJeff Thies Guest
-
Ken Schaefer #4
Re: Access and !=
Access, and most other relational databases use a language called SQL
(Structured Query Language). You may find it helpful to bookmark a webpage
that contains a reference list of clauses and operators.
WHERE field <> condition
Cheers
Ken
"Jeff Thies" <cyberjeff@sprintmail.com> wrote in message
news:3F306319.1E7E4272@sprintmail.com...
: I'm not sure how to write this so Access will understand it:
:
: SELECT * FROM some_table WHERE some_field != ''
:
: What is the secret?
:
: Jeff
Ken Schaefer Guest
-
Bit My Bubbles #5
Re: Access and !=
Nulls:
where blablah is not null
"Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
news:%23t9FdW8WDHA.2312@TK2MSFTNGP10.phx.gbl...> Access, and most other relational databases use a language called SQL
> (Structured Query Language). You may find it helpful to bookmark a webpage
> that contains a reference list of clauses and operators.
>
> WHERE field <> condition
>
> Cheers
> Ken
>
> "Jeff Thies" <cyberjeff@sprintmail.com> wrote in message
> news:3F306319.1E7E4272@sprintmail.com...
> : I'm not sure how to write this so Access will understand it:
> :
> : SELECT * FROM some_table WHERE some_field != ''
> :
> : What is the secret?
> :
> : Jeff
>
>
Bit My Bubbles Guest



Reply With Quote

