Viewing 15 posts - 241 through 255 (of 1,192 total)
davidsalazar01 (12/12/2014)
Jeff, I definitely want to update all values (I don't think there are null values) as I need to sanitized all...
December 12, 2014 at 5:00 pm
If I'm reading that correctly, won't it just start updating rows that already have the value 'ayIWt6C8sgimC6t61EJ9d8BB3+bfIZ8v' ?
Try
UPDATE [dbo].[CC_Info_T]
SET [Acct_Num_CH] = 'ayIWt6C8sgimC6t61EJ9d8BB3+bfIZ8v'
WHERE [Acct_Num_CH] <> 'ayIWt6C8sgimC6t61EJ9d8BB3+bfIZ8v'
NB: Rowcount is deprecated, TOP...
December 12, 2014 at 10:58 am
New Born DBA (12/12/2014)
Gazareth (12/12/2014)
Which version & edition are you running? Backup...
December 12, 2014 at 10:48 am
Comparing the backup_size and compressed_backup_size fields in msdb.dbo.backupset table should tell you how much compression, if any, took place.
Which version & edition are you running? Backup compression on standard edition...
December 12, 2014 at 10:37 am
When P is P, P also shuts down as it can't form a quorum (to help protect against a split brain scenario).
December 10, 2014 at 8:07 am
For Procs/Views/Triggers/Functions:
select * from sys.sql_modules where definition like '%xp_cmdshell%'
This runs in the context of the current database; you'll need to use sp_msforeachdb or your own loop/cursor to go through multiple...
December 9, 2014 at 2:51 am
cphite (12/5/2014)
Gazareth (12/5/2014)
select 'exec msdb.dbo.sp_update_job @job_id = ''' + cast(job_id as...
December 5, 2014 at 9:40 am
That is worrying!
Don't have any 2012 instances around to check on, so I'll resort to speculation - is the suggested index identical in the included columns, and their order too?
Cheers
December 5, 2014 at 7:19 am
Yep, it's a documented issue, fixed in SQL 2012.
http://www.sqlskills.com/blogs/paul/missing-index-dmvs-bug-that-could-cost-your-sanity/
December 5, 2014 at 5:32 am
Copying the results of this into SSMS might be quicker (category_id 100 should be Report Server - check this first!):
select 'exec msdb.dbo.sp_update_job @job_id = ''' + cast(job_id as varchar(50)) +...
December 5, 2014 at 4:38 am
Then colour me ashamed 🙂
It is one of only a handful I actually remember though!
December 5, 2014 at 2:59 am
Hi, give dateadd a whirl: http://msdn.microsoft.com/en-us/library/hcxe65wz%28v=vs.90%29.aspx
Should be something along the lines of =WeekdayName(weekday(DateAdd(DateInterval.Day, -1, fields!date.value)))
December 4, 2014 at 3:24 am
Nice question, thanks. And a good explanation of why it's not needed so much these days.
December 4, 2014 at 3:01 am
Nice one, and thanks for taking the time to post your solution 🙂
December 3, 2014 at 10:58 am
Viewing 15 posts - 241 through 255 (of 1,192 total)