Viewing 15 posts - 46 through 60 (of 178 total)
Yea- that's what I thought he was looking for.
So changing the select part to this will round up the hour based on minutes >=30 and change 0 to 24.
SELECT
CASE
(DATEPART(hh,LEFT(dates,23))+
CASE...
August 5, 2009 at 9:18 am
does the account sql is running under have access to create at jobs?
Try running the cmd file from a sql agent job with an server administrator proxy instead of using...
August 5, 2009 at 7:26 am
Are you talking about tempdb??
If not, Can you not shrink the file?
DBCC SHRINKFILE (logicalfile, size in mb)
August 5, 2009 at 7:07 am
Abhijit More (8/5/2009)
As per the database records I have to convert the record to know whether it is midnight / nooon.
And the expected results is...
August 5, 2009 at 6:33 am
You need to provide full details because something is being left out.
You are running a view? post the create statement.
You are running many dates though query analyzer?
-...
August 5, 2009 at 6:27 am
Assuming your date columns are consistent in size:
CREATE TABLE #t (dates nvarchar(50))
INSERT #t
SELECT '2009-06-05 00:00:00.000 2009-06-05 00:59:00.000'
UNION ALL SELECT '2009-06-05 01:00:00.000 2009-06-05 07:00:00.000'
UNION ALL SELECT '2009-06-05 17:00:00.000 2009-06-05 23:59:00.000'
SELECT
CAST(DATEPART(hh,LEFT(dates,23)) as...
August 5, 2009 at 6:08 am
Do you mean the output should be:
1. 0 0.59
2. 1 7
3. 17 23.59
If the first one is 12, then you would have midnight and...
August 5, 2009 at 6:04 am
right click on the "line" between the two. You will see Success, Fail and completion.
These are the conditions it will go to the next step. Default is On...
August 4, 2009 at 11:51 am
well - somewhere to get started, maybe generate some thoughts
did the db instance update to SP3?
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel')
did the sp3 installer fail or give error messages?
errors in the install...
August 4, 2009 at 10:43 am
did you check BOL? you will see that the config_value of 0 means self managed. So your max is the server instance maximum.
Also -- this looks interesting:
PRSQL01 MS_SQL_PCT_MAX_Locks_Critical[(Percent_Max_Locks>=80.00...
August 4, 2009 at 10:26 am
Just know that if you recover your database, you will need to setup log shipping again. And if you backup the tail of log you will leave your production...
August 4, 2009 at 10:08 am
google up:
tsql sql server error log agent
I found the first few results to be very useful when setting up jobs to read error logs for server and agent.
July 29, 2009 at 5:39 am
Google sql server maintenance plan, specifically the database backup task.
July 29, 2009 at 5:33 am
Robocopy is what I would recommend. I use it all over the place.
Has sync folder options, auto restart if the copy fails, can resume a copy that fails without...
July 29, 2009 at 5:26 am
What happens when you run the SP alone (outside the scheduled maintenance plan). If it runs OK --->
You mention you only have 1 backup for the first DB ---...
July 28, 2009 at 9:13 am
Viewing 15 posts - 46 through 60 (of 178 total)