<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3466052290811922937</id><updated>2011-12-15T15:54:35.232Z</updated><category term='DBCC CHECKDB'/><category term='SCOM'/><category term='SystemCenterReporting'/><category term='Central Management Server'/><category term='Backups'/><category term='SQL Agent'/><category term='Offline'/><category term='SQL 2008'/><category term='RTM'/><category term='Email'/><category term='bugs'/><category term='Replication'/><category term='BizTalk'/><category term='Credential'/><category term='Error 14274'/><category term='Error 3241'/><category term='msdb'/><category term='SQL 2005'/><category term='Configuration Manager'/><category term='SP3'/><category term='Forefront Client Security'/><category term='Full Text Search'/><category term='sp_helprotect'/><category term='3rd Party'/><category term='Rebuild Index'/><category term='xp_cmdshell'/><category term='SSMS'/><category term='duplicates'/><category term='blocking'/><category term='GUI'/><category term='Error 18456'/><category term='excel'/><category term='SERVERNAME'/><category term='Operations Manager 2007'/><category term='Raiser&apos;s Edge'/><category term='resource'/><category term='SQL 2008 R2'/><category term='Error'/><category term='.mof'/><category term='OperationsManager'/><category term='SCOM 2007 R2'/><category term='cmd'/><category term='SSIS'/><category term='scheduled tasks'/><category term='SP2'/><category term='Cluster'/><category term='dmv'/><category term='SSPI'/><category term='Logins'/><category term='Diskeeper 2010'/><category term='CRM'/><category term='Integrity Checks'/><category term='authentication'/><category term='Moving Databases'/><category term='autogrow'/><category term='Log Shipping'/><category term='autoshrink'/><category term='Restore'/><category term='Account Permissions'/><category term='SP1'/><category term='Stored Procedures'/><category term='Database Security'/><category term='Fragmentation'/><category term='Kerberos'/><category term='concurrency'/><category term='Best Practices'/><category term='tempdb'/><category term='Mirroring'/><category term='MOM 2005'/><category term='deprecated code'/><category term='NO COUNT'/><category term='Transaction Log'/><category term='OperationsManagerDW'/><category term='SQL Standard Report'/><category term='nonclustered index'/><category term='Collation'/><category term='Install'/><category term='Maintenance Job'/><category term='SQL 2000'/><category term='Error 547'/><category term='Proxy'/><category term='SSRS'/><category term='error 952'/><category term='model'/><category term='T-SQL'/><category term='osql.exe'/><category term='Policy Based Management'/><category term='distribution'/><category term='master'/><category term='Database Mail'/><title type='text'>Sweet SQL Lass</title><subtitle type='html'>As I learn more as a DBA: I may as well put it here in one place.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>57</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-3450431357417750428</id><published>2011-12-15T15:44:00.004Z</published><updated>2011-12-15T15:54:35.247Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Error'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Log Shipping'/><title type='text'>What if you've been a fool with log shipping?</title><summary type='text'>And managed to set your primary database as your secondary database, because, when you scripted out the T-SQL to create log shipping, you forgot to change server half way through... (yes, I did it twice today in a bit of a DR scenario).First, disable the Log Shipping Copy and Log Shipping Restore Jobs on the Primary Server. You won't be able to do this by right clicking on the SQL Agent job and </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/3450431357417750428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2011/12/what-if-youve-been-fool-with-log.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/3450431357417750428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/3450431357417750428'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2011/12/what-if-youve-been-fool-with-log.html' title='What if you&apos;ve been a fool with log shipping?'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-7703409391507237798</id><published>2011-11-30T14:38:00.003Z</published><updated>2011-11-30T14:46:18.319Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Collation'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><title type='text'>Collation</title><summary type='text'>Collation can be set at all different levels in SQL, from the server, down to the column level. And it's a pain when it does't match up.  Fortunately, there is a fast workaround for T-SQL queries. SELECT a.employeeid, a.name, b.employeeid, b.nameFROM employee a, employeedetails bWHERE a.employeeid = b.employeeidIf the collation on employeeid in table a does not match the collation for employeeid </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/7703409391507237798/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2011/11/collation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/7703409391507237798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/7703409391507237798'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2011/11/collation.html' title='Collation'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-8146135031777430419</id><published>2011-11-23T12:35:00.003Z</published><updated>2011-11-23T12:42:35.052Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008 R2'/><category scheme='http://www.blogger.com/atom/ns#' term='nonclustered index'/><category scheme='http://www.blogger.com/atom/ns#' term='excel'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><title type='text'>How to Estimate the size of a Nonclustered Index</title><summary type='text'>Microsoft have a very long list of equations to work out, including the use of logarithms.So I put it into a spreadsheet.The spreadsheet only deals with non-unique non-clustered indexes at the moment, because that's what I was trying to work out. It should be reasonably simple - plug in the numbers in the cells adjacent to the bold text, make sure that you're calculating the correct number of </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/8146135031777430419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2011/11/how-to-estimate-size-of-nonclustered.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/8146135031777430419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/8146135031777430419'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2011/11/how-to-estimate-size-of-nonclustered.html' title='How to Estimate the size of a Nonclustered Index'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-6275224739195362889</id><published>2011-10-12T10:03:00.002+01:00</published><updated>2011-10-12T10:07:54.614+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database Security'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='osql.exe'/><title type='text'>T-SQL to give domain accounts sysadmin access</title><summary type='text'>For those moments where you can only get access via osql.exe....CREATE LOGIN [Domain\UserName] FROM WINDOWS;GOEXEC master..sp_addsrvrolemember [Domain\UserName],'sysadmin'GOWhy yes. I did just lock myself out of a server accidentally this morning. Where Management Studio wasn't installed. Go figure.</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/6275224739195362889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2011/10/t-sql-to-give-domain-accounts-sysadmin.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6275224739195362889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6275224739195362889'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2011/10/t-sql-to-give-domain-accounts-sysadmin.html' title='T-SQL to give domain accounts sysadmin access'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-1248896329397083917</id><published>2011-07-19T14:43:00.002+01:00</published><updated>2011-07-19T14:59:19.937+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Error'/><category scheme='http://www.blogger.com/atom/ns#' term='3rd Party'/><category scheme='http://www.blogger.com/atom/ns#' term='SSRS'/><title type='text'>Reporting Services Errors</title><summary type='text'>Or: Why does it work on the source server, but give us errors on the client machine?An error occurred during client rendering.An error has occurred during report processing.Cannot read the next data row for the dataset ThisDataSet.For more information about this error navigate to the report server on the local server machine, or enable remote errorsBefore I got as far as enabling remote errors, I</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/1248896329397083917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2011/07/reporting-services-errors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1248896329397083917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1248896329397083917'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2011/07/reporting-services-errors.html' title='Reporting Services Errors'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-1334767870559796444</id><published>2011-06-13T15:32:00.002+01:00</published><updated>2011-06-13T15:53:08.955+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xp_cmdshell'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Agent'/><title type='text'>Execute xp_cmdshell</title><summary type='text'>Now: we don't enable xp_cmdshell lightly, as it allows a degree of control over the operating system that renders the SQL server vulnerable.  However, when we do enable it, it can only be executed by members of the sysadmin role.  Sometimes, this isn't quite what we want: we only want the account to be able to execute xp_cmdshell, not to be able to muck about with other SQL system </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/1334767870559796444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2011/06/execute-xpcmdshell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1334767870559796444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1334767870559796444'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2011/06/execute-xpcmdshell.html' title='Execute xp_cmdshell'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-6276236271712790274</id><published>2011-04-14T13:47:00.003+01:00</published><updated>2011-04-14T14:08:23.308+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='dmv'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Restore'/><category scheme='http://www.blogger.com/atom/ns#' term='Backups'/><title type='text'>How far has my backup or restore got?</title><summary type='text'>I had a backup that was hanging: eventually I ended up restarting the server. It wasn't running through the GUI of SSMS, though. It was running from a process on the server, some 3rd party software. Stopping the software didn't stop the backup - it wouldn't. It's a file operation, and these things are pretty-much unkillable within SQL. Stopping the backup was possible solely by restarting the </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/6276236271712790274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2011/04/how-far-has-my-backup-or-restore-got.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6276236271712790274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6276236271712790274'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2011/04/how-far-has-my-backup-or-restore-got.html' title='How far has my backup or restore got?'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-3043265496972996146</id><published>2011-02-09T11:34:00.006Z</published><updated>2011-02-09T11:39:29.839Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Stored Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='sp_helprotect'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><title type='text'>Code Snippet</title><summary type='text'>To execute sp_helprotect on all databases on a server, saving the results into a temporary table, and then displaying the results, including the database name. Makes use of sp_msforeachdb, an undocumented stored procedure which is very nifty for cycling through each database on a server.It took me a while to work out how to do what I wanted to do... This code is provided as-is, with no warranties</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/3043265496972996146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2011/02/code-snippet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/3043265496972996146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/3043265496972996146'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2011/02/code-snippet.html' title='Code Snippet'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-4147928798395449075</id><published>2011-01-04T13:42:00.002Z</published><updated>2011-01-04T13:46:41.235Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Logins'/><category scheme='http://www.blogger.com/atom/ns#' term='SSPI'/><title type='text'>Cannot generate SSPI context</title><summary type='text'>On receiving this error when a user connects to SQL, before you try anything: make sure that the user account is not actually locked out. Then you can go to the Microsoft KB Article, and start futzing about checking that the DNS is definitely resolving, that things are in the correct domain, that the SPN is correct, and that the SQL Server Service Account is not locked out.This suggestion is </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/4147928798395449075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2011/01/cannot-generate-sspi-context.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/4147928798395449075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/4147928798395449075'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2011/01/cannot-generate-sspi-context.html' title='Cannot generate SSPI context'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-4550206504325471297</id><published>2010-12-09T15:31:00.000Z</published><updated>2010-12-09T15:37:12.674Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Error'/><category scheme='http://www.blogger.com/atom/ns#' term='Install'/><category scheme='http://www.blogger.com/atom/ns#' term='Cluster'/><category scheme='http://www.blogger.com/atom/ns#' term='SP1'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><title type='text'>SQL 2008 Setup SP1</title><summary type='text'>If one gets the error message "The current SKU is invalid" while trying to add in another node to a SQL 2008 Cluster (and, perhaps significantly), one on which the other node(s) are running SP1, it is possible to get round this without slipstreaming.Check, in Control Panel Add/Remove Programs, that the SQL 2008 Server Setup application is installed.  If it is, back out of the node install, and </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/4550206504325471297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/12/sql-2008-setup-sp1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/4550206504325471297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/4550206504325471297'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/12/sql-2008-setup-sp1.html' title='SQL 2008 Setup SP1'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-8747282823691685206</id><published>2010-11-16T15:24:00.003Z</published><updated>2010-11-16T16:06:23.591Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSMS'/><category scheme='http://www.blogger.com/atom/ns#' term='NO COUNT'/><category scheme='http://www.blogger.com/atom/ns#' term='GUI'/><category scheme='http://www.blogger.com/atom/ns#' term='concurrency'/><title type='text'>About concurrency....</title><summary type='text'>Twice, in the last week, concurrency issues have jumped up to bite me.The first time round, the server had 'NO COUNT' set to on.  This confused the .Net software, which couldn't tell if any rows had actually changed before it updated the table: LINQ to SQL uses @@ROWCOUNT after updates to issue an optimistic automated concurrency check.  If 'NO COUNT' is on, the @@ROWCOUNT value is always zero, </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/8747282823691685206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/11/about-concurrency.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/8747282823691685206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/8747282823691685206'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/11/about-concurrency.html' title='About concurrency....'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-7486558823414033045</id><published>2010-10-19T16:42:00.003+01:00</published><updated>2010-10-19T17:17:10.813+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Email'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Database Mail'/><category scheme='http://www.blogger.com/atom/ns#' term='SSRS'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Standard Report'/><title type='text'>Database Mail and Reporting Services: a high level how to</title><summary type='text'>Preparation:Set up SMTP Mail account, ensuring that the SQL Server's IP Address is whitelisted against the internal relay if required (this allows emails to be sent internally).Ensure AWE addressing is enabled.SP_CONFIGURE 'show advanced', 1GORECONFIGUREGOSP_CONFIGUREGOSP_CONFIGURE 'awe enabled', 1GOSP_CONFIGURE 'show advanced', 0GORECONFIGUREGOIf necessary, follow the instructions to enable the </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/7486558823414033045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/10/database-mail-and-reporting-services.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/7486558823414033045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/7486558823414033045'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/10/database-mail-and-reporting-services.html' title='Database Mail and Reporting Services: a high level how to'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-8694390493077773024</id><published>2010-09-13T11:57:00.002+01:00</published><updated>2010-09-13T12:25:04.520+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBCC CHECKDB'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='CRM'/><category scheme='http://www.blogger.com/atom/ns#' term='blocking'/><title type='text'>Self-Blocking SPIDs</title><summary type='text'>My nightly DBCC CheckDB job is failing on the CRM Server, when it checks the MSCRM database. It fails because the SPID is blocking itself: and there's no point in trying to kill the SPID, because that just hangs. The self-blocking SPID also blocks everything else, rendering it almost impossible to stop the Scheduled Job via SSMS, as SQL Agent doesn't load. The self-blocking SPID also renders it </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/8694390493077773024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/09/self-blocking-spids.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/8694390493077773024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/8694390493077773024'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/09/self-blocking-spids.html' title='Self-Blocking SPIDs'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-754544904617725867</id><published>2010-08-19T15:50:00.002+01:00</published><updated>2010-08-19T15:53:47.391+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Rebuild Index'/><category scheme='http://www.blogger.com/atom/ns#' term='SystemCenterReporting'/><title type='text'>SystemCenterReporting Reindex Script</title><summary type='text'>Can be found here. It was referred to here and here, however, the links within those pages are no longer extant. You'll have to register, and I give no warranty as to how workable this is: however, it's taken me half an hour to find the scdw_reindex1.zip or the scdw_reindex.zip file, so I thought I'd link.</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/754544904617725867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/08/systemcenterreporting-reindex-script.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/754544904617725867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/754544904617725867'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/08/systemcenterreporting-reindex-script.html' title='SystemCenterReporting Reindex Script'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-8271311205853223439</id><published>2010-07-19T15:38:00.003+01:00</published><updated>2010-07-19T15:49:15.572+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Error'/><category scheme='http://www.blogger.com/atom/ns#' term='BizTalk'/><category scheme='http://www.blogger.com/atom/ns#' term='Logins'/><category scheme='http://www.blogger.com/atom/ns#' term='Error 18456'/><title type='text'>State 38</title><summary type='text'>Error: 18456, Severity: 14, State: 38.MessageLogin failed for user 'Domain\Username'. Reason: Failed to open the explicitly specified database. [CLIENT: xxx.xxx.xxx.xxx]And the Application Event log detail generally shows something like:In Bytes0000: 17 48 00 00 0E 00 00 00   .H......0008: 1G 00 00 00 55 00 B9 00   ....S.E.0010: 4F 00 43 00 54 00 4F 00   R.V.E.R.0018: 66 00 51 00 4C 00 54 00   </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/8271311205853223439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/07/state-38.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/8271311205853223439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/8271311205853223439'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/07/state-38.html' title='State 38'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-6282861178436713893</id><published>2010-07-19T14:27:00.002+01:00</published><updated>2010-07-19T14:37:47.652+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='error 952'/><category scheme='http://www.blogger.com/atom/ns#' term='Error'/><category scheme='http://www.blogger.com/atom/ns#' term='Offline'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><title type='text'>"I can't take this database offline!"</title><summary type='text'>An anguished cry, which I have heard twice today. The problem is, if you try to take a database offline, it will not actually complete until the current transaction has ended (or been forcibly killed), as there is a lock on the database. Killing a transaction is a bit untidy. As we find here "The ALTER DATABASE statement waits indefinitely if there is any lock on the database."   One generally </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/6282861178436713893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/07/i-cant-take-this-database-offline.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6282861178436713893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6282861178436713893'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/07/i-cant-take-this-database-offline.html' title='&quot;I can&apos;t take this database offline!&quot;'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-6974106154862716328</id><published>2010-07-06T12:06:00.002+01:00</published><updated>2010-07-06T12:16:23.773+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Configuration Manager'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Cluster'/><category scheme='http://www.blogger.com/atom/ns#' term='SP1'/><category scheme='http://www.blogger.com/atom/ns#' term='cmd'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='.mof'/><title type='text'>SQL Configuration Manager Suddenly Unavailable</title><summary type='text'>Last night, I installed SP1 onto a SQL 2008 Cluster. This morning, looking at another issue, I decided to mosey into the Configuration Manager, in order to double check which Ports SQL was operating on.Imagine my horror when I got the following error, regardless of the account I used to try and open the tool:"Cannot connect to WMI provider. You do not have permission or the server is unreachable.</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/6974106154862716328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/07/sql-configuration-manager-suddenly.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6974106154862716328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6974106154862716328'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/07/sql-configuration-manager-suddenly.html' title='SQL Configuration Manager Suddenly Unavailable'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-2739445991913173394</id><published>2010-06-23T13:58:00.002+01:00</published><updated>2010-06-23T14:00:56.809+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Best Practices'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><title type='text'>Oooh!  Squee!  New Tool</title><summary type='text'>Microsoft® SQL Server® 2008 R2 Best Practices Analyzer.Tells you what could be improved in your installation, and how to go about itGathers information about a Server and a Microsoft SQL Server 2008 or 2008 R2 instance installed on that Server Determines if the configurations are set according to the recommended best practices Reports on all configurations, indicating settings that differ from </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/2739445991913173394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/06/oooh-squee-new-tool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/2739445991913173394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/2739445991913173394'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/06/oooh-squee-new-tool.html' title='Oooh!  Squee!  New Tool'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-6634554771752652602</id><published>2010-06-23T11:10:00.000+01:00</published><updated>2010-06-23T12:31:20.769+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OperationsManager'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM 2007 R2'/><category scheme='http://www.blogger.com/atom/ns#' term='SSRS'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Moving Databases'/><category scheme='http://www.blogger.com/atom/ns#' term='OperationsManagerDW'/><title type='text'>More Fun And Games with SCOM</title><summary type='text'>For various reasons, chief among them the requirement for a more scalable deployment and the fact that the SCOM Server was "really starting to struggle" according to our Chief System Support Analyst (and, he should know: he's the one that's using the server all the time), we decided to shift the OperationsManager database, the OperationsManagerDW database and the ReportingServer databases onto a </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/6634554771752652602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/06/more-fun-and-games-with-scom.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6634554771752652602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6634554771752652602'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/06/more-fun-and-games-with-scom.html' title='More Fun And Games with SCOM'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-4286906886619812408</id><published>2010-05-26T16:19:00.004+01:00</published><updated>2010-05-26T16:40:20.351+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSMS'/><category scheme='http://www.blogger.com/atom/ns#' term='cmd'/><category scheme='http://www.blogger.com/atom/ns#' term='3rd Party'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='osql.exe'/><title type='text'>OSQL -E</title><summary type='text'>Sometimes, you get a black-box installation by a third party supplier: and, when you politely enquire as to whether you can install SSMS on the server so that you can pull out pertinent information for your SQL Estate Audit (because, naturally, the installation on the server is such that you cannot connect remotely: you just know that the server is there), the answer is no.  Grrr.But not the end </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/4286906886619812408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/05/osql-e.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/4286906886619812408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/4286906886619812408'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/05/osql-e.html' title='OSQL -E'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-4517434863452614593</id><published>2010-05-12T13:06:00.002+01:00</published><updated>2010-05-12T13:24:07.367+01:00</updated><title type='text'>experts-exchange.com</title><summary type='text'>Have you ever tried scrolling right the way down to the bottom of the page when Google has pointed you at a potential solution?Go on.  Past all the random grey boxes.Useful, eh?If you're navigating round the site itself, this scrolling doesn't work: but if you take the URL of the discussion you're looking at and stick that into Google (or Bing, or whatever) and then click back through from there,</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/4517434863452614593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/05/experts-exchangecom.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/4517434863452614593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/4517434863452614593'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/05/experts-exchangecom.html' title='experts-exchange.com'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-8361561388985176909</id><published>2010-04-23T09:36:00.004+01:00</published><updated>2010-04-23T10:23:23.944+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mirroring'/><category scheme='http://www.blogger.com/atom/ns#' term='Stored Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Account Permissions'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><title type='text'>How to transfer logins and passwords</title><summary type='text'>A couple of years ago, when I was a very junior DBA, we upgraded our main database (and everything else on the server), which contained all the information about everything at the University that employed me at the time, (students, faculty, staff, courses: you name it, it was in there) from SQL 2000 to SQL 2005, moving it across servers at the same time. This database was used by many members of </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/8361561388985176909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/04/how-to-transfer-logins-and-passwords.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/8361561388985176909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/8361561388985176909'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/04/how-to-transfer-logins-and-passwords.html' title='How to transfer logins and passwords'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-1650649006447922758</id><published>2010-04-16T14:07:00.003+01:00</published><updated>2010-04-16T14:19:13.499+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Kerberos'/><category scheme='http://www.blogger.com/atom/ns#' term='authentication'/><title type='text'>Nothing to do with SQL</title><summary type='text'>For months, now, I have been unable to navigate to the software server from my PC: every time, I'd get a login box, and then an account locked error.  Bizarrely, I can RDP to the server just fine, and navigate to the various folders on it if I'm on any other machine.  Just not from my PCIn the event viewer on my PC, I found Event 14 (Kerberos)"There were password errors using the Credential </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/1650649006447922758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/04/nothing-to-do-with-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1650649006447922758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1650649006447922758'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/04/nothing-to-do-with-sql.html' title='Nothing to do with SQL'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-9114650437406134702</id><published>2010-04-06T12:00:00.003+01:00</published><updated>2010-04-06T12:04:05.700+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='autoshrink'/><category scheme='http://www.blogger.com/atom/ns#' term='3rd Party'/><category scheme='http://www.blogger.com/atom/ns#' term='autogrow'/><title type='text'>And, now it makes sense...</title><summary type='text'>I had another email from Lightspeed, in response to my request to know why my databases were shrinking even though autoshrink = false, and this got to the root of the matter.Previous versions of Total Traffic Control could be run on SQL Express, which has a 4GB database size limit: so, TTC has a subroutine that automatically shrinks databases, in order to get round this issue.Now, however, they </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/9114650437406134702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/04/and-now-it-makes-sense.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/9114650437406134702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/9114650437406134702'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/04/and-now-it-makes-sense.html' title='And, now it makes sense...'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-1389884142183806971</id><published>2010-03-31T16:34:00.003+01:00</published><updated>2010-03-31T16:42:28.169+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='autoshrink'/><category scheme='http://www.blogger.com/atom/ns#' term='3rd Party'/><category scheme='http://www.blogger.com/atom/ns#' term='autogrow'/><title type='text'>A response from Lightspeed</title><summary type='text'>Remember this post? Well, I emailed Lightspeed. Their response?"By default, the database is set to autogrow and autoshrink to save space."In the last week, I have had the following.Initial size 5430MBManually grown database to 8000MBAutogrow to 8800MBAutoshrink to 5430MBAutogrow to 5900MBThere is plenty of space on the drive on which the database files reside (C:\, because Lightspeed recommend </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/1389884142183806971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/03/response-from-lightspeed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1389884142183806971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1389884142183806971'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/03/response-from-lightspeed.html' title='A response from Lightspeed'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-134941179272990660</id><published>2010-03-26T10:05:00.001Z</published><updated>2010-03-26T10:06:37.982Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><title type='text'>Just because</title><summary type='text'>Just because you can use spaces, and inverted commas, and all sorts of other rubbish in your tablenames, doesn't mean that you should.</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/134941179272990660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/03/just-because.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/134941179272990660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/134941179272990660'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/03/just-because.html' title='Just because'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-1203003684455482023</id><published>2010-03-02T15:02:00.004Z</published><updated>2010-03-02T15:16:56.298Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Credential'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Proxy'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Agent'/><title type='text'>Credentials, Proxies, and SSIS SQL Agent Jobs</title><summary type='text'>What I want to do:Give one user access to see and execute one SSIS package as a SQL Agent Job, but none of the rest. Although the package exports data from one database on Server A to a new database on Server B, this does not count as a multi-server job in SQL terms. I've assumed that the package itself has been created and works as a SQL Agent Job under a sysadmin login, but I don't want to give</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/1203003684455482023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/03/credentials-proxies-and-ssis-sql-agent_02.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1203003684455482023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1203003684455482023'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/03/credentials-proxies-and-ssis-sql-agent_02.html' title='Credentials, Proxies, and SSIS SQL Agent Jobs'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_16v4nYsWC7g/S40rDcIx2lI/AAAAAAAAAEA/15uS4ydrHcU/s72-c/SSISCredential.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-5861678963568023715</id><published>2010-02-17T12:10:00.000Z</published><updated>2010-02-17T12:37:56.427Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Full Text Search'/><category scheme='http://www.blogger.com/atom/ns#' term='SP1'/><category scheme='http://www.blogger.com/atom/ns#' term='Account Permissions'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><title type='text'>But what if the FTS won't?</title><summary type='text'>When building a Full Text Search Catalog and Index, it is a Good Idea to check that the search works properly at the end of it, by using something along the following lines:SELECT *FROM tablenameWHERE Freetext (COLUMN, 'some text')Now, I knew the create script worked, as I'd used it to create my Very First Full Text Catalog and Index only a week ago. I knew the select would work, because, again, </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/5861678963568023715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/02/but-what-if-fts-wont.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/5861678963568023715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/5861678963568023715'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/02/but-what-if-fts-wont.html' title='But what if the FTS won&apos;t?'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-5631827252590862410</id><published>2010-02-15T10:55:00.000Z</published><updated>2010-02-15T11:11:35.088Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='autoshrink'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='autogrow'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Standard Report'/><title type='text'>When the autoshrink/autogrow won't show in SQL Reports</title><summary type='text'>...Try the script below, from this discussion on MSDN. It worked beautifully for me when it turned out that there were well over a million rows of autogrow/autoshrink data, and thus the autogrow/autoshrink data from SQL 2008's built in reports wasn't going to show correctly.I then changed the data file size, so that the thing grew in one BIG chunk, gave it lots of elbow room for more data to fill</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/5631827252590862410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/02/when-autoshrinkautogrow-wont-show-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/5631827252590862410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/5631827252590862410'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/02/when-autoshrinkautogrow-wont-show-in.html' title='When the autoshrink/autogrow won&apos;t show in SQL Reports'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-2438940259125544199</id><published>2010-02-11T10:28:00.001Z</published><updated>2010-02-11T15:24:52.667Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fragmentation'/><category scheme='http://www.blogger.com/atom/ns#' term='Central Management Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Transaction Log'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Policy Based Management'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><title type='text'>Taking it futher</title><summary type='text'>The awesome SQLRockStar came out with a nifty tip about fragmented Virtual Log Files. SQL has this tendency to split the transaction log file out into different chunks. It might be physically contiguous, but, logically, it is fragmented, and this affects performance.The tip teaches us how to use Policy Based Management in SQL 2008 to work out which databases have extensive Virtual Log File </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/2438940259125544199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/02/taking-it-futher.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/2438940259125544199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/2438940259125544199'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/02/taking-it-futher.html' title='Taking it futher'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_16v4nYsWC7g/S3Peb90dcqI/AAAAAAAAACQ/Gl2deO3FFVg/s72-c/centralmanagementserver.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-8788361378424089887</id><published>2010-02-05T10:54:00.000Z</published><updated>2010-02-05T10:57:12.335Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='duplicates'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><title type='text'>Scrap of SQL</title><summary type='text'>How to identify duplicates in a table....SELECT email,Count(email) AS numoccurrencesFROM usersGROUP BY emailHAVING (Count(email) &gt; 1)Of course, what to do with all those duplicates is up to you!</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/8788361378424089887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/02/scrap-of-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/8788361378424089887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/8788361378424089887'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/02/scrap-of-sql.html' title='Scrap of SQL'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-1356245685895475743</id><published>2010-02-01T14:56:00.000Z</published><updated>2010-02-01T15:53:07.073Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='autoshrink'/><category scheme='http://www.blogger.com/atom/ns#' term='3rd Party'/><category scheme='http://www.blogger.com/atom/ns#' term='autogrow'/><title type='text'>3rd Party Software Again...</title><summary type='text'>This time, Lightspeed System's TTC seems to be the culprit.  It has a nifty little system that sets autoshrink = true for all its databases, and then it gets terribly upset if the database file fills up.  Of course, if it wasn't autoshrinking, then it wouldn't need to autogrow, and it wouldn't get its knickers in a twist because it couldn't autogrow on the terms of SQL's default, which is an </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/1356245685895475743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/02/3rd-party-software-again.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1356245685895475743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1356245685895475743'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/02/3rd-party-software-again.html' title='3rd Party Software Again...'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-6482538214451421177</id><published>2010-01-21T12:48:00.001Z</published><updated>2010-01-21T12:50:25.685Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Error 3241'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='Restore'/><title type='text'>Error Number: 3241 Severity: 16 state: 73</title><summary type='text'>When performing a restore from a SQL 2005 .bak file to a SQL 2000 Server, the above is likely to happen.Another hint that things aren't going to work is the "Name" field being filled with the value *** INCOMPLETE ***.*head*desk*</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/6482538214451421177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/01/error-number-3241-severity-16-state-73.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6482538214451421177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6482538214451421177'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/01/error-number-3241-severity-16-state-73.html' title='Error Number: 3241 Severity: 16 state: 73'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-2534213575425468020</id><published>2010-01-20T11:10:00.000Z</published><updated>2010-01-20T11:46:53.942Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='RTM'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Agent'/><title type='text'>SSIS Package fails from SQL Agent</title><summary type='text'>I've been configuring a test version of one of our Virtual Servers, which was created by cloning the 'Live' server using VMWare. I managed to negotiate round the @@Servername issue , and made sure to rename the databases so that we were quite clear that we were on the test server. It took a couple of days, and the addition of the new server into the SSIS package which checks for failed jobs, </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/2534213575425468020/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/01/ssis-package-fails-from-sql-agent.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/2534213575425468020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/2534213575425468020'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/01/ssis-package-fails-from-sql-agent.html' title='SSIS Package fails from SQL Agent'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_16v4nYsWC7g/S1boAC38k8I/AAAAAAAAAB4/fFy-8yLxMDY/s72-c/error1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-7487713018282344149</id><published>2010-01-18T14:32:00.000Z</published><updated>2010-01-18T14:43:32.467Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Error'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Standard Report'/><title type='text'>Index (zero based) must be greater than or equal to zero and less than the size of the argument list.</title><summary type='text'>So, having decided to use the built-in Standard Reports on SQL 2005 to check how one of my databases had been auto-growing and shrinking, as the free space looked a little suspect (as did the fact that the database had shrunk between Friday morning and Monday morning for no apparent reason other than a reindex...), I got the error in the title:Index (zero based) must be greater than or equal to </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/7487713018282344149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/01/index-zero-based-must-be-greater-than.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/7487713018282344149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/7487713018282344149'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/01/index-zero-based-must-be-greater-than.html' title='Index (zero based) must be greater than or equal to zero and less than the size of the argument list.'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-4635922127298719245</id><published>2010-01-08T09:49:00.000Z</published><updated>2010-01-08T10:05:52.791Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Raiser&apos;s Edge'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='3rd Party'/><category scheme='http://www.blogger.com/atom/ns#' term='Backups'/><title type='text'>Sometimes, it ought to be obvious....</title><summary type='text'>Over the Christmas break, we moved our Raiser's Edge database files, so they weren't sitting on the c:\ drive (where they installed as default), but on the data drive for that server.  One of my colleagues used the BlackBaud Manager for the system, rather than me doing anything clever in the back end. At which point, the backup job, created via BlackBaud, failed.First it failed owing to </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/4635922127298719245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/01/sometimes-it-ought-to-be-obvious.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/4635922127298719245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/4635922127298719245'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/01/sometimes-it-ought-to-be-obvious.html' title='Sometimes, it ought to be obvious....'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-3107893939261684388</id><published>2010-01-05T09:44:00.001Z</published><updated>2010-01-21T12:56:21.820Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBCC CHECKDB'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Diskeeper 2010'/><title type='text'>Beware Third Party Software: it can do odd things</title><summary type='text'>DBCC CHECKDB on (naturally) the largest database we have, the one which supports the mainwebsite and all the forums, failed.... PANIC! PANIC!DBCC results for 'MyDB'.Msg 8966, Level 16, State 2, Line 1Unable to read and latch page (1:576726) with latch type SH. 38(failed to retrieve text for this error. Reason: 15105) failed.CHECKDB found 0 allocation errors and 1 consistency errors not associated</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/3107893939261684388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/01/beware-third-party-software-it-can-do.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/3107893939261684388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/3107893939261684388'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/01/beware-third-party-software-it-can-do.html' title='Beware Third Party Software: it can do odd things'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-2177067561385111463</id><published>2010-01-04T11:18:00.001Z</published><updated>2010-01-04T11:25:40.741Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Full Text Search'/><category scheme='http://www.blogger.com/atom/ns#' term='Rebuild Index'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><title type='text'>sp_fulltext_catalog</title><summary type='text'>And a happy new year to you. Mine started like this (among other issues), with an error for an hourly rebuild index job.USE [thisdatabase]EXEC sp_fulltext_catalogN'this_database_index' ,N'start_full'Gave this resultExecuted as user: Machinename\SQLAdmin. Execution of a full-text operation failed. The Gatherer is shutting down. [SQLSTATE 42000] (Error 7619).  The step failed.The Gatherer? You what</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/2177067561385111463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2010/01/spfulltextcatalog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/2177067561385111463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/2177067561385111463'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2010/01/spfulltextcatalog.html' title='sp_fulltext_catalog'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-6968045834756460135</id><published>2009-12-15T17:15:00.000Z</published><updated>2009-12-15T17:21:45.056Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='deprecated code'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><title type='text'>Nifty...</title><summary type='text'>The Midnight DBA has posted something rather nifty that can be found in SQL Profiler.  There is the option, using sp_trace_setevent, to check for deprecated code - code that just won't work in future versions of SQL.  Her explanation is rather more coherent than mine, I suspect she wasn't quite as excited.I wish I had known about this one before I started migrating databases from SQL 2000 to SQL </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/6968045834756460135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/12/nifty.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6968045834756460135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6968045834756460135'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/12/nifty.html' title='Nifty...'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-3116220170607284479</id><published>2009-12-15T17:01:00.000Z</published><updated>2009-12-15T17:15:39.937Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='bugs'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><title type='text'>So I reported a bug...</title><summary type='text'>And they got back to me! Hurrah!Alas, I was out of office the entire time they were trying to get back to me, didn't have a watch on the bug.... and Microsoft concluded that I was no longer having issues, so closed it.I shall try to get them to re-open this one.  I know I am not the only one with the problem, but I do seem to be the only one who has reported it.... It's 507494, (if that link </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/3116220170607284479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/12/so-i-reported-bug.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/3116220170607284479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/3116220170607284479'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/12/so-i-reported-bug.html' title='So I reported a bug...'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-6140614129699511838</id><published>2009-11-02T11:05:00.000Z</published><updated>2009-11-02T11:11:48.628Z</updated><title type='text'>How to report a SQL Bug</title><summary type='text'>1. Set up a Connect Account, using your Windows Live ID Passport (note, I find it more helpful to set these up using a personal email account, rather than a work account which won't migrate jobs with you.  It is possible to change email accounts within Live, but it is a complete and utter pain).  Join the SQL Server Connect group.2. Visit the general feedback page and 'search this connection for'</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/6140614129699511838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/11/how-to-report-sql-bug.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6140614129699511838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6140614129699511838'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/11/how-to-report-sql-bug.html' title='How to report a SQL Bug'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-2268228749035097531</id><published>2009-10-30T10:33:00.000Z</published><updated>2009-10-30T10:34:37.533Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Stored Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><title type='text'>Change DB Owner</title><summary type='text'>USE   DatabaseEXEC sp_changedbowner 'NewOwner'</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/2268228749035097531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/10/change-db-owner.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/2268228749035097531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/2268228749035097531'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/10/change-db-owner.html' title='Change DB Owner'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-742354306296731919</id><published>2009-10-28T13:56:00.000Z</published><updated>2009-10-28T15:06:29.640Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Replication'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><title type='text'>Things to remember when setting up replication</title><summary type='text'>Set up replication domain accounts for publisher and subscriber before you begin.Make sure that these accounts have access to the serversMake sure that the snapshot folder is on the correct server, in the correct place. If you get this wrong, right click on 'Replication --&gt;Distributor Properties --&gt; the button with the ellipsis (...)next to the publisher in question'. However when I tried this, </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/742354306296731919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/10/things-to-remember-when-setting-up.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/742354306296731919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/742354306296731919'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/10/things-to-remember-when-setting-up.html' title='Things to remember when setting up replication'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-6667766204743246976</id><published>2009-10-28T09:53:00.000Z</published><updated>2009-10-28T09:57:41.224Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='SP1'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><title type='text'>Why service packs are a Good Idea</title><summary type='text'>"The job failed.  Unable to determine if the owner (Domain\Administrator) of job IpmsaPolicyLogMaintenance has server access (reason: Violation of PRIMARY KEY constraint 'PK__syscachedcredent__0AD2A005'. Cannot insert duplicate key in object 'syscachedcredentials'. [SQLSTATE 23000] (Error 2627)  The statement has been terminated. [SQLSTATE 01000] (Error 3621))."The quick &amp; dirty fix?  Set it to </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/6667766204743246976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/10/why-service-packs-are-good-idea.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6667766204743246976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6667766204743246976'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/10/why-service-packs-are-good-idea.html' title='Why service packs are a Good Idea'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-1768615629957450978</id><published>2009-10-23T11:09:00.000+01:00</published><updated>2009-10-23T11:34:11.643+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Error 14274'/><category scheme='http://www.blogger.com/atom/ns#' term='Error'/><category scheme='http://www.blogger.com/atom/ns#' term='SERVERNAME'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SP3'/><category scheme='http://www.blogger.com/atom/ns#' term='Error 547'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><title type='text'>This morning, I 'ave been mostly deleting old SQL Agent Jobs</title><summary type='text'>And these have been those annoying jobs that are, apparently, undeletable and unwanted maintenance jobs.Job #1A rather ancient backup job, or, rather, the remnants thereof, sitting in SQL 2005 Agent but with no maintenance plan behind it, no subplan schedule within it, and generally going 'Ha Ha' in a manner eerily reminiscent of Nelson Muntz.  Assuming that the following error message can be </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/1768615629957450978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/10/this-morning-i-ave-been-mostly-deleting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1768615629957450978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1768615629957450978'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/10/this-morning-i-ave-been-mostly-deleting.html' title='This morning, I &apos;ave been mostly deleting old SQL Agent Jobs'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-2977559919243614222</id><published>2009-10-19T14:49:00.000+01:00</published><updated>2009-10-19T15:14:29.361+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forefront Client Security'/><category scheme='http://www.blogger.com/atom/ns#' term='SystemCenterReporting'/><category scheme='http://www.blogger.com/atom/ns#' term='MOM 2005'/><title type='text'>MOM 2005 Database Sizes</title><summary type='text'>Those of use with MOM 2005 (Microsoft Operations Manager) and Forefront Client Security have faced the problem of large databases (why yes, you do need sunglasses for that page).The SystemCenterReporting Database needs to be really rather large: this nifty graph is my best effort involving Excel and the data given on the Technet Forefront Client Security Blog.  The Y-axis is space required in GB,</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/2977559919243614222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/10/mom-2005-database-sizes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/2977559919243614222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/2977559919243614222'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/10/mom-2005-database-sizes.html' title='MOM 2005 Database Sizes'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_16v4nYsWC7g/StxwJsD3scI/AAAAAAAAAAM/SpZ3QaEJKcA/s72-c/SCR.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-4300168301271156848</id><published>2009-10-14T16:06:00.000+01:00</published><updated>2009-10-14T16:22:28.167+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BizTalk'/><title type='text'>Another BizTalk Deletion...</title><summary type='text'>From the Database Structure and Jobs page:WarningIn the BizTalk Management (BizTalkMgmtDb) database, there's a stored procedure named dbo.adm_cleanupmgmtdb. DO NOT RUN THIS STORED PROCEDURE! If you do run this stored procedure, all the entries in the database will be deleted.Why, I wonder, this obsession with deleting the entire contents of a database?All this, plus talk of the fact that BizTalk </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/4300168301271156848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/10/another-biztalk-deletion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/4300168301271156848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/4300168301271156848'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/10/another-biztalk-deletion.html' title='Another BizTalk Deletion...'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-6243024144044738792</id><published>2009-10-13T17:01:00.000+01:00</published><updated>2009-10-13T17:04:21.270+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BizTalk'/><title type='text'>BizTalk</title><summary type='text'>We've got BizTalk now, and I'm still getting to grips with it.  However, I came across this little gem on the Best Practices page."Delete all the dataIf the databases are too large and if the preferred method is to delete all data, you can delete the data.Caution Do not use this method in any environment where the data is business critical or if the data is needed. "You don't say....(more on </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/6243024144044738792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/10/biztalk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6243024144044738792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/6243024144044738792'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/10/biztalk.html' title='BizTalk'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-628712816825143175</id><published>2009-09-25T11:42:00.001+01:00</published><updated>2009-09-25T12:01:36.160+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SERVERNAME'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><title type='text'>Servernames</title><summary type='text'>@@SERVERNAME.  Sometimes, it isn't the same as the actual server's name. @@Servername is incorrect, it's wrong, it doesn't match. Argh!! It's easy enough to map though:SELECT @@SERVERNAME AS[@@SERVERNAME],CAST(SERVERPROPERTY('MACHINENAME') AS VARCHAR(128)) + COALESCE('' +CAST(SERVERPROPERTY('INSTANCENAME') AS VARCHAR(128)), '') As RealInstanceNameThe problem arises, when someone decides to rename</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/628712816825143175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/09/servernames.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/628712816825143175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/628712816825143175'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/09/servernames.html' title='Servernames'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-1757321123361604715</id><published>2009-09-14T14:51:00.001+01:00</published><updated>2009-09-14T14:59:54.974+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSMS'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><title type='text'>It's the little things</title><summary type='text'>Me, I like to faff about with my resultsets in Excel. This probably makes me incredibly old fashioned, and I'm sure various of my friends would call me a flat-earther.  Tant pis.However, I got all overexcited just now.  Instead of highlighting the resultset, copying it using ctrl+c and pasting it into the spreadsheet at row #2, and then swearing greatly while I transferred the column names </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/1757321123361604715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/09/its-little-things.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1757321123361604715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1757321123361604715'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/09/its-little-things.html' title='It&apos;s the little things'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-1093334103459397422</id><published>2009-09-02T09:49:00.000+01:00</published><updated>2009-09-02T09:55:34.293+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scheduled tasks'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><title type='text'>syspolicy_purge_history failed on the cluster</title><summary type='text'>This one is apparently a bug.  It's a job that SQL creates when it installs SQL 2008, and it will perpetually error on the "Erase Phantom System Health Records" step, owing to the fact that it will insist on calling the method on the node name, rather than on the virtual servernameviz"MessageExecuted as user: Domain\AgentServiceAccount. A job step received an error at line 1 in a PowerShell </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/1093334103459397422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/09/syspolicypurgehistory-failed-on-cluster.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1093334103459397422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1093334103459397422'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/09/syspolicypurgehistory-failed-on-cluster.html' title='syspolicy_purge_history failed on the cluster'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-4681280831971566998</id><published>2009-08-18T10:18:00.000+01:00</published><updated>2009-08-18T10:21:24.594+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Error'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Rebuild Index'/><title type='text'>Rebuild Index Failed</title><summary type='text'>"failed with the following error: "Online index operations can only be performed in Enterprise edition of SQL Server.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly."Or, perhaps, the failure reason is that the SQL Server in question is Standard Edition, and that's pretty much it?</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/4681280831971566998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/08/rebuild-index-failed.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/4681280831971566998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/4681280831971566998'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/08/rebuild-index-failed.html' title='Rebuild Index Failed'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-991454844829030361</id><published>2009-08-13T10:09:00.001+01:00</published><updated>2009-08-13T10:14:33.717+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Error'/><category scheme='http://www.blogger.com/atom/ns#' term='cmd'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='osql.exe'/><title type='text'>OSQL sort of isn't...</title><summary type='text'>'OSQL' is not recognized as an internal or external command, operableprogram or batch file.Oh.  But it's where it should be!  C:\Program Files\Microsoft SQL Server\80\Tools\Binn (not my installation).Within CMD, you can type 'set path' to check the variables in the default path.  If the actual location of osql.exe isn't in there (or, rather, its parent folder - and it should be there, because SQL</summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/991454844829030361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/08/osql-sort-of-isnt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/991454844829030361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/991454844829030361'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/08/osql-sort-of-isnt.html' title='OSQL sort of isn&apos;t...'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-7058277897945237128</id><published>2009-08-11T16:50:00.001+01:00</published><updated>2009-08-11T17:04:40.570+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='master'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='tempdb'/><category scheme='http://www.blogger.com/atom/ns#' term='distribution'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='msdb'/><category scheme='http://www.blogger.com/atom/ns#' term='model'/><category scheme='http://www.blogger.com/atom/ns#' term='resource'/><title type='text'>Because I am a doofus</title><summary type='text'>And, because, primarily, this is my repository of Useful SQL Information.MasterContains serverwide information about SQLloginslinked server infoconfiguration infoinfo about user databases - locations of db files, key properties etcVital: SQL cannot start without it.ResourceAKA mssqlsystemreources.mdf in the file system.  Rather completely invisible in SSMS.  Contains all the system objects </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/7058277897945237128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/08/because-i-am-doofus.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/7058277897945237128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/7058277897945237128'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/08/because-i-am-doofus.html' title='Because I am a doofus'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-1097479179593267515</id><published>2009-07-27T16:29:00.000+01:00</published><updated>2009-07-27T16:35:00.875+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Maintenance Job'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SP2'/><category scheme='http://www.blogger.com/atom/ns#' term='RTM'/><title type='text'>SPFun</title><summary type='text'>Or what I learned about Service Packs.A SQL Maintenance Plan job had been running fine on my SQL 2005 RTM machine for months: until I joined the company, and made the mistake of having a look at it and doing some tidying.  Next thing I know?"Unable to start execution of step 1 (reason: line(1): Syntax error).  The step failed."."But, but, but, but!" I cried "I've just stopped it faffing about </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/1097479179593267515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/07/spfun.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1097479179593267515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/1097479179593267515'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/07/spfun.html' title='SPFun'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-3857232556181025761</id><published>2009-07-17T09:32:00.000+01:00</published><updated>2009-07-17T10:27:12.231+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Integrity Checks'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><title type='text'>SQL Integrity Checks</title><summary type='text'>The job failed "Integrity Checks Job for DB Maintenance Plan 'DB Maintenance Plan1' sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029).  The step failed." That's the job history.  The history against the Maintenance plan (I only learned about this more detailed history last week, and I think it's fab), said "[Microsoft][ODBC SQL Server Driver][SQL Server]Repair statement not processed. Database </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/3857232556181025761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/07/sql-integrity-checks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/3857232556181025761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/3857232556181025761'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/07/sql-integrity-checks.html' title='SQL Integrity Checks'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3466052290811922937.post-7710074739220862900</id><published>2009-07-14T14:43:00.001+01:00</published><updated>2010-06-15T15:34:59.493+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Operations Manager 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><title type='text'>Fun and Games with SCOM</title><summary type='text'>Trying to find out what the recommended database size for Operations Manager 2007 should be is a headache....Picture this. The boss mentions that you might just want to check the SCOM server, because, based on the situation on the MOM server, it might just be misconfigured. 41,240 events worth of MSSQLSERVER errors in the Application Event Log misconfigured? Owing to lack of space in the </summary><link rel='replies' type='application/atom+xml' href='http://sweetsql.blogspot.com/feeds/7710074739220862900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweetsql.blogspot.com/2009/07/fun-and-games-with-scom.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/7710074739220862900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3466052290811922937/posts/default/7710074739220862900'/><link rel='alternate' type='text/html' href='http://sweetsql.blogspot.com/2009/07/fun-and-games-with-scom.html' title='Fun and Games with SCOM'/><author><name>Sweet Camden Lass</name><uri>http://www.blogger.com/profile/01983732031040847147</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_16v4nYsWC7g/Su7Azcf_lmI/AAAAAAAAAAY/9Rjbmb1fNpI/S220/weeme.bmp'/></author><thr:total>0</thr:total></entry></feed>
