Viewing 15 posts - 3,646 through 3,660 (of 8,761 total)
info.sqldbamail (5/2/2016)
cost threshold for parallelism is set to 5.
The default value of 5 is very low, normally recommend starting with 50 and work from there.
😎
May 2, 2016 at 6:20 am
Here is one way of searching all character type columns in all tables, be careful though as this can be quite hefty for large databases.
😎
USE TEEST;
GO
-- THE PATTERN TO SEARCH...
May 2, 2016 at 5:48 am
Another option is to shred and reconstruct the xml, here is a quick example with some test data
😎
USE TEEST;
GO
SET NOCOUNT ON;
--/*
-- SAMPLE DATA SET
IF OBJECT_ID(N'dbo.TBL_PRODUCT005') IS NOT NULL DROP TABLE...
May 2, 2016 at 4:17 am
info.sqldbamail (5/2/2016)
We have a server configured with 24 core processor with 0(Zero) MAXDOP, and queries are running with parallelism can any one suggest to set this configuration,
1) How to...
May 2, 2016 at 4:15 am
sqlnewbie17 (5/2/2016)
select @@version
Result should be 2000/2005/2008/2012... only
and not the entire string as here:
Microsoft SQL Server 2008 R2 (SP3) - 10.50.6000.34 (X64)
Aug 19 2014...
May 2, 2016 at 4:08 am
Can you post the execution plans for both queries? When updating the statistics did you use full scan, sample or resample? Are the maxdops the same on both?
😎
April 30, 2016 at 5:42 am
Luis Cazares (4/29/2016)
SELECT DISTINCT
CASE WHEN MAX(Criteria) OVER( PARTITION BY ServiceName) <> MIN(Criteria) OVER( PARTITION BY ServiceName)
...
April 30, 2016 at 1:02 am
GilaMonster (4/29/2016)
rodjkidd (4/29/2016)
SQLBits - make sure to say hi ... It will be good to catch up with the usual mob (Gail, Steve, Grant etc... 😉 )Errr....
http://sqlinthewild.co.za/index.php/2016/04/26/upcoming-conferences/
errare humanum est.
😎
Homo...
April 29, 2016 at 11:38 am
Out of curiosity, how many jobs do you have?
😎
April 29, 2016 at 7:44 am
The error message states that the table/view "TimCIS.dbo.Legis_Districts.Zip4" cannot be found, check the actual database and object names and make certain you can run queries like
SELECT COUNT(*)
FROM TimCIS.dbo.Legis_Districts.Zip4;
😎
April 29, 2016 at 7:39 am
Quick question, do you have a database called TimCIS?
😎
April 29, 2016 at 7:11 am
Lowell's code in a slightly different flavour
😎
DECLARE @DROP_JOP_TEMPLATE NVARCHAR(MAX) = '
-- {{@JOB_NAME}}
IF EXISTS (SELECT job_id FROM msdb.dbo.sysjobs_view WHERE name = N''{{@JOB_NAME}}'')
EXEC msdb.dbo.sp_delete_job @job_name=N''{{@JOB_NAME}}'', @delete_unused_schedule=1;
';
SELECT
REPLACE(@DROP_JOP_TEMPLATE ,N'{{@JOB_NAME}}',MSSJV.name)...
April 29, 2016 at 7:08 am
Quick thought, you can pass null as job_id and the job name, sp_delete_job uses sp_verify_job_identifiers to find the job_id if it isn't passed to the proc. Behind the scene it...
April 29, 2016 at 6:34 am
BLOB_EATER (4/29/2016)
GilaMonster (4/29/2016)
GilaMonster (4/27/2016)
BLOB_EATER (4/27/2016)
GilaMonster (4/26/2016)
BLOB_EATER (4/26/2016)
GilaMonster (4/26/2016)
SQLRNNR (4/26/2016)
April 29, 2016 at 4:49 am
Viewing 15 posts - 3,646 through 3,660 (of 8,761 total)