T
tkosel
I am trying to get data from a SQL Server Database using Access 2003. I have
linked to the appropriate table.
My Access Query SQL Follows.
SELECT dbo_L_DATA.LBL_ID, dbo_L_DATA.LBL_VALUE
FROM dbo_L_DATA
WHERE (((dbo_L_DATA.LBL_ID)=166955724)) OR (((dbo_L_DATA.LBL_ID)=117851648))
ORDER BY dbo_L_DATA.LBL_VALUE;
When I run it, I get the following values returned:
LBL_ID LBL_VALUE
117851648 Value2
117851648 Value2
In SQL Server Enterprise manager, I build the followng Query:
SELECT LBL_ID, LBL_VALUE FROM L_DATA WHERE (LBL_ID = 166955724) OR
(LBL_ID = 117851648)
It returns:
LBL_ID LBL_VALUE
166955724 Value1
117851648 Value2
This is the data I input for this stuff, this is what I expected to get.
Any reason why I am not getting it in the access query? Any help would be
much appreciated.
linked to the appropriate table.
My Access Query SQL Follows.
SELECT dbo_L_DATA.LBL_ID, dbo_L_DATA.LBL_VALUE
FROM dbo_L_DATA
WHERE (((dbo_L_DATA.LBL_ID)=166955724)) OR (((dbo_L_DATA.LBL_ID)=117851648))
ORDER BY dbo_L_DATA.LBL_VALUE;
When I run it, I get the following values returned:
LBL_ID LBL_VALUE
117851648 Value2
117851648 Value2
In SQL Server Enterprise manager, I build the followng Query:
SELECT LBL_ID, LBL_VALUE FROM L_DATA WHERE (LBL_ID = 166955724) OR
(LBL_ID = 117851648)
It returns:
LBL_ID LBL_VALUE
166955724 Value1
117851648 Value2
This is the data I input for this stuff, this is what I expected to get.
Any reason why I am not getting it in the access query? Any help would be
much appreciated.