Viewing 15 posts - 4,741 through 4,755 (of 49,571 total)
stanlyn (9/15/2015)
the developer can see the other databases, but cannot explore, drill down and/or execute them? Without the gui, productivity will suffer, at least for us.
He can see...
September 16, 2015 at 3:03 am
It's going to be down to estimations. Key lookups are OK on smaller row counts.
Can you post the plan?
September 15, 2015 at 1:59 pm
Windows protects the roots of drives more than folders, so you're more likely to have permissions problem (which with TempDB will result in the instance not starting). Put them in...
September 15, 2015 at 1:57 pm
Jeff Moden (9/15/2015)
Remember that won't necessarily help you with restores that have unnecessarily large log files because they need to be "formatted" as VLFs.
Not so much formatted. Log files must...
September 15, 2015 at 10:49 am
That's completely invalid syntax, bears no resemblance to an update statement, looks like an insert statement with the INSERT INTO replaced by an UPDATE SET and nothing else changed.
UPDATE ...
September 15, 2015 at 7:27 am
There's no recovery model requirements for a clustered database.
Just check and ensure that the data loss potential due to Simple Recovery is acceptable to the owners/users of the system.
September 15, 2015 at 7:21 am
That code shouldn't fail with a NULL value, or are you saying you have the string value 'NULL' present in your data?
DECLARE @DateAsString varchar(20) = NULL;
SELECT CAST(@DateAsString AS DATE)
Returns NULL,...
September 15, 2015 at 7:18 am
https://msdn.microsoft.com/en-us/library/ms187926.aspx
Stored procedures are similar to procedures in other programming languages in that they can:
Accept input parameters and return multiple values in the form of output parameters...
September 15, 2015 at 5:57 am
Correct. The availability group is at the database level. Server-level permissions are kept in master and that's not going to be part of your AG.
Just don't change any of the...
September 15, 2015 at 4:15 am
The 'create a new log file' and 'drop the old one once empty' are fine and will work. It's the ShrinkFile portion that won't, because EmptyFile only applies to data...
September 15, 2015 at 4:13 am
Create the login and user on the Primary replica. Grant the user the rights you want them to have on the secondary replica. Deny the login CONNECT rights on the...
September 15, 2015 at 4:04 am
Test and see?
CREATE TABLE #Test (
SomeValue INT
)
INSERT INTO #Test (SomeValue)
VALUES (1), (1),(1),(NULL),(NULL),(1)
PRINT 'Count'
SELECT COUNT(SomeValue) FROM #Test AS t
PRINT 'Sum'
SELECT SUM(SomeValue) FROM #Test AS t
-----------
Count
-----------
4
Warning: Null value is eliminated by...
September 15, 2015 at 4:01 am
The only thing which that process does is change the default collation for the instance (collation new databases will get by default), the collations of master and TempDB. It doesn't...
September 15, 2015 at 3:33 am
Then you need to identify the large transactions that are causing the log to grow (about the only thing that will in simple recovery) and fix that. If you can't...
September 15, 2015 at 3:22 am
Viewing 15 posts - 4,741 through 4,755 (of 49,571 total)