Viewing 15 posts - 24,781 through 24,795 (of 59,099 total)
Sean Lange (9/6/2011)
Good point...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 12, 2014 at 11:09 am
TheSQLGuru (1/10/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 12, 2014 at 11:06 am
I agree with Grant. If you're responsible only for given databases, you should have only dbo privs as a max. I would also strongly recommend that all code...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 12, 2014 at 11:04 am
GilaMonster (1/12/2014)
Use three-part naming for your queriesSELECT <column list> FROM Sims.dbo.Students
SELECT <column list> FROM SimsCopy.dbo.Students
I agree that works great for ad hoc queries (and you already know this... just saying...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 12, 2014 at 10:54 am
Lynn Pettis (1/12/2014)
rho_pooka (1/11/2014)
Jeff Moden (1/11/2014)
Although it may seem so, I'm not being sarcastic at all when I ask you, do you know what "Books Online" is? People who...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 12, 2014 at 10:50 am
rho_pooka (1/11/2014)
Jeff Moden (1/11/2014)
Although it may seem so, I'm not being sarcastic at all when I ask you, do you know what "Books Online" is? People who ask the...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 12, 2014 at 10:42 am
Terry300577 (3/28/2013)
select distinct @@servername, a.database_name 'DB Name',
convert(decimal(7,2),round(sum(compressed_backup_size/1024/1024/1024),3)) as 'Compressed Database Size in(GB)',
convert(decimal(7,2),round(sum(compressed_backup_size/1024/1024),3)) as 'Compressed Database Size in(MB)'
from msdb..backupset a
inner join msdb..backupfile b on a.backup_set_id...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 12, 2014 at 10:22 am
suryam (1/11/2014)
The script is fine but as per performance concern we should not use any function in where condition. My script is
Convert(varchar(10),id_updt,101) >=Convert(varchar(10),getdate()-3,101)
data retrieving from trigger table ...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 12, 2014 at 10:18 am
Damian Widera-396333 (1/12/2014)
Hi, two things (in where clause)1.
select name from sys.databases where database_id not in(1,2,3,4)
should be
select name from sys.databases where database_id >4
To add to that, they could automate exclusion...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 12, 2014 at 9:56 am
This is a duplicate post. No replies on this thread, please. It just splits the answers up. Please refer to the following URL to get to the...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 12, 2014 at 9:32 am
A lot of people also forget about the "striping" that SANs do for things like RAID 5 or Raid 10. There are usually 5 sets of spindles and 5...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 12, 2014 at 9:25 am
I guess I don't understand why anyone would think this is a recent innovation. It's been known for a very long time that the best "managers" are the ones...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2014 at 4:22 pm
rho_pooka (1/11/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2014 at 4:05 pm
Michael Valentine Jones (6/21/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2014 at 2:12 pm
Aatish Patel (1/11/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2014 at 2:01 pm
Viewing 15 posts - 24,781 through 24,795 (of 59,099 total)