Viewing 15 posts - 5,311 through 5,325 (of 49,552 total)
print_mug (7/15/2015)
I have been given a project to centralise all our databases onto one DB server. Currently in...
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
July 15, 2015 at 5:43 am
Use SQL's native backup compression.
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
July 15, 2015 at 3:21 am
Personally, to make it clear(er) that EXISTS doesn't care what the columns are.
And 1/0 works, but something like LOG(-1) doesn't. I suspect the latter is a parse-time error.
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
July 14, 2015 at 4:07 pm
SolveSQL (7/14/2015)
what's the purpose of comparing same column from same table?..."WHERE Loss_state = #tmpTotals.Loss_State"
He's not.
The table inside the subquery is aliased as t and the binding order for columns...
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
July 14, 2015 at 1:26 pm
As I said above, the MCSE exams have been updated to include the 2014 material. There's only one set of MCSE exams.
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
July 14, 2015 at 12:03 pm
Fixed
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
July 14, 2015 at 8:20 am
Mark the subscription for reinitialisation.
Please note you don't need to reinit a subscription unless something has occurred to change the subscriber or it's been offline for longer than the retention...
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
July 14, 2015 at 7:15 am
Please post new questions in a new thread. Thank 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
July 14, 2015 at 7:13 am
Eirikur Eiriksson (7/14/2015)
Quick suggestion, run an instance of ssms for each server.😎
This.
Enforce it by using different windows logins for the two servers. Then one instance of SSMS is run as...
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
July 14, 2015 at 7:01 am
No, it's not a good solution. By updating the stats you're likely forcing all plans to recompile. It's probably only one or two queries which are causing the problem 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
July 14, 2015 at 6:43 am
How long is a piece of string?
I've got 20 million row tables in my test DB. I've seen tables with billions of rows in them. I've seen systems where 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
July 14, 2015 at 6:24 am
Bear in mind that it's not just a case of whether you can install it, but also whether you should, whether the server have spare capacity for the workload that...
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
July 14, 2015 at 6:04 am
RTaylor2208 (7/14/2015)
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
July 14, 2015 at 5:54 am
Depending what your data looks like and what data types are involved, that query could aggregate to the day, to the minute or to the millisecond. Can't tell.
To return 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
July 14, 2015 at 4:14 am
CAST (SomeColumn AS VARCHAR(Max))
CAST (SomeColumn AS VARBINARY(MAX))
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
July 14, 2015 at 3:42 am
Viewing 15 posts - 5,311 through 5,325 (of 49,552 total)