Viewing 15 posts - 76 through 90 (of 349 total)
Actual ERRORs:
Msg 137, Level 15, State 2, Procedure sp_MyProc, Line 195
Must declare the scalar variable "@Online".
Msg 137, Level 15, State 2, Procedure sp_MyProc, Line 197
Must declare the scalar variable "@retry".
Msg...
November 11, 2013 at 7:17 am
--Here's the proc.. compiles in 2008 R2 (ent edition), does not compile in 2012 w/ sp1 (Ent edition)
USE [Admin_DB]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[sp_MyProc]
@databasename nvarchar(256)...
November 11, 2013 at 6:58 am
thx for helping me out here.. Our code is proprietary therefore I created a short example in my original post. The comma is actually in my "live" EXEC portion.....
November 11, 2013 at 6:33 am
Also -- Check the SQL Server ERROR LOG to verify your DB's are NOT "IN RECOVERY" state -- specifically the distribution DB, as this will delay the job scheduler...
October 15, 2013 at 5:59 am
This seems to work:
use msdb;
GO
select
d.jobname
,d.servername
, avgDurationMinutes=avg(d.durationMinutes)
, daydate=convert(char(10),startdatetime,101)
from (
select
jobname=j.name
,servername=server
,startdatetime=
CONVERT (DATETIME, RTRIM(run_date))
+ (
run_time * 9
+ run_time % 10000 * 6
+ run_time % 100 * 10
) / 216e4
, durationMinutes=
(CAST(SUBSTRING((right('0000000' + convert(varchar(7), run_duration), 7)),1,3)...
August 19, 2013 at 7:19 am
Anyone have a "working query" to render AVG run_duration for a specific Jobname in SQL 2008 R2? I cannot seem to get this query working:
select ...
August 19, 2013 at 7:02 am
John - thanks. Right on w/ your reply. The restore created the FG. Appreciate your feedback.
July 19, 2013 at 4:47 am
Andrew - thank you. Using your link, I successfully tested this.
Using transactional replication (SQL 2008 R2 sp2 to SQL 2008 R2 sp2, I set up a publication...
July 16, 2013 at 7:52 am
AJB, thank you very much. This is great. (apologize for the bad date formats as I hand entered these from a PDF doc) Thx Again!!!
July 2, 2013 at 12:17 pm
I also have a publication transactionally replicating 100 articles (some very large) and the need to DROP 1 small article.
Using SQL Server 2008 R2, do I need...
May 16, 2013 at 7:23 am
Dan - thanks for the expediant reply. I've put up a few 2-node clusters over the years ( a dozen or so ) but never installed just the one...
April 4, 2013 at 12:07 pm
-- This 4 step resolution worked:
--************************************************
-- SQL 2008 R2 -- Change an Article's Horizontal Row Filter
--************************************************
/**************
4 steps required to alter this Articles Horizontal row filter:
1....
March 10, 2013 at 9:15 am
thanks for this feedback.. yes, were a few years into this DB's maturity.. heavily used so I'll most like alter the column's collation attribute based on this link:
http://msdn.microsoft.com/en-us/library/ms190920(v=sql.105).aspx...
February 25, 2013 at 7:57 am
- SQL Server default Collation --> SQL_Latin1_General_CP1_CI_AS
- Database has no explicit colation defined
- Table has no explicit collation defined
The PROC which Inserts into the table does have a collation specified...
February 25, 2013 at 7:27 am
Applying the VMWare KB fix worked for us: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1012225
thank you..
BT
February 15, 2013 at 9:01 am
Viewing 15 posts - 76 through 90 (of 349 total)