all groups > sql server replication > september 2005 >
You're in the

sql server replication

group:

RDA question


RDA question Yener
9/28/2005 1:07:35 AM
sql server replication: i am using RDA to synch data between sql server 2000 and my PDA. i try to
get a parameter list according to the group of a user in my program. my
query to pull is something like that :

"select id ,name from parametertable where groupid in ( select g.id from
grouptable g inner join usertable u on u.groupid = g.id where u.is =
<<userid>>)" with TRACKINGOFF option

this query works well in sql server 2000 and brings what i want. but it
gets all the items of parameter table in the PDA. i do not understand why.
i am new to RDA , is there anything that i miss ?

thanks



Re: RDA question Darren Shaffer
9/30/2005 2:56:05 PM
try rewriting the query to not use subquery for the RDA pull.
use a join if possible.
--
Darren Shaffer
..NET Compact Framework MVP
Principal Architect
Connected Innovation
www.connectedinnovation.com

[quoted text, click to view]

Re: RDA question Yener
10/8/2005 12:00:00 AM

i found another code at the bottom that pulls the same table again!
i am sorry!!
[quoted text, click to view]

Re: RDA question Darren Shaffer
10/9/2005 6:00:15 AM
so is your problem solved? not sure if we've helped you here or not.
--
Darren Shaffer
..NET Compact Framework MVP
Principal Architect
Connected Innovation
www.connectedinnovation.com

[quoted text, click to view]

Re: RDA question Yener
10/11/2005 12:00:00 AM
yes Darren it is solved now. :) thanks anyway.

[quoted text, click to view]

AddThis Social Bookmark Button