Showing posts with label delete. Show all posts
Showing posts with label delete. Show all posts

Sunday, March 11, 2012

800a0009 error

I've got this error showing up in my Symantec Quarantine
and it won't delete, in the interum my Quarantine is
filling fast.
Exact error is:
Microsoft VBScript runtime error '800a0009' Subscript out
of range '[number:0]' /Quarantine.asp. Line 146
Help
ThanksHello
I'm not sure if this problem is related to SQL Server. Please post this
question in a relevant newsgroup.
Thank you for using Microsoft newsgroups.
Sincerely
Pankaj Agarwal
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.|||http://tinyurl.com/5okkv
Solved my problem!!
George wrote:
> *I've got this error showing up in my Symantec Quarantine
> and it won't delete, in the interum my Quarantine is
> filling fast.
> Exact error is:
> Microsoft VBScript runtime error '800a0009' Subscript out
> of range '[number:0]' /Quarantine.asp. Line 146
> Help
> Thanks
-
dreye
----
Posted via http://www.webservertalk.co
----
View this thread: http://www.webservertalk.com/message367817.htm

800a0009 error

I've got this error showing up in my Symantec Quarantine
and it won't delete, in the interum my Quarantine is
filling fast.
Exact error is:
Microsoft VBScript runtime error '800a0009' Subscript out
of range '[number:0]' /Quarantine.asp. Line 146
Help
ThanksHello
I'm not sure if this problem is related to SQL Server. Please post this
question in a relevant newsgroup.
Thank you for using Microsoft newsgroups.
Sincerely
Pankaj Agarwal
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.|||/53326a81df40afca88256e9b006548bb?OpenDocument&src=bar_sch_nam" target="_blank">http://service1.symantec.com/SUPPOR...src=bar_sch_nam
Solved my problem!!
quote:
Originally posted by George
I've got this error showing up in my Symantec Quarantine
and it won't delete, in the interum my Quarantine is
filling fast.
Exact error is:
Microsoft VBScript runtime error '800a0009' Subscript out
of range '[number:0]' /Quarantine.asp. Line 146
Help
Thanks

800a0009 error

I've got this error showing up in my Symantec Quarantine
and it won't delete, in the interum my Quarantine is
filling fast.
Exact error is:
Microsoft VBScript runtime error '800a0009' Subscript out
of range '[number:0]' /Quarantine.asp. Line 146
Help
Thanks
Hello
I'm not sure if this problem is related to SQL Server. Please post this
question in a relevant newsgroup.
Thank you for using Microsoft newsgroups.
Sincerely
Pankaj Agarwal
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.
|||http://tinyurl.com/5okkv
Solved my problem!!
George wrote:
> *I've got this error showing up in my Symantec Quarantine
> and it won't delete, in the interum my Quarantine is
> filling fast.
> Exact error is:
> Microsoft VBScript runtime error '800a0009' Subscript out
> of range '[number:0]' /Quarantine.asp. Line 146
> Help
> Thanks *
dreyer
Posted via http://www.webservertalk.com
View this thread: http://www.webservertalk.com/message367817.html

Thursday, March 8, 2012

7.0 vs 2000?

I hope I can explain this correctly...

I have a developer that runs a batch file to delete the current parts from the database. The batch file calls a prorietary Java class file (Trilogy) to delete the parts and it simply returns a "null". I don't know whats making it return null.

Note: We have the same DB on a 7.0 Instance and a 2000 Instance. The batch file works against the 7.0 Instance and not against the 2000 Instance.

I'm wondering if possibly it's a Server setting? I'm not sure where to begin with this one.The first thing I'd check would be the logs. Any output (logfile, console, or other) from the Java app would be first, then the SQL Server log file, the NT logs, and anything else that seems appropriate.

The next thing I'd do would be to sic the SQL Profiler on the little beastie, and watch what it is doing. The exact steps will vary a lot depending on your configuration, but the process isn't too complex.

If none of those give you any clues, then you have a real puzzle! Those can still be solved, but they are a lot harder.

-PatP

Monday, February 13, 2012

4G table's delete uses 20G log

