Viewing 15 posts - 3,421 through 3,435 (of 8,761 total)
Post the actual execution plans please, images of execution plans do not help in any way
😎
Further, something is not quite right if you are using lat/long with geometry, can you...
July 24, 2016 at 11:05 am
July 24, 2016 at 11:01 am
abhishek_300 (7/23/2016)
July 23, 2016 at 1:13 pm
Piling on
😎
Start by fixing these issues:
LN: 27 #test_Tmp_JRNL is Missing Clustered Index
LN: 71 #test_SAP_Tmp is Missing Clustered Index
LN:158 Wide distinct selection and group by for a single aggregate
LN:316 Wide distinct...
July 23, 2016 at 3:29 am
Quick suggestion, slightly different but easy to scale on large number of columns
😎
USE TEEST;
GO
SET NOCOUNT ON;
--
declare @sampledata Table
(
ID int
, [Date] Date
...
July 23, 2016 at 1:24 am
Quick thought, although not too efficient Jacob's xmlTable function could be what you are looking for.
😎
July 23, 2016 at 12:49 am
Or the other way around
😎
SELECT
T1.ID
,T2.XDATE
FROM dbo.TABLE1 T1
RIGHT...
July 22, 2016 at 10:15 pm
I have only used this method on production 2008 and 2012, used it on testing 2014 it worked fine including the machine I'm writing this answer on.
😎
July 22, 2016 at 9:58 pm
Simply enable Ole Automation Procedures
😎
--SHOW ADVANCED OPTIONS
EXEC sp_configure 'show advanced options',1;
RECONFIGURE WITH OVERRIDE;
-- ENABLE OLE AUTOMATION PROCS
EXEC sp_configure 'Ole Automation Procedures',1;
RECONFIGURE WITH OVERRIDE;
-- HIDE ADVANCED OPTIONS
EXEC sp_configure 'show advanced options',0;
RECONFIGURE...
July 22, 2016 at 1:52 pm
Eirikur Eiriksson (7/21/2016)
a) 2016-01-01 ==> 2014-04-01...
July 22, 2016 at 8:13 am
Quick questions, do you have recent good backups? What did you try before using REPAIR_ALLOW_DATA_LOSS?
😎
July 22, 2016 at 2:31 am
This shouldn't be too hard, even calling the web service from SQL Server is straight forward, here is an example function from this thread
😎
CREATE function [dbo].[GetHttp]
(
@url...
July 21, 2016 at 11:00 pm
Ed Wagner (7/21/2016)
Heh - And you even did it without a LEAD() for SQL 2008. Nice job, Eirikur.
Done this or similar to this since 4.2, haven't forgotten it yet;-)
😎
July 21, 2016 at 8:27 am
Quick suggestion
😎
/* -- ENABLE XP_CMDSHELL
EXEC SP_CONFIGURE 'show advanced options', 1
RECONFIGURE WITH OVERRIDE;
EXEC SP_CONFIGURE 'xp_cmdshell',1;
RECONFIGURE WITH OVERRIDE;
*/
DECLARE @services TABLE
(
SRV_TXT NVARCHAR(150) ...
July 21, 2016 at 7:53 am
Only one modification can be made at a time with the XML modify method, the workaround is to reconstruct the XML and replace the previous value, here is a quick...
July 21, 2016 at 7:19 am
Viewing 15 posts - 3,421 through 3,435 (of 8,761 total)