Viewing 15 posts - 3,226 through 3,240 (of 8,761 total)
J Livingston SQL (9/10/2016)
6th Generation Intel(R) Core(TM) i7-6700 / 16GB DDR4 /2TB 7200 rpm Hard Drive + 32GB M.2 SSD Cache
Microsoft SQL Server 2016 Developer Edition (64-bit) on Windows...
September 10, 2016 at 6:12 am
WayneS (9/9/2016)
J Livingston SQL (9/9/2016)
off the shelf tower.....
6th Generation Intel(R) Core(TM) i7-6700 Processor (8M Cache, up to 4.0 GHz)
16GB (2x8GB) 2133MHz DDR4 Non-ECC 1 SR
2TB...
September 9, 2016 at 11:53 pm
Alan.B (9/9/2016)
CREATE TABLE dbo.MyTable
(
SocialAdvertisingDimAdKey int IDENTITY(1,1) NOT NULL,
...
September 9, 2016 at 9:45 pm
Thanks for this, now the only thing missing is the exact format of the XML, can you please post an example?
😎
September 8, 2016 at 3:32 am
This approach seems overly complicated to me. Can you please post the DDL (create tables), sample data as an insert statement and the expected output?
😎
September 8, 2016 at 2:59 am
Quick suggestion, use Ola Hallengren's index maintenance scripts, work like a charm.
😎
September 7, 2016 at 9:32 am
ChrisM@Work (9/6/2016)
Sean Lange (9/6/2016)
Luis Cazares (9/6/2016)
Sean Lange (9/6/2016)
September 6, 2016 at 12:56 pm
Can you please post the DDL (Create table), sample data as an insert statement and the expected results?
😎
September 6, 2016 at 12:04 pm
Here is one way of doing this, the output is self-explanatory, uses the OBJECTPROPERTY function and the sys.sql_expression_dependencies view.
😎
-- EE Quick Static Code Analysis
SELECT
SM.object_id ...
September 6, 2016 at 5:33 am
Quick thought, either do year-week or year-month, the two are incompatible
😎
September 5, 2016 at 1:51 pm
Congrats, good stuff and you are most welcome.
😎
September 5, 2016 at 1:08 pm
Simply add the grouping as the first CTE
😎
USE TEEST;
GO
SET NOCOUNT ON;
;WITH DEMO(ID,FromTime,ToTime) AS
(
SELECT
ID
...
September 4, 2016 at 9:29 am
Quick suggestion, update the VS to the latest release before the installation, had similar/same problem on one of my workstations and after updating the VS with all the things applicable...
September 4, 2016 at 8:26 am
This code will return the interval in the format of DD:HH:MM:SS
😎
USE TEEST;
GO
SET NOCOUNT ON;
;WITH DEMO(ID,FromTime,ToTime) AS
(
SELECT
ID
...
September 4, 2016 at 8:23 am
J Livingston SQL (9/4/2016)
do you have time differences of greater than 24 hours?
Good point:pinch:, obviously the TIME data type isn't fit for purpose if either a single interval or the...
September 4, 2016 at 7:41 am
Viewing 15 posts - 3,226 through 3,240 (of 8,761 total)