Tuesday, March 20, 2012
BUG: Internal Server Error
MSSQL 7.0 and MSSQL2000 Server.
When running query:
create table t (id int primary key identity(1,1), f int, u varchar not null
default USER)
GO
create view v
as
select id, f
from t
where u = USER
GO
insert v (f)
select f
from v
group by f
GO
--
then get error:
Server: Msg 8624, Level 16, State 9, Line 1
Internal SQL Server error.
It's a bug?hi
just try this way
create table t
(id int primary key identity(1,1),
f int, u varchar not null
default 'USER')
GO
create view v
as
select id, f
from t
where u = 'USER'
GO
insert v (f) select f from t group by f
GO
best Regards,
Chandra
http://chanduas.blogspot.com/
http://groups.msn.com/SQLResource/
---
"Roman S. Golubin" wrote:
> Hi all!
> MSSQL 7.0 and MSSQL2000 Server.
> When running query:
> --
> create table t (id int primary key identity(1,1), f int, u varchar not nul
l
> default USER)
> GO
> create view v
> as
> select id, f
> from t
> where u = USER
> GO
> insert v (f)
> select f
> from v
> group by f
> GO
> --
> then get error:
> --
> Server: Msg 8624, Level 16, State 9, Line 1
> Internal SQL Server error.
>
> It's a bug?
>
>|||Hi, Chandra!
> just try this way
> create table t
> (id int primary key identity(1,1),
> f int, u varchar not null
> default 'USER')
> GO
BOL. USER.
-> Use USER to return the current user's database username
BUG: Internal Server Error
MSSQL 7.0 and MSSQL2000 Server.
When running query:
create table t (id int primary key identity(1,1), f int, u varchar not null
default USER)
GO
create view v
as
select id, f
from t
where u = USER
GO
insert v (f)
select f
from v
group by f
GO
then get error:
Server: Msg 8624, Level 16, State 9, Line 1
Internal SQL Server error.
It's a bug?
hi
just try this way
create table t
(id int primary key identity(1,1),
f int, u varchar not null
default 'USER')
GO
create view v
as
select id, f
from t
where u = 'USER'
GO
insert v (f) select f from t group by f
GO
best Regards,
Chandra
http://chanduas.blogspot.com/
http://groups.msn.com/SQLResource/
"Roman S. Golubin" wrote:
> Hi all!
> MSSQL 7.0 and MSSQL2000 Server.
> When running query:
> --
> create table t (id int primary key identity(1,1), f int, u varchar not null
> default USER)
> GO
> create view v
> as
> select id, f
> from t
> where u = USER
> GO
> insert v (f)
> select f
> from v
> group by f
> GO
> --
> then get error:
> --
> Server: Msg 8624, Level 16, State 9, Line 1
> Internal SQL Server error.
>
> It's a bug?
>
>
|||Hi, Chandra!
> just try this way
> create table t
> (id int primary key identity(1,1),
> f int, u varchar not null
> default 'USER')
> GO
BOL. USER.
-> Use USER to return the current user's database username
bug: data file autogrowth set to 12800%
the autogrowth setting in one of my database's primary filegroup data
file keeps having the value of 12800%, which was originally set to
100MB, everytime the service is restarted. the same occurs whenever i
restore a backup of this database in our development environment.
WTF? this issue does not happen to other filegroups. only on the
primary data file. whenever this happens the 4GB data file grows to
more than 70GB (even the math is incorrect) with about 95% of UNUSED
space.
has anyone else come accross this BS or anyone knows how to prevent
this from happening? is MS aware of this not-so-funny joke?
thankshi,
XNMB wrote:
> SQL2K5 SP1
> the autogrowth setting in one of my database's primary filegroup data
> file keeps having the value of 12800%, which was originally set to
> 100MB, everytime the service is restarted. the same occurs whenever i
> restore a backup of this database in our development environment.
> WTF? this issue does not happen to other filegroups. only on the
> primary data file. whenever this happens the 4GB data file grows to
> more than 70GB (even the math is incorrect) with about 95% of UNUSED
> space.
> has anyone else come accross this BS or anyone knows how to prevent
> this from happening? is MS aware of this not-so-funny joke?
unfortunately, it's a bug, already reported as you can see at
http://lab.msdn.microsoft.com/produ...62-729b178a7fa0
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtm http://italy.mvps.org
DbaMgr2k ver 0.18.0 - DbaMgr ver 0.62.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
--- remove DMO to reply|||XNMB (ChristianBautista@.gmail.com) writes:
> the autogrowth setting in one of my database's primary filegroup data
> file keeps having the value of 12800%, which was originally set to
> 100MB, everytime the service is restarted. the same occurs whenever i
> restore a backup of this database in our development environment.
> WTF? this issue does not happen to other filegroups. only on the
> primary data file. whenever this happens the 4GB data file grows to
> more than 70GB (even the math is incorrect) with about 95% of UNUSED
> space.
> has anyone else come accross this BS or anyone knows how to prevent
> this from happening? is MS aware of this not-so-funny joke?
Yes, as Andrea said, this is a known issue.
It appears that the problem appears with databases from SQL 2000, and it's
old bug that causes problems.
Look at http://lab.msdn.microsoft.com/Produ...ackId=FDBK49455
for a way to fix the database while its on SQL 2000.
If the database is on SQL 2005, it may help to set an explicit growth to
a fixed size.
--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx
Friday, February 10, 2012
Boost SQL Priority Pros and Cons
I have a single, dual-processor SQL server running our companies primary
application for 60 users. We are running SQL 2000 sp4 on 2000 Server, sp4.
Server access via the application seems sluggish at times and I am wondering
if boosting the SQL Priority will help in this regard.
Can someone provide some details on the pro's and con's of enabling this?
Also, what benefit would adding the instance of SQL to Active Directory
provide?
--
Thanks, Jeff"Jeff" <Jeff@.discussions.microsoft.com> wrote in message
news:3E28C261-C90B-4BA1-AD6A-898AEE7B09BF@.microsoft.com...
> hello,
> I have a single, dual-processor SQL server running our companies primary
> application for 60 users. We are running SQL 2000 sp4 on 2000 Server,
> sp4.
> Server access via the application seems sluggish at times and I am
> wondering
> if boosting the SQL Priority will help in this regard.
> Can someone provide some details on the pro's and con's of enabling this?
>
If there are no other applciations running on the server, booting priority
will do nothing. If there are other application running on the server using
lots of CPU, consider using Windows Server Resource Manager to allocate CPU.
It's much more flexible, smarter and safer than messing with process
priority. T
> Also, what benefit would adding the instance of SQL to Active Directory
> provide?
>
None.
David|||If you have performance problems, looking at changing
configuration settings is generally one of the last things
you would typically look at. Many of the times that people
change those settings, it just causes more harm than good.
It's pretty rare to ever need to change the priority.
The following is a pretty good short article on the
configuration settings:
How to determine proper SQL Server configuration settings
http://support.microsoft.com/?id=319942
-Sue
On Thu, 27 Jul 2006 15:04:01 -0700, Jeff
<Jeff@.discussions.microsoft.com> wrote:
>hello,
>I have a single, dual-processor SQL server running our companies primary
>application for 60 users. We are running SQL 2000 sp4 on 2000 Server, sp4.
>Server access via the application seems sluggish at times and I am wondering
>if boosting the SQL Priority will help in this regard.
>Can someone provide some details on the pro's and con's of enabling this?
>Also, what benefit would adding the instance of SQL to Active Directory
>provide?|||Jeff wrote:
> hello,
> I have a single, dual-processor SQL server running our companies primary
> application for 60 users. We are running SQL 2000 sp4 on 2000 Server, sp4.
> Server access via the application seems sluggish at times and I am wondering
> if boosting the SQL Priority will help in this regard.
> Can someone provide some details on the pro's and con's of enabling this?
> Also, what benefit would adding the instance of SQL to Active Directory
> provide?
>
More than likely, boosting the priority won't help you out at all. You
should start by looking at sysprocesses during one of the sluggish
periods to see what it running. You could be experiencing blocking, or
just a poorly optimized query that is slowing things down.
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Thank you all for the responses, I appreciate the input. Sounds like it is
not worth my time.
Our server only runs SQL server and an instance of Backup Exec in SQL, other
than that, it runs nothing.
I think it is more due to the application than the server portion now anyway.
--
Thanks, Jeff
"Tracy McKibben" wrote:
> Jeff wrote:
> > hello,
> >
> > I have a single, dual-processor SQL server running our companies primary
> > application for 60 users. We are running SQL 2000 sp4 on 2000 Server, sp4.
> > Server access via the application seems sluggish at times and I am wondering
> > if boosting the SQL Priority will help in this regard.
> >
> > Can someone provide some details on the pro's and con's of enabling this?
> >
> > Also, what benefit would adding the instance of SQL to Active Directory
> > provide?
> >
> >
> More than likely, boosting the priority won't help you out at all. You
> should start by looking at sysprocesses during one of the sluggish
> periods to see what it running. You could be experiencing blocking, or
> just a poorly optimized query that is slowing things down.
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>