Showing posts with label run. Show all posts
Showing posts with label run. Show all posts

Friday, March 30, 2012

MSSQL 2000 Installation problem.

Hello there!
I am trying to install MS SQL 2000 Server on Windows 2003.
My problem is that when i run the autorun (autorun run well) and after i click SQL Server 200. Components and Install Database Server the autorun close normaly but doesn open the installation, dont open any new process, Nothing else happens, I tried to find the sqlstp.log file but with no success, There is no such a file in my computer, and i tryed also the event viwer too but it doesnt catched anything...


Any ideas?
Thanks to all who can help me.

Another thing, when i try to run directly setupsql.exe it says

Windows cannot open this program since it has been disabled.

I remember that the windows version is NOT the webbased edition, it is the enterprise edition.

|||i received this same error message with web edition. rebuilt my server to std edition and it worked fine.|||

Refer

http://support.microsoft.com/default.aspx?scid=kb;en-us;826961

MSSQL 2000 Installation problem.

Hello there!
I am trying to install MS SQL 2000 Server on Windows 2003.
My problem is that when i run the autorun (autorun run well) and after i click SQL Server 200. Components and Install Database Server the autorun close normaly but doesn open the installation, dont open any new process, Nothing else happens, I tried to find the sqlstp.log file but with no success, There is no such a file in my computer, and i tryed also the event viwer too but it doesnt catched anything...


Any ideas?
Thanks to all who can help me.

Another thing, when i try to run directly setupsql.exe it says

Windows cannot open this program since it has been disabled.

I remember that the windows version is NOT the webbased edition, it is the enterprise edition.

|||i received this same error message with web edition. rebuilt my server to std edition and it worked fine.|||

Refer

http://support.microsoft.com/default.aspx?scid=kb;en-us;826961

MSSQL 2000 Does not Install

Dear Community,

I have recently downloaded the MSSQL 2000 Evaluation package from microsoft website,but i can't get it to install.I run the autorun normally,but when i select the option install database server nothing happens.I am trying to install it on Windows XP Service Pack 2 Edition 5.1....As this would help,in 3-4 hours of computer inactivity,i see the setup loader but nothing happens,it says not responding.

Thanks in advance,

Dimitris.

I believe you cannot install MS sql server 2000 in windows XP only client components can be installed......but you can install sql server 2005 in windows XP with SP2........you can download that and install as the support for sql 2000 is getting over by April 2008 and then only extended support is available........

Friday, March 23, 2012

MSQL 6.5+7+2000>one server ?

Hi,
I need to run MSQL 6.5, 7 and 2000 on single Windows 2000 server.
Is it even possible?
Thanks, SimsasHello Simsas,

as far as I know this constallation is not possible, because the services installed by these different version doe have the same name.

Perhaps some of the experts in this forum know a way to realise it!

Greetings,
Carsten|||Yes you can have but for 6.5 or 7.0 you can only use one server instance, you need to switch between versions. And for SQL 2K only one default instance and variety of named instances.|||you won't be able to run the 6.5 along with the 7.0 as only one of them can be active at a time, I can't remember if 6.5 and 2000 can run at the same time

