Click here to Skip to main content
15,899,754 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL dyanamic ORDER BY Pin
smile869112-Jan-06 3:57
smile869112-Jan-06 3:57 
QuestionReplication Connection String Problem Pin
pr0wl3r11-Jan-06 6:46
pr0wl3r11-Jan-06 6:46 
AnswerRe: Replication Connection String Problem Pin
gharry12-Jan-06 22:18
gharry12-Jan-06 22:18 
QuestionVersion Error on Attaching Database Pin
Tiger45610-Jan-06 23:18
Tiger45610-Jan-06 23:18 
AnswerRe: Version Error on Attaching Database Pin
Dave Kreskowiak11-Jan-06 6:05
mveDave Kreskowiak11-Jan-06 6:05 
QuestionHelp needed in SQL Server connection Pin
satishrg10-Jan-06 17:47
satishrg10-Jan-06 17:47 
AnswerRe: Help needed in SQL Server connection Pin
Colin Angus Mackay10-Jan-06 20:55
Colin Angus Mackay10-Jan-06 20:55 
QuestionDataAdapter.Fill taking forever Pin
Luis Alonso Ramos10-Jan-06 15:59
Luis Alonso Ramos10-Jan-06 15:59 
Hello,

I have a stored procedure that when run directly from SQL Management Studio (with SQL Server 2000) takes about 2 or 3 seconds at most to return around 40 rows.

When I try to call that SP from my code using a data adapter, it times out (and I set the timeout to 5 minutes WTF | :WTF: ). It happens always. If I limit the results I want to 2 or 3 rows, calling the SP directly takes less than a second, and from my app it takes about a minute.

I tried using a data reader and it's just as slow.

I create the connection just before creating the data adapter, and I let the Fill call open it. But for the data reader attempt, I opened the connection myself. No luck, still as slow.

[EDIT: And I tried running the app locally (same machine as SQL Server) and from another machine in the network. Same results.]

Any ideas? This is driving me nuts!

Thanks in advance,

-- LuisR



Luis Alonso Ramos
Intelectix - Chihuahua, Mexico

Not much here: My CP Blog!


The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005

-- modified at 23:03 Tuesday 10th January, 2006
AnswerRe: DataAdapter.Fill taking for ever Pin
nguyenvhn10-Jan-06 16:21
nguyenvhn10-Jan-06 16:21 
GeneralRe: DataAdapter.Fill taking forever Pin
Luis Alonso Ramos10-Jan-06 17:03
Luis Alonso Ramos10-Jan-06 17:03 
GeneralRe: DataAdapter.Fill taking for ever Pin
Luis Alonso Ramos11-Jan-06 12:43
Luis Alonso Ramos11-Jan-06 12:43 
NewsUpdate - still not working Pin
Luis Alonso Ramos11-Jan-06 15:00
Luis Alonso Ramos11-Jan-06 15:00 
GeneralRe: Update - still not working Pin
nguyenvhn11-Jan-06 21:25
nguyenvhn11-Jan-06 21:25 
AnswerRe: Update - still not working Pin
Luis Alonso Ramos12-Jan-06 6:48
Luis Alonso Ramos12-Jan-06 6:48 
QuestionI cannot update the Data grid fields for the following example: Pin
kenn_rosie10-Jan-06 6:44
kenn_rosie10-Jan-06 6:44 
QuestionODBC - Getting table names ? Pin
Weckmann10-Jan-06 1:50
Weckmann10-Jan-06 1:50 
Question24hr Time Format Pin
tadhg889-Jan-06 23:56
tadhg889-Jan-06 23:56 
AnswerRe: 24hr Time Format Pin
Colin Angus Mackay10-Jan-06 0:19
Colin Angus Mackay10-Jan-06 0:19 
GeneralRe: 24hr Time Format Pin
tadhg8810-Jan-06 1:15
tadhg8810-Jan-06 1:15 
QuestionHelp for sql query(joins) Pin
rs_net9-Jan-06 18:20
rs_net9-Jan-06 18:20 
AnswerRe: Help for sql query(joins) Pin
Colin Angus Mackay9-Jan-06 20:52
Colin Angus Mackay9-Jan-06 20:52 
QuestionWhy the ODP.NET could not be installed? Pin
rushing9-Jan-06 15:25
rushing9-Jan-06 15:25 
QuestionSQL Server DataAdapter Pin
thebison9-Jan-06 10:02
thebison9-Jan-06 10:02 
QuestionRunning SQL server 2000 & 2005 side by side Pin
Tiger4569-Jan-06 1:00
Tiger4569-Jan-06 1:00 
AnswerRe: Running SQL server 2000 & 2005 side by side Pin
Colin Angus Mackay9-Jan-06 1:12
Colin Angus Mackay9-Jan-06 1:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.