Viewing 15 posts - 29,881 through 29,895 (of 49,552 total)
No, because SQL will always add the clustering key as an invisible key column to a nonclustered index that's not declared unique. You're just doing explicitly what SQL would do...
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
October 18, 2010 at 5:46 am
It may take a while, especially if there are nonclustered indexes.
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
October 18, 2010 at 4:21 am
Have you tried google?
I'd also suggest that you buy a copy of SQL 2008 Internals as there should be a fair bit in there.
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
October 18, 2010 at 4:04 am
Tables don't have individual logs.
Are you looking for DDL changes or data changes?
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
October 18, 2010 at 2:41 am
ovonelmonk (10/18/2010)
1) If I take Weekly Full,...
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
October 18, 2010 at 2:40 am
Recommendations:
1) Change the data type back to datetime. You're asking for a world of hurt with it a varchar. Validations, date manipulation, etc.
2) Look up CONVERT in SQL Books Online....
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
October 17, 2010 at 11:31 pm
Jeff Moden (10/17/2010)
WayneS (10/14/2010)
"Don't try this at home... we're professionals!"Heh... I have the perfect SQL subject for that... Quirky Update. 😀
Or what I actually labelled as 'Don't try this at...
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
October 17, 2010 at 11:09 pm
Please run the following, post the full and complete output.
DBCC CHECKDB (<Database Name>) WITH NO_INFOMSGS, ALL_ERRORMSGS
If that's the only error you have, check this out:
http://sqlinthewild.co.za/index.php/2009/08/26/corruption-in-sysdependencies/
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
October 17, 2010 at 11:08 pm
Test both and see which performs better?
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
October 17, 2010 at 11:08 pm
Look up the OUTPUT clause in SQL's Books Online
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
October 17, 2010 at 11:07 pm
Tom.Thomson (10/17/2010)
What's the betting he calls you all sorts of names
Yes
and says the idea of having a stored procedure is an unwanted overhead?
Don't think so. More likely, I think,...
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
October 17, 2010 at 3:30 pm
Tom.Thomson (10/17/2010)
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
October 17, 2010 at 10:54 am
beejug1983 (10/17/2010)
First : - The query that is being run by user will be stopped or what ?
No, but if your tran log runs out of space 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
October 17, 2010 at 10:52 am
You can't commit it from a different connection. Either find where it's coming from and tell the user to commit, or kill it and SQL will roll back all changes...
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
October 17, 2010 at 8:04 am
If I wasn't ignoring him/her, I'd suggest they do some reading on SQL Injection. The odd casts to int will ensure that there's nothing odd in the month or year,...
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
October 17, 2010 at 5:00 am
Viewing 15 posts - 29,881 through 29,895 (of 49,552 total)