Viewing 15 posts - 811 through 825 (of 2,458 total)
I would take a look at this book: Performance Tuning With SQL Server Dynamic Management Views. It will help you put together scripts you can use to determine which FK...
April 24, 2016 at 1:17 pm
I would add:
You'll want to learn first how to import the XML data which should be pretty easy. Then how to save it as relational data - meaning that it's...
April 23, 2016 at 8:16 pm
Eirikur Eiriksson (4/22/2016)
Alan.B (4/22/2016)
Nice to see this article again. Still awesome!:-PThanks Alan! When are you going to do a piece about your interesting work?
😎
Very soon sir, I have a few...
April 23, 2016 at 3:17 pm
Nice to see this article again. Still awesome!:-P
April 22, 2016 at 11:31 am
You can get rid of this statement:
drop table #tmp_datesforMonthAM
April 22, 2016 at 5:59 am
First, welcome to SQLServerCentral. This sounds like fun.
What you want to do sounds simple and easy. A few questions:
1. Do you have an MS SQL Server you can use? If...
April 21, 2016 at 5:49 pm
John Rowan (4/21/2016)
April 21, 2016 at 10:04 am
singhamitpal (4/20/2016)
April 21, 2016 at 10:01 am
Con Alexis (4/20/2016)
e.g.
WITH Data AS
(
SELECT 1 AS ID, '1/1/1900' AS Date
UNION ALL SELECT 2, '1/1/1900'
UNION ALL SELECT 3, getdate()
UNION ALL SELECT 4,...
April 20, 2016 at 7:29 pm
drew.allen (4/20/2016)
April 20, 2016 at 5:22 pm
Some people beat me to it but this was my test:
SET NOCOUNT ON;
CREATE TABLE #temp (ID int identity primary key, [Date] DATE NOT NULL);
CREATE INDEX dt ON #temp([date]);
INSERT INTO...
April 20, 2016 at 12:33 pm
Luis Cazares (4/20/2016)
WITH Table1(ID,Date) AS
(SELECT ID,Date FROM (
VALUES
(1 ,'1/1/1900')
,(2 ,'1/1/1900')
,(3 ,getdate() )
,(4 ,Getdate() )
) AS X(ID,Date))
SELECT
T1.ID
,T1.Date
,CASE
WHEN...
April 20, 2016 at 10:55 am
Simpy put - when you create a maintenance plan and schedule it you are creating a new SQL Agent Job that runs your "maintenance plan" at a time of your...
April 19, 2016 at 3:26 pm
Viewing 15 posts - 811 through 825 (of 2,458 total)