Viewing 15 posts - 151 through 165 (of 388 total)
Stijn Vervaet (1/12/2016)
January 13, 2016 at 3:06 am
ok, so you didnt want to update a particular statistic sniper rifle style.
That command will rebuild all statistics on the table, i.e. shotgun.
January 13, 2016 at 2:38 am
mw112009 (1/12/2016)
What I need is to update statistics on just one column. That column is used by an index.
I am assuming you got the index name from the query I...
January 12, 2016 at 10:18 am
Stijn Vervaet (1/11/2016)
January 12, 2016 at 10:05 am
All you can do is see if the message was qqueued for send here
select * from msdb.dbo.sysmail_mailitems
See in this table if it has info you could use.
Further than that, as...
January 12, 2016 at 7:26 am
mw112009 (1/11/2016)
UPDATE STATISTICS tabA.ColB;GO
The above is the syntax for updating all stats on a table like below
update statistics schema.table
If you want to update statistics it is
update statistics schema.table.STATISTICSNAME
So create statistics...
January 12, 2016 at 7:20 am
SQL Server Best Practices – Implementation of Database Object Schemas
https://technet.microsoft.com/en-us/library/dd283095%28v=sql.100%29.aspx
January 7, 2016 at 6:38 am
Jacob Wilkins (1/5/2016)
When I've needed logins to have permissions solely on the read-only secondary, I've...
January 5, 2016 at 12:46 pm
Login trigger on live server A.
No login trigger on liver server B
Do rollback if Login name = 'ThisHardenedDeveloper'
January 5, 2016 at 10:24 am
Must be something wrong with my version of sql.
Tested it out since I got the answer wrong, and query returned results without error.
My default quoted identifier is on, so maybe...
January 5, 2016 at 5:52 am
phosplait (1/4/2016)
which I did not include initially because I didn't want it to distract from the question of why the TVP operations had such a high cost.
These types of...
January 5, 2016 at 2:56 am
Cardinality = 15089400 for Seek Keys
Actual number = 2454167 for seek key.
2.4 million concatenations.
Let us know the 3 tables row counts so that we have an idea, script out...
January 4, 2016 at 7:43 am
Try [msdb].[dbo].[sysdac_history_internal] and [msdb].[dbo].[sysdac_instances_internal]
January 4, 2016 at 7:21 am
dndaughtery (12/30/2015)
There are about 10 developers querying the table and trying to think of which columns are used in all of their where clauses would be pretty difficult.
SELECT
SUBSTRING(text, statement_start_offset/2+1,
...
January 4, 2016 at 7:14 am
Jacob Wilkins (12/22/2015)
CREATE TABLE #test (some_string varchar(max));
INSERT INTO #test
SELECT TOP 1000000 ac1.name
FROM ...
December 22, 2015 at 9:18 am
Viewing 15 posts - 151 through 165 (of 388 total)