Viewing 15 posts - 1,981 through 1,995 (of 6,395 total)
Another way
SELECT
CONVERT(DATETIME,
CONVERT(VARCHAR(10),
CONVERT(DATETIME,
ABS(CHECKSUM(NEWID()))%(780)+(33968)
)
,120)
+'T'+
CONVERT(VARCHAR(12),
CONVERT(TIME,
DATEADD(MILLISECOND,ABS(CHECKSUM(NEWID()))%86400000 ,'00:00')
)
)
)
October 20, 2015 at 3:04 am
Either or.
Personally, I would never append a backup to an existing file. I would always create a new file for each backup, that way if corruption happens on day...
October 20, 2015 at 2:45 am
The closest your going to get with a maintenance plan is to set the expiry to 1 day, to expire the media set.
The alternative would be to backup to a...
October 20, 2015 at 2:33 am
Are you backing up each day to the same file?
If so do you never need to go back more than the current backup?
Format will write new header information so any...
October 20, 2015 at 2:20 am
Ed Wagner (10/19/2015)
DonlSimpson (10/19/2015)
ZZartin (10/19/2015)
Ed Wagner (10/19/2015)
anthony.green (10/19/2015)
Ray K (10/19/2015)
Ed Wagner (10/19/2015)
crookj (10/19/2015)
Ed Wagner (10/19/2015)
anthony.green (10/19/2015)
djj (10/19/2015)
RetrievePost (HTTP request)
Office
Depot
Home
Plate
Pie
Cake
Butter
Toast
Bread
Pudding
October 20, 2015 at 1:27 am
Luis Cazares (10/19/2015)
Unless I'm missing something, here's my suggestion.
--Dynamic Pivot
DECLARE @sql NVARCHAR(MAX);
/*
STUFF is used...
October 19, 2015 at 8:54 am
Ray K (10/19/2015)
Ed Wagner (10/19/2015)
crookj (10/19/2015)
Ed Wagner (10/19/2015)
anthony.green (10/19/2015)
djj (10/19/2015)
RetrievePost (HTTP request)
Office
Depot
Home
Plate
Pie
October 19, 2015 at 8:39 am
Do all the servers in the cluster have enough space to allow all secondaries to grow also?
Could one of the other servers E drives only have 50GB free for example?
October 19, 2015 at 7:34 am
Sounds like you need a double split dynamic pivot
You will need the dbo.delimitedsplit8k function which can be found in my signature on the "String Splitter Link"
Then you will need to...
October 19, 2015 at 7:30 am
Ed Wagner (10/19/2015)
anthony.green (10/19/2015)
Ed Wagner (10/16/2015)
anthony.green (10/16/2015)
Ed Wagner (10/16/2015)
anthony.green (10/16/2015)
crookj (10/16/2015)
anthony.green (10/16/2015)
Ed Wagner (10/16/2015)
anthony.green (10/16/2015)
Ed Wagner (10/15/2015)
LeviReggae Reggae Sauce
French Cooking (going from the word Sauce)
Toast
Rocky (Horror Picture Show)
Road (mmmm...
October 19, 2015 at 6:09 am
Are the files in the primary filegroup allowed to grow? If so whats the current filesizes, growth rate and is there enough storage to auto grow the database...
October 19, 2015 at 6:07 am
Yes I could write a stored proc, but it wont answer your problem.
CREATE PROCEDURE MyProc
AS
BEGIN
SELECT * FROM [dbo].[Transaction]
END
GO
I don't know what your column types are, I don't know what your...
October 19, 2015 at 5:57 am
There are no attachments on any of your posts.
Images are no good, we need the code which is in a easily consumable format, like the code I posted earlier
October 19, 2015 at 5:34 am
Please read this link http://www.sqlservercentral.com/articles/Best+Practices/61537/
Could you then re-post the table definition, sample data and expected outcome?
October 19, 2015 at 4:48 am
Viewing 15 posts - 1,981 through 1,995 (of 6,395 total)