I've a table with a size of ~4G and 6million rows in SQL server 2005.
Shen deleting all rows from it it takes closer to an hour and uses
~20G of transaction log. I wasn't able to truncate it due to FK's, but
should I not be able to truncat it by disabling FKs - how can I do
that? Or how can I expedite this delete because it;s annoying to let
server use 20G log for 4G table. My DB recovery model is set to SIMPLE
(for minimum logging)
TIA,
DataDealer
Do not delete with one big batch, instead , divide it into small batches
SET ROWCOUNT 1000
delete_more:
DELETE .....
IF @.@.ROWCOUNT > 0 GOTO delete_more
SET ROWCOUNT 0
<Nasir111@.gmail.com> wrote in message
news:4285be79-87e3-4711-8fe6-344db8f3d77b@.s8g2000prg.googlegroups.com...
> I've a table with a size of ~4G and 6million rows in SQL server 2005.
> Shen deleting all rows from it it takes closer to an hour and uses
> ~20G of transaction log. I wasn't able to truncate it due to FK's, but
> should I not be able to truncat it by disabling FKs - how can I do
> that? Or how can I expedite this delete because it;s annoying to let
> server use 20G log for 4G table. My DB recovery model is set to SIMPLE
> (for minimum logging)
> TIA,
> DataDealer
|||Recovery model do not affect the amount of logging for a DELETE operation.
You cannot TRUNCATE TABLE as long as a FK is referencing that table. It doesn't help if you disable
that constraint. How about dropping the constraint, TRUNCATE TABLE and then adding it back? That
will by far be the quickest way. If that doesn't suit you, follow Uri's advice to delete in batches
so not all is in one large transaction.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
<Nasir111@.gmail.com> wrote in message
news:4285be79-87e3-4711-8fe6-344db8f3d77b@.s8g2000prg.googlegroups.com...
> I've a table with a size of ~4G and 6million rows in SQL server 2005.
> Shen deleting all rows from it it takes closer to an hour and uses
> ~20G of transaction log. I wasn't able to truncate it due to FK's, but
> should I not be able to truncat it by disabling FKs - how can I do
> that? Or how can I expedite this delete because it;s annoying to let
> server use 20G log for 4G table. My DB recovery model is set to SIMPLE
> (for minimum logging)
> TIA,
> DataDealer

4G table's delete uses 20G log

I've a table with a size of ~4G and 6million rows in SQL server 2005.
Shen deleting all rows from it it takes closer to an hour and uses
~20G of transaction log. I wasn't able to truncate it due to FK's, but
should I not be able to truncat it by disabling FKs - how can I do
that? Or how can I expedite this delete because it;s annoying to let
server use 20G log for 4G table. My DB recovery model is set to SIMPLE
(for minimum logging)
TIA,
DataDealerDo not delete with one big batch, instead , divide it into small batches
SET ROWCOUNT 1000
delete_more:
DELETE .....
IF @.@.ROWCOUNT > 0 GOTO delete_more
SET ROWCOUNT 0
<Nasir111@.gmail.com> wrote in message
news:4285be79-87e3-4711-8fe6-344db8f3d77b@.s8g2000prg.googlegroups.com...
> I've a table with a size of ~4G and 6million rows in SQL server 2005.
> Shen deleting all rows from it it takes closer to an hour and uses
> ~20G of transaction log. I wasn't able to truncate it due to FK's, but
> should I not be able to truncat it by disabling FKs - how can I do
> that? Or how can I expedite this delete because it;s annoying to let
> server use 20G log for 4G table. My DB recovery model is set to SIMPLE
> (for minimum logging)
> TIA,
> DataDealer|||Recovery model do not affect the amount of logging for a DELETE operation.
You cannot TRUNCATE TABLE as long as a FK is referencing that table. It doesn't help if you disable
that constraint. How about dropping the constraint, TRUNCATE TABLE and then adding it back? That
will by far be the quickest way. If that doesn't suit you, follow Uri's advice to delete in batches
so not all is in one large transaction.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
<Nasir111@.gmail.com> wrote in message
news:4285be79-87e3-4711-8fe6-344db8f3d77b@.s8g2000prg.googlegroups.com...
> I've a table with a size of ~4G and 6million rows in SQL server 2005.
> Shen deleting all rows from it it takes closer to an hour and uses
> ~20G of transaction log. I wasn't able to truncate it due to FK's, but
> should I not be able to truncat it by disabling FKs - how can I do
> that? Or how can I expedite this delete because it;s annoying to let
> server use 20G log for 4G table. My DB recovery model is set to SIMPLE
> (for minimum logging)
> TIA,
> DataDealer