January 29, 2008 at 7:22 am
I am getting an insufficient resources when trying to execute a sql through isql, the same runs fine through query analyzer. Below is the error. Its when running a st.proc which does 200 rows of insert to a table. error is as below.
Ø Error: Insufficient memory to continue.
How can you resolve this? i read cases of getting this error when virtual memory goes down. how is it possible to check that or is there any other soln? please advise.
TIA
January 29, 2008 at 8:03 am
It's because ISQL is just a subset of what the server can actually do. Do NOT use ISQL. Use OSQL instead.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 29, 2008 at 8:06 am
Is this on your workstation or the server? Are you able to bounce the box? I typically don't advocate bouncing prod boxes, but memory problems are difficult to fix a lot of times. You can see what's consuming the memory on that box and kill it if you can and see if that works.
Watch my free SQL Server Tutorials at:
http://MidnightDBA.com
Blog Author of:
DBA Rant – http://www.MidnightDBA.com/DBARant
January 29, 2008 at 8:30 am
Use SQLCMD with SS2K5
January 29, 2008 at 8:54 am
Also i have a st.rpoc which i am calling thru isql. Thsi is takingw aytoo long than expected. I have put debug msgs in thsi proc to cehck which part of sql is taking too long. does these debug msgs gets written only once the procedure finishes. or isql writes to output when every sql within the st.proc is run..any help on this will be appreciated. TIA
January 30, 2008 at 6:08 am
Didn't you read any of the above? Don't use ISQL... use OSQL or SQLCMD depending on which version of SQL you have.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply