Viewing 15 posts - 34,831 through 34,845 (of 49,552 total)
There's an option in management studio to disallow changes that require dropping and recreating the table (which is exactly what management studio will do in this case). By default it...
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, 2010 at 8:08 am
Steve Jones - Editor (1/11/2010)
Thanks and either way. If you want to write it and deal with the comments, works for me. If not, it's an interesting thing to tackle.
I'll...
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, 2010 at 7:39 am
Bear in mind that in Simple a checkpoint will only truncate the log to the beginning of the oldest active log segment. Any open transactions will keep a log segment...
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, 2010 at 7:30 am
It'll be defined earlier in the plan. There's probably a compute scalar operator somewhere.
If you want some details, post the plan (as a .sqlplan file, zipped) and we'll take 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, 2010 at 5:14 am
Please post queries, table definitions, index definitions and execution plan, as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
I don't know what's in that bmp file, because I'm not downloading 2.5 MB to look at 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, 2010 at 2:18 am
Please don't cross post. It just wastes peoples time and fragments replies.
No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic845222-357-1.aspx
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, 2010 at 2:16 am
Restore it from scratch.
You cancelled the restore part way through so the entire database was not restored. That cannot be brought online. Drop it, get a fresh backup and...
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, 2010 at 2:15 am
Again I'm going to ask for your definition of 'first row'. First by what criteria? Of do you just mean 'any one row, reagardless'?
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, 2010 at 2:12 am
Steve Jones - Editor (1/10/2010)
where was that from? It's interesting, and worth a little writing. I certainly have felt that way sometimes. Someone pinged me this weekend with an "urgent"...
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, 2010 at 2:10 am
Please don't cross post. It just wastes peoples time and fragments replies. Especially when you post one 6 hours after the other. 6 hours is not long to wait, especially...
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 10, 2010 at 1:11 pm
Problem with involving money is that walking away is no longer an option, there is a commitment to provide a solution, because the person is paying for it, and it...
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 10, 2010 at 1:08 pm
Since you're not even willing (it appears) to answer my very simple questions, I'm quite happy to leave this to your highly qualified indian developers. I have better things 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 10, 2010 at 12:32 pm
Firstly, why are you storing two numbers in varchar columns? Second, why are you storing a date split into two columns? What's wrong with a datetime column with a constraint...
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 10, 2010 at 10:25 am
But a SELECT Count will only return 1 row if there's no grouping, so why the top?
Do you want to count the distinct values in the top 50, or are...
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 10, 2010 at 10:18 am
Temp tables are either per-connection or global. There's no concept of a per-user temp table.
What you can do is give each user their own schema, set that as their...
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 10, 2010 at 9:36 am
Viewing 15 posts - 34,831 through 34,845 (of 49,552 total)