Viewing 15 posts - 76 through 90 (of 190 total)
Based on the sample data, what kind result you want to get?
December 20, 2010 at 8:31 am
It does not take more time but the reason is we are not able to execute the script for each server when we take backup and execute it during database...
December 20, 2010 at 8:16 am
Try this:
SELECT COUNT(id) as SessionCount
,CASE WHEN DATEPART(HH, convert(varchar,DATEADD(hh, DATEDIFF(hh,0,timeuploaded), 0),120)) = 0 then '12 AM'
WHEN DATEPART(HH, convert(varchar,DATEADD(hh, DATEDIFF(hh,0,timeuploaded), 0),120)) > 12 THEN CAST ( ( DATEPART( HH ,...
December 20, 2010 at 7:53 am
malavika.ramanathan (12/20/2010)
I am getting 12 AM TWICE if i try to use a case to change the 0 to 12.
the query i am using now...
December 20, 2010 at 7:39 am
Can you check "CREATE PROCEDURE " on BOL?
December 17, 2010 at 12:32 pm
Hardy21 (12/17/2010)
Henrico Bekker (12/17/2010)
You can make use of the SP_help_revlogin as well, works quite well....
Thanks Henrico. I have already checked this link but this will not work for me. Because...
December 17, 2010 at 12:29 pm
1) Check Database Mail log, there mush have an entry if the dbmail works fine.
2) Since the operator 'NEVER' receive a mail, you may forget to restart the SQLAgent after...
December 17, 2010 at 12:10 pm
If you are absolutely sure that the database is not for replication, why not disable the replication?
(Use the following script:)
sp_replicationdboption 'database_name', 'publish', 'false', 1
December 16, 2010 at 2:15 pm
GilaMonster (10/28/2010)
Yes, it may be possible with work to make a nonclustered index larger than the cluster, it's not something...
November 11, 2010 at 12:18 pm
Steve Jones - SSC Editor (11/9/2010)
Note that you can mitigate this if you must do it. You...
November 11, 2010 at 12:00 pm
You'd better check BOL. It has the answer to all your questions.
November 10, 2010 at 2:51 pm
If it is for SQL Server, then ask someone to check the error log.
Otherwise, you post on a wrong site.
Edit: if one flag is on to write the deadlock info...
November 9, 2010 at 2:00 pm
Lynn Pettis (11/4/2010)
select
sum(row_count)
from
sys.dm_db_partition_stats
where
(index_id = 0 or index_id =...
November 8, 2010 at 12:06 pm
[quote-0
The only things that break the log chain are:
* Switch to simple recovery
* Backup log with nolog/truncate only
* Deleting a log backup (won't stop you taking log...
October 28, 2010 at 11:54 am
Grant Fritchey (10/22/2010)
It sounds like a parameter sniffing issue. A quick fix would be to recompile the procedure on prod and see if the plan changes.
I use a local variable...
October 22, 2010 at 2:18 pm
Viewing 15 posts - 76 through 90 (of 190 total)