Viewing 15 posts - 61 through 75 (of 81 total)
Eugene Elutin (11/13/2012)
Have you tried using PIVOT. Where are you so far?
We can help you to learn and resolve issues instead of just providing...
November 13, 2012 at 10:18 am
Perry Whittle (10/16/2012)
USE YourDB
GO
selectname
, size / 128 AS FileSize
, case...
October 16, 2012 at 1:51 pm
george sibbald (10/16/2012)
correct. Restricted size needs to be >= to the size you want to increase to.
Ok, so that means
if i set up Initial size to 119.644 MB. then Restricted...
October 16, 2012 at 12:29 pm
george sibbald (10/16/2012)
If autogrow is enabled for the database the file will grow automatically when it fills anyway, but best practice is to pre-empt thipreemptng manually. Make sure any autogrowth...
October 16, 2012 at 12:20 pm
Hi Sean
There is slight difference in requirement
so the table and data as follows
CREATE TABLE #TestDates
(
iSchoolYearCode int NOT NULL,
dtStartDate DATETIME NOT NULL
)
insert into #TestDates values (2011,'2011-08-22 00:00:00.000')
insert into #TestDates...
October 11, 2012 at 7:14 am
Sean Lange (10/10/2012)
yogi123 (10/10/2012)
Sean Lange (10/10/2012)
However, it seems you want the most...
October 10, 2012 at 2:05 pm
Sean Lange (10/10/2012)
However, it seems you want the most recent date prior...
October 10, 2012 at 1:55 pm
capnhector (10/8/2012)
Well i have an answer but im going to ask what have you tried?
I got it
DELETE temp
FROM (
SELECT
ROW_NUMBER() OVER(PARTITION BY x.cStudentId,x.dtEnrollmentDate ORDER BY dtEnrollmentDate asc ) AS DSeq,
x.*
FROM...
October 8, 2012 at 4:30 pm
capnhector (10/8/2012)
Well i have an answer but im going to ask what have you tried?
so far, i did
SELECT
*
FROM (
SELECT
ROW_NUMBER() OVER(PARTITION BY x.cStudentId,x.dtEnrollmentDate ORDER BY dtEnrollmentDate asc ) AS...
October 8, 2012 at 4:17 pm
Ray M (10/3/2012)
SELECT
temp.cStudentId,
temp.iSchoolCode,
temp.cGradeCode,
COUNT(1) AS iMemb,
SUM(CASE WHEN temp.cAbsenceCode IN ('E','U') THEN 1 ELSE 0 END) AS Absences
FROM (
SELECT
ROW_NUMBER() OVER(PARTITION BY x.cStudentId ORDER BY dtEnrollmentDate Desc ) AS DaySeq,
x.*
FROM...
October 4, 2012 at 7:29 am
GSquared (8/15/2012)
You'll need to verify the command line parameters of the plan, as per the error.
I Think
command is fine
/SQL "Maintenance Plans\MaintenancePlan"
/SERVER "SERVERNAME"
/CHECKPOINTING OFF
/SET "\Package\Subplan_1.Disable";false
/REPORTING...
August 15, 2012 at 12:42 pm
yogi123 (8/2/2012)
SQLRNNR (8/2/2012)
August 3, 2012 at 10:25 am
Lowell (8/2/2012)
August 2, 2012 at 12:49 pm
Lowell (8/2/2012)
a post here by Gail Shaw(Gilamonster) says it might be the log has filled up on the database:
Log backup successfully executed every 15 min everyday.
so i guess log backup...
August 2, 2012 at 12:35 pm
yogi123 (8/2/2012)
SQLRNNR (8/2/2012)
August 2, 2012 at 12:33 pm
Viewing 15 posts - 61 through 75 (of 81 total)