HuiShi
asked on
Using Linked Server in SSRS 2000 Reports( Linked Server Query returns NULL)
Hi there:
I have a query which requires the liked server in sql server . Below is the query.
However,it always returns NULL data...
Anyone has seen this before?
thanks
Hui
I have a query which requires the liked server in sql server . Below is the query.
However,it always returns NULL data...
Anyone has seen this before?
thanks
Hui
select ps_tbl.DESCR from PSDB..SYSADM.PS_PRODUCT_TBL ps_tbl
where ps_tbl.PRODUCT = ' substring(ccontl.gl_type_id,7,4)'
ASKER
Thanks. I got the following error after putting the modified Clause
Can not resolve teh collation confliect between
"SQL_LATIN1_GENERAL_CP1_CS _AS" and
"SQL_LATIN1_GENERAL_CP1_CI _AS" IN the equal to operation
any idea about that?
thanks
Can not resolve teh collation confliect between
"SQL_LATIN1_GENERAL_CP1_CS
"SQL_LATIN1_GENERAL_CP1_CI
any idea about that?
thanks
select ps_tbl.DESCR
from PSDB..SYSADM.PS_PRODUCT_TB
where ps_tbl.PRODUCT COLLATE SQL_LATIN1_GENERAL_CP1_CS_
ASKER
thanks, it works. Can you tell why it's working? also why do I need to punch the
COLLATE SQL_LATIN1_GENERAL_CP1_CS_ AS?
Hui
COLLATE SQL_LATIN1_GENERAL_CP1_CS_
Hui
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!
from PSDB..SYSADM.PS_PRODUCT_TB
where ps_tbl.PRODUCT = substring(ccontl.gl_type_i