Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Poor Parameter Query Performance on Linked Tables

Status
Not open for further replies.

Chuter

Programmer
May 22, 2002
8
CA
Would anyone know why a query based on one SyBase linked table (ie no joins) with 3 primary keys would run so much slower (10 mins) when the parameter is a variable referencing a form control... compared to when the parameter is a literal value (5 secs)? Strangest part is that this performance gap is almost non-existent on any of the other linked tables when I do the same comparision.

Any Ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top