Viewing 15 posts - 48,871 through 48,885 (of 49,552 total)
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...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
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...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
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...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
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...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
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...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
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'')...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
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...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 11, 2007 at 2:46 pm
Refer to:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=336277
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
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...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
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...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
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....
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 11, 2007 at 1:11 pm
When you set up a trace was it with the default options? If so, 40000 isn't that much in 10 min. On some of my servers I can generate a...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 11, 2007 at 12:54 pm
Sorry, I'm on course at the moment so replies are going to be occational.
What did you trace? What I think would help, since you're getting this often, is have a...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 9, 2007 at 9:57 pm
Database backup at 13:36
Database backup, or log backup? I guess the latter, since db backups don't truncate the log.
I think what might be necessary at this point is to...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 4, 2007 at 11:42 pm
Row_Number is a new feature in 2005. there's no function in 2000 that does that.
You can try top. Something like
SELECT TOP 10
phone_no,model,cur_version, Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We stand on the bridge and no one may pass
January 4, 2007 at 3:35 am
Viewing 15 posts - 48,871 through 48,885 (of 49,552 total)