Viewing 15 posts - 196 through 210 (of 608 total)
Thanks Lynn..
the results:
2013-05-15 12:14:17.000 2013-05-15 12:23:18.000
2013-05-15 19:17:23.000 2013-05-15 19:36:35.000
2013-05-16 15:15:36.000 2013-05-16 15:35:51.000
2013-05-17 19:19:32.000 2013-05-17 19:37:31.000
2013-05-20 19:18:11.000 2013-05-20 19:36:09.000
2013-05-21 10:12:09.000 2013-05-21 10:21:17.000
2013-05-21 19:19:15.000 2013-05-21 19:37:12.000
2013-05-22 19:17:05.000 2013-05-22 19:35:28.000
2013-05-23 19:18:45.000 2013-05-23 19:36:47.000
2013-05-24...
June 11, 2013 at 7:51 am
declare @dbname sysname
set @dbname = db_name()
print @dbname
select backup_start_date,backup_finish_date,
from msdb..backupset
where database_name = @dbname and type = 'D'
Msg 156, Level 15, State 1, Line 5
Incorrect syntax near the keyword 'from'.
June 11, 2013 at 7:39 am
This tells us you need to start running t-log backups at a minimum. You also need to get with your network people (or who ever works with your backup software)...
June 11, 2013 at 7:17 am
Lynn,
results:
LOG_BACKUP
Pretty sure it's because the Unitrends software is not working as it should. But I'm stuck with the UNitrends device to backup out servers.
So my thought was that I would...
June 11, 2013 at 7:09 am
Okay given my scenario...
should I run this first:
BACKUP LOG <database_name> WITH TRUNCATE_ONLY;
every night (scheduled), then do a full backup?
I'm concerned with space..
June 11, 2013 at 7:03 am
Thanks Sean! Worked great.
Yeah I know about the (no lock)...the vender has these all over the place..
crazy I know..
Thanks everybody for helping!
June 4, 2013 at 8:22 am
I ran the statement:
SELECT*
FROMpearhist
WHEREISDATE(LEFT(pehPErcontrol,8)) = 0
And got zero records
June 4, 2013 at 7:02 am
Umm... I don't think there's a chance. But I wouldn't bet my life on it..
They are all dates, but with an extra character on the end.
If I change the...
June 4, 2013 at 7:00 am
changed it to datetime and got:
Conversion failed when converting datetime from character string
cast(left('pehPErcontrol',8) as datetime),
June 4, 2013 at 6:52 am
thanks Phil
I get a:
Type date is not a defined system type error
Here's the code:
cast(left('pehPErcontrol',8) as date),
June 4, 2013 at 6:47 am
Perfect!
Thanks Lowell. You are the man.
May 21, 2013 at 7:08 am
found a way...thanks anyway guys..
IF (select count(*) from [e009]) > 0
begin
exec msdb.dbo.sp_send_dbmail
@profile_name = 'Default',
@recipients = 'me@example.com',
@subject = 'warning',
@query = 'select * from [e009]',
@attach_query_result_as_file = 1,
@query_attachment_filename = 'warning.csv'
end
May 20, 2013 at 2:48 pm
lol...never is that easy..
thanks man, that's just what I was looking for..
May 10, 2013 at 12:02 pm
Guessing it kick out my users if they are in the middle of running a report?
If so, that would be bad.
Do I have any other options for my senario?
January 24, 2013 at 7:52 am
Viewing 15 posts - 196 through 210 (of 608 total)