Viewing 15 posts - 1,231 through 1,245 (of 7,187 total)
If he unticked it recently, is he still using the same query window? He needs to open a new one for the change to take effect. If that doesn't work,...
September 29, 2017 at 5:54 am
Ask him to go to Tools -> Options -> Query Execution -> ANSI and untick SET IMPLICIT_TRANSACTIONS.
John
September 29, 2017 at 5:40 am
You pay your money, you take your choice. You could easily rewrite as follows - I don't think it would make any difference to performance either way....Field1...
September 29, 2017 at 5:35 am
September 29, 2017 at 5:25 am
Eirikur Eiriksson - Friday, September 29, 2017 2:50 AMHow about cmdshell?
😎wmic SERVICE LIST FULL|find /i "sqlservr.exe"
Eirikur, I think he's looking...
September 29, 2017 at 2:59 am
This is a bigger subject than it's possible to cover in a forum topic, I'm afraid. You need to read about which performance counters to capture, and how to capture...
September 29, 2017 at 2:55 am
Powershell will work, as will a SQLCMD script. You can also run a single query against a group of registered servers. For regular tasks, consider SSIS. Thom is right -...
September 29, 2017 at 2:40 am
Next time this happens, don't restart SQL Server, because you'll lose all the metadata in your DMVs, which is invaluable for troubleshooting. Make sure you establish a performance baseline and...
September 29, 2017 at 2:30 am
TheCTEGuy - Thursday, September 28, 2017 9:46 PMBecause calling a function in select makes the approach ROW-based rather than SET based.
Only...
September 29, 2017 at 2:08 am
Kev
The second query has no WHERE clause, so you'll get one row in your result set for every row in the table. The first query filters out rows...
September 28, 2017 at 8:45 am
September 28, 2017 at 7:34 am
September 28, 2017 at 4:40 am
Nader
You need to use recursion to do this. Have a look through that link (or search for others) and post back if anything isn't clear. There should...
September 28, 2017 at 3:57 am
If this information is needed for search or grouping criteria in the database,...
September 27, 2017 at 9:34 am
Viewing 15 posts - 1,231 through 1,245 (of 7,187 total)