Viewing 15 posts - 13,231 through 13,245 (of 49,552 total)
It might be. Can you post the query, the table definition and the index that you tried?
Why must it be a filtered index?
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
May 7, 2013 at 11:32 pm
balasach82 (5/7/2013)
3. If the deleting filegroup is set as DEFAULT, then how to delete it and what would be the premove steps
Delete all the objects in that filegroup. Delete all...
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
May 7, 2013 at 8:59 am
You can't make a different filegroup primary, the primary filegroup is the first one in the database and the one that contains the primary file. You can't delete the primary...
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
May 7, 2013 at 8:31 am
See https://www.simple-talk.com/sql/backup-and-recovery/the-sql-server-instance-that-will-not-start/
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
May 7, 2013 at 8:07 am
Have you considered using MERGE rather than an insert/update pair?
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
May 7, 2013 at 12:24 am
I'd be a little more concerned about this more than the exam quality http://www.techexams.net/forums/mcdst/11848-passed-70-271-easy.html, plus read through their FAQ, there's mention of 'scouring the web for questions' rather than then...
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
May 7, 2013 at 12:16 am
patrickmcginnis59 10839 (5/6/2013)
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
May 6, 2013 at 4:05 pm
Welsh Corgi (5/6/2013)
If someone has the sole connection I would not be able to kill their session?
You would be able to.
If someone has [grabbed the sole connection], identify who,...
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
May 6, 2013 at 4:02 pm
suneet.mlvy (5/6/2013)
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
May 6, 2013 at 6:45 am
Timeout is a client concept, not one the server deals with. It's the client that decides that a query has been running too long and the client that tells SQL...
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
May 6, 2013 at 4:36 am
masoudk1990 (5/6/2013)
GilaMonster (5/6/2013)
INSERT INTO TableName (ID,Value)SELECT coalesce(MAX(ID),0) + 1, 'something' FROM TableName;
Thank you, hence this statement is not allowed:
INSERT INTO TableName (Value1,value2)
values(
select value1 from table1,
select value2 from table2
)
Instead you must...
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
May 6, 2013 at 3:49 am
INSERT INTO TableName (ID,Value)
SELECT coalesce(MAX(ID),0) + 1, 'something' FROM TableName;
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
May 6, 2013 at 3:22 am
If you have Enterprise Edition, you can rebuild the indexes online, they'll probably take longer but don't hold long-duration locks.
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
May 6, 2013 at 2:08 am
200 executions of a query taking 6 seconds means that each execution takes 30ms to execute and return results, ignoring the parse and compile time (and SSMS is often slow...
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
May 6, 2013 at 1:57 am
Red Gate's SQL Prompt. 30 day, full-featured trial.
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
May 5, 2013 at 4:55 pm
Viewing 15 posts - 13,231 through 13,245 (of 49,552 total)