Viewing 15 posts - 12,271 through 12,285 (of 26,486 total)
While the database was using the full recovery model, were you taking regularly scheduled transaction log backups? If not, that is why your transaction log kept growing. The...
May 2, 2012 at 11:55 am
I can get the code to parse but without the DDL for the tables involved I can't do anything else.
May 2, 2012 at 11:51 am
blandry (5/2/2012)
Lynn Pettis (5/2/2012)
blandry (5/2/2012)
I am however getting an error and I cant figure it out! Look at this line that is choking...
DATEADD(MONTH, DATEDIFF(MONTH, 0, DATEADD(M,n,Files.LastModified)), 0) AS monthModified,
Which...
May 2, 2012 at 11:38 am
blandry (5/2/2012)
Lynn Pettis (5/2/2012)
blandry (5/2/2012)
I am however getting an error and I cant figure it out! Look at this line that is choking...
DATEADD(MONTH, DATEDIFF(MONTH, 0, DATEADD(M,n,Files.LastModified)), 0) AS monthModified,
Which...
May 2, 2012 at 11:35 am
blandry (5/2/2012)
I am however getting an error and I cant figure it out! Look at this line that is choking...
DATEADD(MONTH, DATEDIFF(MONTH, 0, DATEADD(M,n,Files.LastModified)), 0) AS monthModified,
Which one is it...
May 2, 2012 at 11:08 am
Also, replace your split function with the one you will find with this article (oh, read the article and its discussion):
May 2, 2012 at 11:06 am
blandry (5/2/2012)
Sorry I am late today - meetings in the AM and more coming too - but while I have time I looked over the code you...
May 2, 2012 at 11:01 am
patrickmcginnis59 (5/2/2012)
Sean Lange (5/2/2012)
patrickmcginnis59 (5/2/2012)
Sean Lange (5/2/2012)
May 2, 2012 at 10:50 am
Not sure what you would want to do for null values, but this should work for actual date values.
DECLARE @DateVar DATETIME;
SET @DateVar = '20120802 10:30:58.003';
SELECT @DateVar, LEFT(DATENAME(mm,@DateVar),3) + '-' +...
May 2, 2012 at 10:48 am
It would help if you could post the DDL (CREATE TABLE statement) for the table(s) involved, sample data (INSERT INTO statements) for the table(s) involved (also, not real data, just...
May 2, 2012 at 10:38 am
Sean Lange (5/2/2012)
Lynn Pettis (5/2/2012)
Sean Lange (5/2/2012)
Lynn Pettis (5/2/2012)
Sean Lange (5/2/2012)
May 2, 2012 at 10:06 am
Sean Lange (5/2/2012)
Lynn Pettis (5/2/2012)
Sean Lange (5/2/2012)
May 2, 2012 at 9:50 am
Basically came up with the same thing as ColdCoffee:
DECLARE @TestStr VARCHAR(128);
SET @TestStr = '/Customer Service2/CS Team - CareFirst Connect';
SELECT REVERSE(LEFT(REVERSE(@TestStr),CHARINDEX('/',REVERSE(@TestStr))-1));
SET @TestStr = '/Enrollment Analyst/Enrollment Analyst 1';
SELECT REVERSE(LEFT(REVERSE(@TestStr),CHARINDEX('/',REVERSE(@TestStr))-1));
SET @TestStr = '/Enrollment...
May 2, 2012 at 9:44 am
Sean Lange (5/2/2012)
May 2, 2012 at 9:36 am
Unfortunately, none of your responses until now really made that clear. I apologize if I got to aggressive in trying to make that point.
May 2, 2012 at 7:40 am
Viewing 15 posts - 12,271 through 12,285 (of 26,486 total)