Viewing 15 posts - 241 through 255 (of 636 total)
Thanks Lynn.
March 5, 2013 at 9:56 am
The archive db did recover. I then shrunk its log. I expanded the prod log to a reasonable size given it normal processing/backup schedule.
Pretty resilent system despite my somewhat misguided...
February 19, 2013 at 8:33 am
I managed to shrink my prod logs to create some space. The archive db is still recovering, I'll let it go.
February 17, 2013 at 1:34 am
CREATE TABLE #Test
(
EffectiveDate DATE,
ExpiredDate DATE
)
INSERT INTO #Test(EffectiveDate,ExpiredDate) VALUES ('2013-02-14 00:00:00.000','2013-02-20 00:00:00.000')
INSERT INTO #Test(EffectiveDate,ExpiredDate) VALUES ('2013-01-01 00:00:00.000','2013-01-02 00:00:00.000')
INSERT INTO #Test(EffectiveDate,ExpiredDate) VALUES ('2013-02-03 00:00:00.000','2014-02-20 00:00:00.000')
INSERT INTO #Test(EffectiveDate,ExpiredDate) VALUES ('2010-12-31 00:00:00.000','2013-02-20 00:00:00.000')
SELECT
EffectiveDate,
ExpiredDate,
CASE...
February 14, 2013 at 3:05 pm
Can you provide sample data?
http://www.sqlservercentral.com/articles/Best+Practices/61537/
Do you understand what the crystal code is doing and can you state that in plain english or are you looking for someone to help you...
February 14, 2013 at 2:42 pm
As a former member of the dbo only club who initially used schemas for organizational purposes there are two lessons learned for me.
There may be performance implications (probably negligible)...
February 13, 2013 at 10:16 pm
ScottPletcher (2/13/2013)
Grant Fritchey (2/13/2013)
February 13, 2013 at 1:56 pm
I have never been a tbl-er but I have been a usp-er.
Lately I put everything in a schema. Is this a reasonable statement as far as a best practice? Always...
February 11, 2013 at 4:03 pm
Thanks for setting me in the right direction...
CREATE TABLE #Holidays (HolidayDate datetime, IsHoliday char(1))
INSERT INTO #Holidays (HolidayDate,IsHoliday) VALUES('2013-02-18 00:00:00.000', 'Y')
INSERT INTO #Holidays (HolidayDate,IsHoliday) VALUES('2013-03-29 00:00:00.000', 'Y');
DECLARE @StartDate DATETIME
SET @StartDate...
February 4, 2013 at 8:33 am
This almost works based on a post by The Dixie Flatline here:
http://www.sqlservercentral.com/Forums/Topic649517-1472-1.aspx
His table has weekends in it, mine doesn't. I'm not sure where I can put the weekend restriction. My...
February 1, 2013 at 12:51 pm
I don't have a calendar table, its a vendor provided database with a holidays table only.
So I almost need to generate my calendar table on the fly. Or generate enough...
January 31, 2013 at 5:16 pm
That's the difficulty. I don't want to create a table first.
CREATE PROCEDURE MyProc
AS
SELECT 1 AS column1, 2 AS column2
--At this point my data-consumer could use code like this
CREATE TABLE #myDynamicTable...
January 29, 2013 at 1:55 pm
Can you you arrange to copy the file to a location the test server can access? You could add this to the backup job or use a separate process.
January 28, 2013 at 4:17 pm
You existing backup process should already be automated.
Assuming this is the case: determine where those backups are going; determine whether the test server has access to the backup files;...
January 28, 2013 at 12:09 pm
Viewing 15 posts - 241 through 255 (of 636 total)