| View previous topic :: View next topic |
| Author |
Message |
frankcorrigan
Joined: 14 Aug 2006 Posts: 4
|
Posted: Wed Nov 08, 2006 12:55 pm Post subject: Applescript Error SQLGrinder got an error: NSInternalScriptE |
|
|
I'm using SQL Grinder 2.03 to connect to a MS SQL database. In Applescript I am running this command:
execute sql with text theStatement using "connection_name" delimiter ","
If the query I use has a result I get bake the result correctly but if I run a query that does not have a result I get back an Applescript error:
"SQLGrinder got an error: NSInternalScriptError"
instead of just ""
Also, If I get the error then all other query return the same error until I restart SQLGrinder.
Is this a bug? I need to know if my query result was just empty or it really was an error. |
|
| Back to top |
|
 |
Lloyd
Joined: 10 Apr 2006 Posts: 10
|
Posted: Tue Mar 06, 2007 4:37 pm Post subject: |
|
|
Frank,
This is a known bug that has been around for a few versions. It would be nice to have it fixed alone with being able to use stored procedures in MS SQL in AppleScript.
In my routine, if I get that error, I automatically restart sql Grinder so that the next query gets executed.
I think there is a sample of the function I use list in the archive further down.
Lloyd |
|
| Back to top |
|
 |
michaeldupuis Site Admin
Joined: 15 May 2003 Posts: 1427 Location: Lewiston, ME
|
Posted: Wed Mar 07, 2007 2:24 pm Post subject: |
|
|
| This should have been fixed in the latest version, which is 2.0.4. If it's still a problem, please report it to support, using the "Send Feedback" menu item in the application Help menu. |
|
| Back to top |
|
 |
|