Viewing 15 posts - 48,886 through 48,900 (of 49,571 total)
If means that on your production server the query is reading more data pages, either from memory or disk, than on the dev server.
There shouldn't be much disk activity on...
January 16, 2007 at 4:05 am
This is from memory, cause I don't have a SQL 2000 server here.
In enterprise manager, expand out the server. Select management (I think) expand out and you'll see entries for...
January 16, 2007 at 4:03 am
Don't shrink a DB after a reindex. You're just undoing all the work that reindex did.
If you absolutely have to, make sure that you use the TRUNCATEONLY clause, to just...
January 16, 2007 at 3:52 am
Check your disks. Sounds like you may have IO throughput problems
I had latch waits on one of my databases some months back. We traced it down to very slow SAN...
January 16, 2007 at 3:46 am
Pleasure
Will you let me know if that is the case?
Easiest way to check if there are triing spaces is a query like
select '[' + TheVarcharColumn + ']' from TheTable
then you...
January 14, 2007 at 10:29 am
My guess is that the fields still contain the trailing spaces. Varchar doesn't trim trailing spaces, it just doesn't pad to full length.
All the reindex would have done is...
January 14, 2007 at 7:01 am
Kalen Delaney and Kimberley Tripp have some good books/blogs/white papers on all this, or if they're running a presentation or course near you get yourself onto it to start to...
January 14, 2007 at 6:29 am
What they may be talking about is the fact that on a multi-proc machine, sysprocesses can return more than one entry with the same spid (for a process that parallels...
January 14, 2007 at 6:25 am
The 'DBA's' have told me things like XYZ DB is much bigger then your DB and the log file is much smaller
so, it MUST be something the users are doing
only...
January 14, 2007 at 6:19 am
You can insert, but only the DBCCs that return a single result set. Some return multiple result sets, some just return messages.
For ShowContig this should work
Insert into ....
EXEC('DBCC ShowContig (''HumanResources.Employee'')...
January 11, 2007 at 2:48 pm
Stats just give the distribution of data in the column, helping the optimiser make decisions on how to run the query.
They do get out of date, but unless you're doing...
January 11, 2007 at 2:46 pm
January 11, 2007 at 2:39 pm
It's preferable if you don't cross post. People watch all the forums and cross posting means you get bits of answers in a couple places.
As for your openXML, very...
January 11, 2007 at 2:37 pm
I had this a week ago with a windows group that contained the sysadmins. Eventually traced it down to the fact that the default database for BUILTIN\Administrators was null (no...
January 11, 2007 at 1:14 pm
The clustered vs non clustered decision is not an easy one.
My personal preference is that every table have a clustered index unless I have a good reason not to....
January 11, 2007 at 1:11 pm
Viewing 15 posts - 48,886 through 48,900 (of 49,571 total)