Is there any particular reason why you have to run all three versions at the same time on the same server? You should be able to run your 6.5 databases on 7 or 2000 in 6.5 compatability mode with little or no modification (depending on the app that's using it of course)|||thanx , i'll try

MSOLAP Error. Please help!

I have an Openrowset query, which connects to a cube and obtains the data in a table. This is run every day. This process has been running for over a year but now all of a sudden doesn't work and gives the erros mentioned below. When I reduce the records to be returned to about 1/4, then it runs fine else not. We are using Enterprise Version. Any help will be really appreciated.

Error when tried once -

OLE DB provider 'MSOLAP' reported an error. The provider ran out of memory.
[OLE/DB provider returned message: An error occurred during attempt to get a cell value.]
[OLE/DB provider returned message: The operation has failed because of an error in the COM component - unknown error ]
OLE DB error trace [OLE/DB Provider 'MSOLAP' IRowset::GetNextRows returned 0x8007000e: The provider ran out of memory.].

The second time I received -

ODBC: Msg 0, Level 19, State 1
SqlDumpExceptionHandler: Process 77 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.
[OLE/DB provider returned message: An unexpected internal error has occurred.] [Microsoft][ODBC SQL Server Driver]Function sequence error

Thanks,
SauravRevisiting archived thread here: http://www.dbforums.com/archive/index.php/t-534601.html

MSMQ

Can SQL server from a trigger or Stored procedure, post a
message to MSMQ?
Or can SQL server from a trigger or stored procedure, run
or fire a VBscript to do the same?Yes, using the sp_oamethod, haven't done it but there are a few sites out
there that walk through doing it, here's one.
http://www.tagconsulting.com/Show.asp?Id=1000
HTH
--
Ray Higdon MCSE, MCDBA, CCNA
--
"Peter Upfold" <peter@.statmon.com> wrote in message
news:054001c36767$98c11930$a401280a@.phx.gbl...
> Can SQL server from a trigger or Stored procedure, post a
> message to MSMQ?
> Or can SQL server from a trigger or stored procedure, run
> or fire a VBscript to do the same?
>

Wednesday, March 21, 2012

msi did not install ADS wizard

I ran the msi file but thereis no ADS wizard on my programs list, even after a reboot. When I run it again it does a repair but there is still no program. How do I find the right cab file for my device (DellAxim X51 With WM2005)

Is there a way to identify the wizard in C:\programs?

See this page for folder location, there is also a readme.doc file available

http://www.microsoft.com/downloads/details.aspx?FamilyId=B967347A-5DD0-445C-8A9F-AEA3DB9EC4BC&displaylang=en

sql

Monday, March 19, 2012

Msg 8964 After applying sql server service pack 4

Even though I have installed the latest sql server service pack (4). When I
run the dbcc checkdb statement with the arithabort set to on for one of my
production databases, I still get a few line with the error:
Server: Msg 8964, Level 16, State 1, Line 4
Table error: Object ID 2. The text, ntext, or image node at page (1:380425),
slot 2, text ID 2789285298176 is not referenced.
Even when I run: SELECT @.@.VERSION system stored procedure it returns
Microsoft SQL Server 2000 -8.00.2039(Intel x86)
As the version that I am using. I have also just today re-applied the
service pack following step by step the instruction in the sqlreadme for
service pack 4. I have read a solution that suggested re-installing sql
server but that is just not an option right now, because of the fact that it
is a production database that is in constant use. I'm also starting to think
that these arent necessarily errors that are critical. Could someone
help\advise?
Many thanksHi
There is nothing wrong with your SP level, but you have corruption in your
DB that applying a SP can not help to fix. SP's do not affect user DB's,
only system DB's.
run DBCC with the REPAIR_ALLOW_DATA_LOSS option. For more information on
the command, look in Books Online.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Fazz" <farayi@.lovetm.co.uk> wrote in message
news:u%23QrmC9$FHA.2320@.TK2MSFTNGP11.phx.gbl...
> Even though I have installed the latest sql server service pack (4). When
> I run the dbcc checkdb statement with the arithabort set to on for one of
> my production databases, I still get a few line with the error:
> Server: Msg 8964, Level 16, State 1, Line 4
> Table error: Object ID 2. The text, ntext, or image node at page
> (1:380425), slot 2, text ID 2789285298176 is not referenced.
> Even when I run: SELECT @.@.VERSION system stored procedure it returns
> Microsoft SQL Server 2000 -8.00.2039(Intel x86)
> As the version that I am using. I have also just today re-applied the
> service pack following step by step the instruction in the sqlreadme for
> service pack 4. I have read a solution that suggested re-installing sql
> server but that is just not an option right now, because of the fact that
> it is a production database that is in constant use. I'm also starting to
> think that these arent necessarily errors that are critical. Could someone
> help\advise?
> Many thanks
>

msg 8152

When I try to run an insert query, I got the following error message:
Server: Msg 8152, Level 16, State 9, Line 1
String or binary data would be truncated.
The statement has been terminated.
Can anyone please help? Thanks.Hi
It is happening because you try to insert a string value which is greater
then you have declared.
CREATE TABLE #Test
(
col VARCHAR(5)
)
INSERT INTO #Test VALUES ('AAAAAA')--6 characters
" -00Eric Clapton" <a@.b.com> wrote in message
news:Oz1KFHcuFHA.2948@.TK2MSFTNGP15.phx.gbl...
> When I try to run an insert query, I got the following error message:
> Server: Msg 8152, Level 16, State 9, Line 1
> String or binary data would be truncated.
> The statement has been terminated.
>
> Can anyone please help? Thanks.
>|||Hi Eric,
Thanks for the post.
For error message 8152, it usually means when the length of the value
entered by you into a char, varchar, nchar, nvarchar column is longer than
the maximum length of the column. For example, inserting 'FAQ' into a
char(2) column would result in this error.
You cou use Profiler to troubleshooting this error message. Tracing what
statement causes this.
If you have any questions or concerns, don't hesitate to let me know. We
are always here to be of assistance!
Sincerely yours,
Michael Cheng
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/
If you are outside the United States, please visit our International
Support page: http://support.microsoft.com/common/international.aspx
=====================================================This posting is provided "AS IS" with no warranties, and confers no rights.

msg 8152

When I try to run an insert query, I got the following error message:
Server: Msg 8152, Level 16, State 9, Line 1
String or binary data would be truncated.
The statement has been terminated.
Can anyone please help? Thanks.
Hi
It is happening because you try to insert a string value which is greater
then you have declared.
CREATE TABLE #Test
(
col VARCHAR(5)
)
INSERT INTO #Test VALUES ('AAAAAA')--6 characters
" -00Eric Clapton" <a@.b.com> wrote in message
news:Oz1KFHcuFHA.2948@.TK2MSFTNGP15.phx.gbl...
> When I try to run an insert query, I got the following error message:
> Server: Msg 8152, Level 16, State 9, Line 1
> String or binary data would be truncated.
> The statement has been terminated.
>
> Can anyone please help? Thanks.
>
|||Hi Eric,
Thanks for the post.
For error message 8152, it usually means when the length of the value
entered by you into a char, varchar, nchar, nvarchar column is longer than
the maximum length of the column. For example, inserting 'FAQ' into a
char(2) column would result in this error.
You cou use Profiler to troubleshooting this error message. Tracing what
statement causes this.
If you have any questions or concerns, don't hesitate to let me know. We
are always here to be of assistance!
Sincerely yours,
Michael Cheng
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS:
https://partner.microsoft.com/US/tec...rview/40010469
Others: https://partner.microsoft.com/US/tec...pportoverview/
If you are outside the United States, please visit our International
Support page: http://support.microsoft.com/common/international.aspx
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.

msg 8152

When I try to run an insert query, I got the following error message:
Server: Msg 8152, Level 16, State 9, Line 1
String or binary data would be truncated.
The statement has been terminated.
Can anyone please help? Thanks.Hi
It is happening because you try to insert a string value which is greater
then you have declared.
CREATE TABLE #Test
(
col VARCHAR(5)
)
INSERT INTO #Test VALUES ('AAAAAA')--6 characters
" -00Eric Clapton" <a@.b.com> wrote in message
news:Oz1KFHcuFHA.2948@.TK2MSFTNGP15.phx.gbl...
> When I try to run an insert query, I got the following error message:
> Server: Msg 8152, Level 16, State 9, Line 1
> String or binary data would be truncated.
> The statement has been terminated.
>
> Can anyone please help? Thanks.
>|||Hi Eric,
Thanks for the post.
For error message 8152, it usually means when the length of the value
entered by you into a char, varchar, nchar, nvarchar column is longer than
the maximum length of the column. For example, inserting 'FAQ' into a
char(2) column would result in this error.
You cou use Profiler to troubleshooting this error message. Tracing what
statement causes this.
If you have any questions or concerns, don't hesitate to let me know. We
are always here to be of assistance!
Sincerely yours,
Michael Cheng
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
=============
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS:
https://partner.microsoft.com/US/te...erview/40010469
Others: https://partner.microsoft.com/US/te...upportoverview/
If you are outside the United States, please visit our International
Support page: http://support.microsoft.com/common/international.aspx
========================================
=============
This posting is provided "AS IS" with no warranties, and confers no rights.

Msg 7391 and distributed transactions

Hi,
We are wondering what setting needs to be changed to get a large distributed
transaction to run.
We have a W2K3 server, upgraded from W2K with SQL2000 SP3A applied that can
run a large distributed transaction to another W2K3 server, upgraded from
W2K with SQL2000 SP3A applied. When we try the same transaction to a newly
created W2K3 server with SQL2000 SP3A applied we get the 7391 message. We
did notice a difference in a setting for MSDTC that we made the same but
this has not worked.
Is there something that we missed because the new server is not an upgraded
W2K3 server from W2K?
Thanks
Chris Wood
Alberta Department of Energy
CANADA
See "How to enable network DTC access in Windows Server 2003"
http://support.microsoft.com/default...b;en-us;817064
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright SQLDev.Net 1991-2004 All rights reserved.
"Chris Wood" <anonymous@.discussions.microsoft.com> wrote in message
news:OsrpVxPvEHA.3424@.TK2MSFTNGP09.phx.gbl...
> Hi,
> We are wondering what setting needs to be changed to get a large
> distributed
> transaction to run.
> We have a W2K3 server, upgraded from W2K with SQL2000 SP3A applied that
> can
> run a large distributed transaction to another W2K3 server, upgraded from
> W2K with SQL2000 SP3A applied. When we try the same transaction to a newly
> created W2K3 server with SQL2000 SP3A applied we get the 7391 message. We
> did notice a difference in a setting for MSDTC that we made the same but
> this has not worked.
> Is there something that we missed because the new server is not an
> upgraded
> W2K3 server from W2K?
> Thanks
> Chris Wood
> Alberta Department of Energy
> CANADA
>

Msg 7391 and distributed transactions

Hi,
We are wondering what setting needs to be changed to get a large distributed
transaction to run.
We have a W2K3 server, upgraded from W2K with SQL2000 SP3A applied that can
run a large distributed transaction to another W2K3 server, upgraded from
W2K with SQL2000 SP3A applied. When we try the same transaction to a newly
created W2K3 server with SQL2000 SP3A applied we get the 7391 message. We
did notice a difference in a setting for MSDTC that we made the same but
this has not worked.
Is there something that we missed because the new server is not an upgraded
W2K3 server from W2K?
Thanks
Chris Wood
Alberta Department of Energy
CANADASee "How to enable network DTC access in Windows Server 2003"
http://support.microsoft.com/default.aspx?scid=kb;en-us;817064
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright © SQLDev.Net 1991-2004 All rights reserved.
"Chris Wood" <anonymous@.discussions.microsoft.com> wrote in message
news:OsrpVxPvEHA.3424@.TK2MSFTNGP09.phx.gbl...
> Hi,
> We are wondering what setting needs to be changed to get a large
> distributed
> transaction to run.
> We have a W2K3 server, upgraded from W2K with SQL2000 SP3A applied that
> can
> run a large distributed transaction to another W2K3 server, upgraded from
> W2K with SQL2000 SP3A applied. When we try the same transaction to a newly
> created W2K3 server with SQL2000 SP3A applied we get the 7391 message. We
> did notice a difference in a setting for MSDTC that we made the same but
> this has not worked.
> Is there something that we missed because the new server is not an
> upgraded
> W2K3 server from W2K?
> Thanks
> Chris Wood
> Alberta Department of Energy
> CANADA
>

Msg 7391 and distributed transactions

Hi,
We are wondering what setting needs to be changed to get a large distributed
transaction to run.
We have a W2K3 server, upgraded from W2K with SQL2000 SP3A applied that can
run a large distributed transaction to another W2K3 server, upgraded from
W2K with SQL2000 SP3A applied. When we try the same transaction to a newly
created W2K3 server with SQL2000 SP3A applied we get the 7391 message. We
did notice a difference in a setting for MSDTC that we made the same but
this has not worked.
Is there something that we missed because the new server is not an upgraded
W2K3 server from W2K?
Thanks
Chris Wood
Alberta Department of Energy
CANADASee "How to enable network DTC access in Windows Server 2003"
http://support.microsoft.com/defaul...kb;en-us;817064
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright SQLDev.Net 1991-2004 All rights reserved.
"Chris Wood" <anonymous@.discussions.microsoft.com> wrote in message
news:OsrpVxPvEHA.3424@.TK2MSFTNGP09.phx.gbl...
> Hi,
> We are wondering what setting needs to be changed to get a large
> distributed
> transaction to run.
> We have a W2K3 server, upgraded from W2K with SQL2000 SP3A applied that
> can
> run a large distributed transaction to another W2K3 server, upgraded from
> W2K with SQL2000 SP3A applied. When we try the same transaction to a newly
> created W2K3 server with SQL2000 SP3A applied we get the 7391 message. We
> did notice a difference in a setting for MSDTC that we made the same but
> this has not worked.
> Is there something that we missed because the new server is not an
> upgraded
> W2K3 server from W2K?
> Thanks
> Chris Wood
> Alberta Department of Energy
> CANADA
>

Monday, March 12, 2012

msg 3721

I tried to run the following in query analyzer:
ALTER TABLE Products_table enable Trigger XXX_ins_upd_trg;
But I got the error message : Server: Msg 3721, Level 16, State 1, Line 1
And I tried to search Microsoft support website for this message and none of
them is relevant to my case. Can anyone please help? Thanks.
Hi,
See if the table name provided is correct.
Thanks
Hari
" 009SteveJobs" <steve@.jobs.com> wrote in message
news:uyEImlEDHHA.4024@.TK2MSFTNGP04.phx.gbl...
>I tried to run the following in query analyzer:
> ALTER TABLE Products_table enable Trigger XXX_ins_upd_trg;
> But I got the error message : Server: Msg 3721, Level 16, State 1, Line 1
> And I tried to search Microsoft support website for this message and none
> of them is relevant to my case. Can anyone please help? Thanks.
>
|||Just checked. It's correct.
"Hari Prasad" <hari_prasad_k@.hotmail.com> wrote in message
news:Owr6xIFDHHA.4396@.TK2MSFTNGP02.phx.gbl...
> Hi,
> See if the table name provided is correct.
> Thanks
> Hari
> " 009SteveJobs" <steve@.jobs.com> wrote in message
> news:uyEImlEDHHA.4024@.TK2MSFTNGP04.phx.gbl...
>

msg 3721

I tried to run the following in query analyzer:
ALTER TABLE Products_table enable Trigger XXX_ins_upd_trg;
But I got the error message : Server: Msg 3721, Level 16, State 1, Line 1
And I tried to search Microsoft support website for this message and none of
them is relevant to my case. Can anyone please help? Thanks.Hi,
See if the table name provided is correct.
Thanks
Hari
" 009SteveJobs" <steve@.jobs.com> wrote in message
news:uyEImlEDHHA.4024@.TK2MSFTNGP04.phx.gbl...
>I tried to run the following in query analyzer:
> ALTER TABLE Products_table enable Trigger XXX_ins_upd_trg;
> But I got the error message : Server: Msg 3721, Level 16, State 1, Line 1
> And I tried to search Microsoft support website for this message and none
> of them is relevant to my case. Can anyone please help? Thanks.
>|||Just checked. It's correct.
"Hari Prasad" <hari_prasad_k@.hotmail.com> wrote in message
news:Owr6xIFDHHA.4396@.TK2MSFTNGP02.phx.gbl...
> Hi,
> See if the table name provided is correct.
> Thanks
> Hari
> " 009SteveJobs" <steve@.jobs.com> wrote in message
> news:uyEImlEDHHA.4024@.TK2MSFTNGP04.phx.gbl...
>>I tried to run the following in query analyzer:
>> ALTER TABLE Products_table enable Trigger XXX_ins_upd_trg;
>> But I got the error message : Server: Msg 3721, Level 16, State 1, Line 1
>> And I tried to search Microsoft support website for this message and none
>> of them is relevant to my case. Can anyone please help? Thanks.
>>
>|||You didn't post the message text. I looked in SQL Server 2000 sysmessages table and didn't find
error 3721, which makes it very hard for us to suggest something.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
" 009SteveJobs" <steve@.jobs.com> wrote in message news:e88ceZFDHHA.3604@.TK2MSFTNGP03.phx.gbl...
> Just checked. It's correct.
>
> "Hari Prasad" <hari_prasad_k@.hotmail.com> wrote in message
> news:Owr6xIFDHHA.4396@.TK2MSFTNGP02.phx.gbl...
>> Hi,
>> See if the table name provided is correct.
>> Thanks
>> Hari
>> " 009SteveJobs" <steve@.jobs.com> wrote in message news:uyEImlEDHHA.4024@.TK2MSFTNGP04.phx.gbl...
>>I tried to run the following in query analyzer:
>> ALTER TABLE Products_table enable Trigger XXX_ins_upd_trg;
>> But I got the error message : Server: Msg 3721, Level 16, State 1, Line 1
>> And I tried to search Microsoft support website for this message and none of them is relevant to
>> my case. Can anyone please help? Thanks.
>>
>>
>

msg 3721

I tried to run the following in query analyzer:
ALTER TABLE Products_table enable Trigger XXX_ins_upd_trg;
But I got the error message : Server: Msg 3721, Level 16, State 1, Line 1
And I tried to search Microsoft support website for this message and none of
them is relevant to my case. Can anyone please help? Thanks.Hi,
See if the table name provided is correct.
Thanks
Hari
" 009SteveJobs" <steve@.jobs.com> wrote in message
news:uyEImlEDHHA.4024@.TK2MSFTNGP04.phx.gbl...
>I tried to run the following in query analyzer:
> ALTER TABLE Products_table enable Trigger XXX_ins_upd_trg;
> But I got the error message : Server: Msg 3721, Level 16, State 1, Line 1
> And I tried to search Microsoft support website for this message and none
> of them is relevant to my case. Can anyone please help? Thanks.
>|||Just checked. It's correct.
"Hari Prasad" <hari_prasad_k@.hotmail.com> wrote in message
news:Owr6xIFDHHA.4396@.TK2MSFTNGP02.phx.gbl...
> Hi,
> See if the table name provided is correct.
> Thanks
> Hari
> " 009SteveJobs" <steve@.jobs.com> wrote in message
> news:uyEImlEDHHA.4024@.TK2MSFTNGP04.phx.gbl...
>|||You didn't post the message text. I looked in SQL Server 2000 sysmessages ta
ble and didn't find
error 3721, which makes it very hard for us to suggest something.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
" 009SteveJobs" <steve@.jobs.com> wrote in message news:e88ceZFDHHA.3604@.TK2MSFTNGP03.phx.gbl
..
> Just checked. It's correct.
>
> "Hari Prasad" <hari_prasad_k@.hotmail.com> wrote in message
> news:Owr6xIFDHHA.4396@.TK2MSFTNGP02.phx.gbl...
>

Msg 2511

We are getting the following error on our production machine when we run
DBCC CHECKDB
Server: Msg 2511, Level 16, State 1, Line 1
Table error: Object ID 1488776411, Index ID 3. Keys out of order on page
(1:41060), slots 264 and 265.
Server: Msg 2511, Level 16, State 1, Line 1
Table error: Object ID 1488776411, Index ID 3. Keys out of order on page
(1:41085), slots 75 and 76.
Server: Msg 2511, Level 16, State 1, Line 1
Table error: Object ID 1488776411, Index ID 3. Keys out of order on page
(1:41125), slots 15 and 16.
CHECKTABLE found 0 allocation errors and 3 consistency errors in table
'INT_AUX_ACTIVITY' (object ID 1488776411).
repair_rebuild is the minimum repair level for the errors found by DBCC
CHECKTABLE (sca_master.dbo.INT_AUX_ACTIVITY ).
I searched Google and found the following article,
http://www.winnetmag.com/SQLServer/Forums/messageview.cfm?catid=1664&threadid=117814
However, my network admin tells me that he could not find anything wrong
with the server. If drop the index pointed out in the error, dbcc returns no
errors.
If add the index back, I get the errors again.
Did anybody expericence a similar issue. Any pointers would be appreciated.
Thanks.
PrasadUsing SQL 2K, SP3a, with MS03-031.
Using RAID5 for data.
RAM: 2GB
"Prasad Koukuntla" <prasad.koukuntla@.scapromo.com> wrote in message
news:ew6EAWkIEHA.3664@.TK2MSFTNGP11.phx.gbl...
> We are getting the following error on our production machine when we run
> DBCC CHECKDB
> Server: Msg 2511, Level 16, State 1, Line 1
> Table error: Object ID 1488776411, Index ID 3. Keys out of order on page
> (1:41060), slots 264 and 265.
> Server: Msg 2511, Level 16, State 1, Line 1
> Table error: Object ID 1488776411, Index ID 3. Keys out of order on page
> (1:41085), slots 75 and 76.
> Server: Msg 2511, Level 16, State 1, Line 1
> Table error: Object ID 1488776411, Index ID 3. Keys out of order on page
> (1:41125), slots 15 and 16.
> CHECKTABLE found 0 allocation errors and 3 consistency errors in table
> 'INT_AUX_ACTIVITY' (object ID 1488776411).
> repair_rebuild is the minimum repair level for the errors found by DBCC
> CHECKTABLE (sca_master.dbo.INT_AUX_ACTIVITY ).
> I searched Google and found the following article,
>
http://www.winnetmag.com/SQLServer/Forums/messageview.cfm?catid=1664&threadid=117814
> However, my network admin tells me that he could not find anything wrong
> with the server. If drop the index pointed out in the error, dbcc returns
no
> errors.
> If add the index back, I get the errors again.
> Did anybody expericence a similar issue. Any pointers would be
appreciated.
> Thanks.
> Prasad
>|||I ran dbcc checktable(int_aux_activity, REPAIR_REBUILD) with no_infomsgs
as suggested in the error. However, the errors still showed up, when I ran
the DBCC CHECKTABLE without the repair option.
"Prasad Koukuntla" <prasad.koukuntla@.scapromo.com> wrote in message
news:ew6EAWkIEHA.3664@.TK2MSFTNGP11.phx.gbl...
> We are getting the following error on our production machine when we run
> DBCC CHECKDB
> Server: Msg 2511, Level 16, State 1, Line 1
> Table error: Object ID 1488776411, Index ID 3. Keys out of order on page
> (1:41060), slots 264 and 265.
> Server: Msg 2511, Level 16, State 1, Line 1
> Table error: Object ID 1488776411, Index ID 3. Keys out of order on page
> (1:41085), slots 75 and 76.
> Server: Msg 2511, Level 16, State 1, Line 1
> Table error: Object ID 1488776411, Index ID 3. Keys out of order on page
> (1:41125), slots 15 and 16.
> CHECKTABLE found 0 allocation errors and 3 consistency errors in table
> 'INT_AUX_ACTIVITY' (object ID 1488776411).
> repair_rebuild is the minimum repair level for the errors found by DBCC
> CHECKTABLE (sca_master.dbo.INT_AUX_ACTIVITY ).
> I searched Google and found the following article,
>
http://www.winnetmag.com/SQLServer/Forums/messageview.cfm?catid=1664&threadid=117814
> However, my network admin tells me that he could not find anything wrong
> with the server. If drop the index pointed out in the error, dbcc returns
no
> errors.
> If add the index back, I get the errors again.
> Did anybody expericence a similar issue. Any pointers would be
appreciated.
> Thanks.
> Prasad
>

Friday, March 9, 2012

MSforeachdb question

Hello,
Trying to use the undocumented / unsupported SP
sp_MSforeachdb and have encountered a small problem.
Here is what i am trying to run...
EXEC sp_MSforeachdb @.command1="GET_ALL_USER_OBJECTS '?'"
The guts of GET_ALL_USER_OBJETS are:
**********
CREATE PROCEDURE GET_ALL_USER_OBJECTS
@.db_name sysname
AS
set @.db_name = db_name()
select db_name(), o.name as table_name, c.name as
column_name, t.name as Data_type, c.length as length,
c.xprec as prec, c.xscale as scale from syscolumns c,
sysobjects o , systypes t where o.id =c.id
and t.xtype= c.xtype
and o.xtype = 'U' --table name and column name
*****
The procedure works but only in the master DB...
Its looks like it never switches to the next DB?
Any help would be appreciated!!!
thanks all!
LouCould you use a cursor to iterate through the databases. I use the
following code to query the databases and put the data into a temporary
table and then, when the cursor has finished interating, then query the
temporary table.
-- CREATE CURSOR FOR IDENTIFYING DATABASE NAMES FROM
-- THE [MASTER].DBO.[SYSDATABASES] TABLE
DECLARE cDataBases CURSOR
FOR
SELECT name from master.dbo.sysdatabases
WHERE name like 'ABC%' -- you may want to filter some database names
FOR READ ONLY
---
-- Open the database
OPEN cDataBases
---
-- GET THE FIRST DB NAME
FETCH NEXT FROM cDataBases
INTO @.sDataBase
---
-- LOOP THROUGH THE CURSOR WHILST DB NAMES ARE RETURNED
WHILE @.@.FETCH_STATUS = 0
BEGIN
---
-- THERE ARE SOME DATABASES THAT WE DON'T WANT TO QUERY
IF @.sDataBase NOT IN ('myDBa', 'myDBb')
BEGIN
-- the following is an example of some SQL that I use...change it for
your query!!
SET @.sqlStatement = N'SELECT TOP 1 ''' + @.sDataBase +
''', description, fileSize, dateStarted, dateFinished FROM ' +
@.sDataBase + '.dbo.dataUpdates WHERE Description = ''' + @.uploadType +
''' AND dateStarted>CONVERT(DATETIME, ''' + @.dateStart + ''',
102) AND dateFinished<CONVERT(DATETIME, ''' + @.dateEnd + ''', 102) ' +
' ORDER BY dateStarted DESC'
-- TOGGLE THE REM STATEMENT ON THE FOLLOWING TWO LINES TO CHECK
--select @.sqlStatement
INSERT #T_Uploads EXECUTE sp_executesql @.sqlStatement -- I INSERT
INTO A TEMPORARY TABLE AND THEN QUERY AT THE END
END
---
-- GET THE NEXT DATABASE NAME FROM THE CURSOR
FETCH NEXT FROM cDataBases
INTO @.sDataBase
---
END
---
-- TRASH THE CURSOR
CLOSE cDataBases
DEALLOCATE cDataBases
--THEN QUERY THE TEMPORARY TABLE (AND DROP IT AFTERWARDS)|||You can execute the script directly with a USE statemement rather than
executing a proc in order to access the catalog in the specified database.
Example below. Personally, as I would use a cursor script similar to
Griff's but with a cursor over INFORMATION_SCHEMA.SCHEMATA.
EXEC sp_msforeachdb
'
USE ?
select db_name(), o.name as table_name, c.name as
column_name, t.name as Data_type, c.length as length,
c.xprec as prec, c.xscale as scale from syscolumns c,
sysobjects o , systypes t where o.id =c.id
and t.xtype= c.xtype
and o.xtype = ''U'' --table name and column name
'
Hope this helps.
Dan Guzman
SQL Server MVP
"Louis" <ljones@.qcsinet.com> wrote in message
news:078e01c4900f$92aeb990$a401280a@.phx.gbl...
> Hello,
> Trying to use the undocumented / unsupported SP
> sp_MSforeachdb and have encountered a small problem.
> Here is what i am trying to run...
> EXEC sp_MSforeachdb @.command1="GET_ALL_USER_OBJECTS '?'"
> The guts of GET_ALL_USER_OBJETS are:
>
> **********
> CREATE PROCEDURE GET_ALL_USER_OBJECTS
> @.db_name sysname
> AS
> set @.db_name = db_name()
> select db_name(), o.name as table_name, c.name as
> column_name, t.name as Data_type, c.length as length,
> c.xprec as prec, c.xscale as scale from syscolumns c,
> sysobjects o , systypes t where o.id =c.id
> and t.xtype= c.xtype
> and o.xtype = 'U' --table name and column name
> *****
>
> The procedure works but only in the master DB...
> Its looks like it never switches to the next DB?
> Any help would be appreciated!!!
> thanks all!
> Lou
>|||exec sp_MSForEachDB
"
use ?;
select
db_name(),
o.name as table_name,
c.name as column_name,
t.name as Data_type,
c.length as length,
c.xprec as prec,
c.xscale as scale
from
syscolumns c,
sysobjects o ,
systypes t
where
o.id =c.id and
t.xtype= c.xtype and
o.xtype = 'U'
"
"Louis" <ljones@.qcsinet.com> wrote in message
news:078e01c4900f$92aeb990$a401280a@.phx.gbl...
> Hello,
> Trying to use the undocumented / unsupported SP
> sp_MSforeachdb and have encountered a small problem.
> Here is what i am trying to run...
> EXEC sp_MSforeachdb @.command1="GET_ALL_USER_OBJECTS '?'"
> The guts of GET_ALL_USER_OBJETS are:
>
> **********
> CREATE PROCEDURE GET_ALL_USER_OBJECTS
> @.db_name sysname
> AS
> set @.db_name = db_name()
> select db_name(), o.name as table_name, c.name as
> column_name, t.name as Data_type, c.length as length,
> c.xprec as prec, c.xscale as scale from syscolumns c,
> sysobjects o , systypes t where o.id =c.id
> and t.xtype= c.xtype
> and o.xtype = 'U' --table name and column name
> *****
>
> The procedure works but only in the master DB...
> Its looks like it never switches to the next DB?
> Any help would be appreciated!!!
> thanks all!
> Lou
>

MSforeachdb question

Hello,
Trying to use the undocumented / unsupported SP
sp_MSforeachdb and have encountered a small problem.
Here is what i am trying to run...
EXEC sp_MSforeachdb @.command1="GET_ALL_USER_OBJECTS '?'"
The guts of GET_ALL_USER_OBJETS are:
**********
CREATE PROCEDURE GET_ALL_USER_OBJECTS
@.db_name sysname
AS
set @.db_name = db_name()
select db_name(), o.name as table_name, c.name as
column_name, t.name as Data_type, c.length as length,
c.xprec as prec, c.xscale as scale from syscolumns c,
sysobjects o , systypes t where o.id =c.id
and t.xtype= c.xtype
and o.xtype = 'U' --table name and column name
*****
The procedure works but only in the master DB...
Its looks like it never switches to the next DB?
Any help would be appreciated!!!
thanks all!
Lou
Could you use a cursor to iterate through the databases. I use the
following code to query the databases and put the data into a temporary
table and then, when the cursor has finished interating, then query the
temporary table.
-- CREATE CURSOR FOR IDENTIFYING DATABASE NAMES FROM
-- THE [MASTER].DBO.[SYSDATABASES] TABLE
DECLARE cDataBases CURSOR
FOR
SELECT name from master.dbo.sysdatabases
WHERE name like 'ABC%' -- you may want to filter some database names
FOR READ ONLY
-- Open the database
OPEN cDataBases
-- GET THE FIRST DB NAME
FETCH NEXT FROM cDataBases
INTO @.sDataBase
-- LOOP THROUGH THE CURSOR WHILST DB NAMES ARE RETURNED
WHILE @.@.FETCH_STATUS = 0
BEGIN
-- THERE ARE SOME DATABASES THAT WE DON'T WANT TO QUERY
IF @.sDataBase NOT IN ('myDBa', 'myDBb')
BEGIN
-- the following is an example of some SQL that I use...change it for
your query!!
SET @.sqlStatement = N'SELECT TOP 1 ''' + @.sDataBase +
''', description, fileSize, dateStarted, dateFinished FROM ' +
@.sDataBase + '.dbo.dataUpdates WHERE Description = ''' + @.uploadType +
''' AND dateStarted>CONVERT(DATETIME, ''' + @.dateStart + ''',
102) AND dateFinished<CONVERT(DATETIME, ''' + @.dateEnd + ''', 102) ' +
' ORDER BY dateStarted DESC'
-- TOGGLE THE REM STATEMENT ON THE FOLLOWING TWO LINES TO CHECK
--select @.sqlStatement
INSERT #T_Uploads EXECUTE sp_executesql @.sqlStatement -- I INSERT
INTO A TEMPORARY TABLE AND THEN QUERY AT THE END
END
-- GET THE NEXT DATABASE NAME FROM THE CURSOR
FETCH NEXT FROM cDataBases
INTO @.sDataBase
END
-- TRASH THE CURSOR
CLOSE cDataBases
DEALLOCATE cDataBases
--THEN QUERY THE TEMPORARY TABLE (AND DROP IT AFTERWARDS)
|||You can execute the script directly with a USE statemement rather than
executing a proc in order to access the catalog in the specified database.
Example below. Personally, as I would use a cursor script similar to
Griff's but with a cursor over INFORMATION_SCHEMA.SCHEMATA.
EXEC sp_msforeachdb
'
USE ?
select db_name(), o.name as table_name, c.name as
column_name, t.name as Data_type, c.length as length,
c.xprec as prec, c.xscale as scale from syscolumns c,
sysobjects o , systypes t where o.id =c.id
and t.xtype= c.xtype
and o.xtype = ''U'' --table name and column name
'
Hope this helps.
Dan Guzman
SQL Server MVP
"Louis" <ljones@.qcsinet.com> wrote in message
news:078e01c4900f$92aeb990$a401280a@.phx.gbl...
> Hello,
> Trying to use the undocumented / unsupported SP
> sp_MSforeachdb and have encountered a small problem.
> Here is what i am trying to run...
> EXEC sp_MSforeachdb @.command1="GET_ALL_USER_OBJECTS '?'"
> The guts of GET_ALL_USER_OBJETS are:
>
> **********
> CREATE PROCEDURE GET_ALL_USER_OBJECTS
> @.db_name sysname
> AS
> set @.db_name = db_name()
> select db_name(), o.name as table_name, c.name as
> column_name, t.name as Data_type, c.length as length,
> c.xprec as prec, c.xscale as scale from syscolumns c,
> sysobjects o , systypes t where o.id =c.id
> and t.xtype= c.xtype
> and o.xtype = 'U' --table name and column name
> *****
>
> The procedure works but only in the master DB...
> Its looks like it never switches to the next DB?
> Any help would be appreciated!!!
> thanks all!
> Lou
>
|||exec sp_MSForEachDB
"
use ?;
select
db_name(),
o.name as table_name,
c.name as column_name,
t.name as Data_type,
c.length as length,
c.xprec as prec,
c.xscale as scale
from
syscolumns c,
sysobjects o ,
systypes t
where
o.id =c.id and
t.xtype= c.xtype and
o.xtype = 'U'
"
"Louis" <ljones@.qcsinet.com> wrote in message
news:078e01c4900f$92aeb990$a401280a@.phx.gbl...
> Hello,
> Trying to use the undocumented / unsupported SP
> sp_MSforeachdb and have encountered a small problem.
> Here is what i am trying to run...
> EXEC sp_MSforeachdb @.command1="GET_ALL_USER_OBJECTS '?'"
> The guts of GET_ALL_USER_OBJETS are:
>
> **********
> CREATE PROCEDURE GET_ALL_USER_OBJECTS
> @.db_name sysname
> AS
> set @.db_name = db_name()
> select db_name(), o.name as table_name, c.name as
> column_name, t.name as Data_type, c.length as length,
> c.xprec as prec, c.xscale as scale from syscolumns c,
> sysobjects o , systypes t where o.id =c.id
> and t.xtype= c.xtype
> and o.xtype = 'U' --table name and column name
> *****
>
> The procedure works but only in the master DB...
> Its looks like it never switches to the next DB?
> Any help would be appreciated!!!
> thanks all!
> Lou
>