Viewing 15 posts - 91 through 105 (of 143 total)
Is it save for you to restart the sqlserver service?
November 23, 2012 at 6:38 am
Could you please provide some sample data (Using TSQL) and the expected results.
That way we'll be able to help you out better and quicker.
November 23, 2012 at 6:04 am
select *
from sysdatabases
where version != 0
AND version is not null
AND status <> 512
After a quick google on sysdatabases if found this helpful tidbit.
http://msdn.microsoft.com/en-us/library/aa260406%28v=sql.80%29.aspx
November 23, 2012 at 5:25 am
Hi,
If you're 100% sure that process can be killed and that there's nothing else going on that's important.
You can try.
USE master
GO
ALTER DATABASE <DBName>
SET OFFLINE WITH ROLLBACK IMMEDIATE
I don't have...
November 23, 2012 at 5:11 am
Lol. Was looking at active threads for questions to help out with, didn't realize this one was 4 years old. Hehe.... cough cough... :blush:
What's just as bad as a poorly...
November 23, 2012 at 3:47 am
Sorry skipped straight to my 2cents. (Nearly time to go home :-))
Maybe this has already been pointed out and I'm just proving the point of many comments already raised in...
November 22, 2012 at 9:06 am
You could also use subscriptions and skip monday in your schedule.
November 22, 2012 at 8:42 am
Give this ago.
First the function: (You can use DATEPART instead of ufn_ISOWeek)
CREATE FUNCTION [dbo].[ufn_GetDateFromISOWeek]
(
@YearNr SmallInt,
@WeekNr TinyInt,
@SE Char(1),
@StartMonth TinyInt
)
RETURNS SmallDateTime
AS
BEGIN
--DECLARE -- Parameters
-- @YearNr SmallInt,
-- @WeekNr TinyInt,
-- @SE Char(1),
-- @StartMonth TinyInt --...
November 22, 2012 at 8:32 am
You'll run into trouble if a week spans 2 months.
November 22, 2012 at 8:08 am
I successfully tried you test.
(No column name) (No column name)
Unsent 0
Failed 0
Sent 11
All 11
Have you tried dropping the profile / account and recreating them?
Can you give it a go via another smtp server?
November 22, 2012 at 7:58 am
Thanks for the input guys! 😀
@Eugene
That is not dynamic SQL...
I know. I was just demonstrating Jeffs suggestion of checking for a valid object and stopping if it isn't valid.
So far...
November 22, 2012 at 7:35 am
Ok, so we have to use dynamic queries for object names.
Make sure to check the object against the sys views.
DECLARE
@DBName NVarchar(50)
SET @DBName = 'Master1'
IF NOT EXISTS (SELECT * FROM...
November 22, 2012 at 1:50 am
When adding the exception for SvcHost.exe, I get the following message.
Windows services have been restricted with rules that allow expected behavior only. Rules that specify host processes, such as svchost.exe,...
November 20, 2012 at 5:22 am
This is also not working for SQL 2008 R2 dbs.
Locally they do work but from my workstation they don't.
Even though all Windows Firewalls are disabled, I configured the exceptions anyway....
November 20, 2012 at 3:54 am
Viewing 15 posts - 91 through 105 (of 143 total)