Unix Technical Forum

ODBC sqlexec problem

This is a discussion on ODBC sqlexec problem within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> When repeatedly execute complicated query through SQL server 2000 ODBC connection in Vfox and VB. Custom program stops respondoing ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 08:27 PM
todor
 
Posts: n/a
Default ODBC sqlexec problem

When repeatedly execute complicated query through SQL
server 2000 ODBC connection in Vfox and VB. Custom
program stops respondoing and after long, long time
return the result set. In the same time I execute the
same query through query analyzer and I get the results
in resonable amount of time. (10SEC AGAINST 5-50
MINUTES). I tried the same query on any client machine
with different MDACs and OSes...

During that time SQL server is working perfectly with
other queries and performance stays the same.

When I restart SQL server service query executes in few
second more than through SQL QA which is OK

Query contains join on multiple tables with UDF call for
each record
UDF contains very complicated union query , i tried to
remove union but nothing gets better.

SQL Server 2000 sp2 and sp3 and sp3a
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:56 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com