Query on SQL Server 2000 Linked Table Doesnt Provide Correct Results



Hello,

I have some backend tables in a SQL Server 2000 Database linked into
my MSACCESS database. When I run the following query in Access I get
0 (zero) results. If I run the same query in query analyzer, I get
the correct results. Can someone please help? I think the problem
has to do with the fact that I am comparing long strings. Originally,
all the tables were in MSACCESS and I found that for some comparisons,
if I only used [Detail] = '..' the match wouldnt work but If I used
[Detail] LIKE '...' (even without wildcards) it would work for some
but not all, thats why I have used both versions). Now, because of
the size of the tables, I though having them in a SQL server database
would help.

Thanks for any help!

Query:
"SELECT *
FROM Scan_UniqueFindings
WHERE [Server] = 'servername' AND
[Type] = 'once-only' AND
[Policy] = 'policy1' AND
[Check] = 'admin' AND
([Detail] = 'User daemon value login is true
User daemon value rlogin is true
User bin value login is true
User bin value rlogin is true
User adm value login is true
User adm value rlogin is true
User nobody value login is true
User nobody value rlogin is true
User lpd value login is true
User lpd value rlogin is true
User nuucp value login is true
User nuucp value rlogin is true
User sys value login is true
User sys value rlogin is true' OR
[Detail] LIKE 'User daemon value login is true
User daemon value rlogin is true
User bin value login is true
User bin value rlogin is true
User adm value login is true
User adm value rlogin is true
User nobody value login is true
User nobody value rlogin is true
User lpd value login is true
User lpd value rlogin is true
User nuucp value login is true
User nuucp value rlogin is true
User sys value login is true
User sys value rlogin is true');

.



Relevant Pages

  • Re: Query on SQL Server 2000 Linked Table Doesnt Provide Correct Results
    ... You may be able to use Lenin a calculated query field to determine if the count of characters is not what you expect. ... I have some backend tables in a SQL Server 2000 Database linked into ... User daemon value rlogin is true ... User bin value login is true ...
    (microsoft.public.access.queries)
  • =?iso-8859-1?Q?WPF:_Dialoge_vor_der_eigentlichen_App_=F6ffnen?=
    ... Ich versuche in WPF etwas zu erreichen, was ich schon seit VB3-Zeiten mit ein paar simplen Handgriffen in der "Sub Main" bewerkstellige: Vor dem Start des eigentlichen Hauptfenster soll z.B. ein Login erfolgen und/oder eine Konfiguration vorgenommen werden. ... DialogResult rLogin = frmLogin.ShowDialog; ... DialogResult rFolder = frmFolder.ShowDialog; ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • AIX421 root password lost
    ... I deleted that post about the lost remote root password, ... This a problem with the way login parses it arguments as passed by rlogind ... command line option -fUSER as -f USER. ...
    (AIX-L)
  • Remote login fun & games
    ... After a few months of pain-free ssh remote login and NFS access between Mac ... I thought about rlogin & telnet. ... telnet stream tcp nowait root /usr/libexec/telnetd telnetd ... Now if I rlogin under my user account 'mwh' it lets me in then IMMEDIATELY ...
    (comp.unix.bsd.freebsd.misc)
  • Problem with query using linked tables and vba function
    ... I have a select query which uses two tables linked to SQL Server via ODBC. ... When I run it for the first time, I get the SQL Server login prompt (which ... execution is stopped in a line where I try to open a recordset. ...
    (microsoft.public.access.queries)

Quantcast