how to REALLY predict the next autoincrement value
Because IDENT_CURRENT returns the identity seed (rather than zero or at least null, as one might expect) in a table that has never been assigned an identity value, it is impossible to use IDENT_CURRENT...
View ArticleSOLVED
It seems to me to be a permissions problem.The error code for this is outlined on : http://technet.microsoft.com/en-us/library/8b15bccd-aeba-4c32-a436-a2e430dbe89f.aspxYour computer tries to identify...
View ArticleRE: The path for rswebparts.cab is ambiguously mentioned
Hello preetamar,Thanks for letting us know about the error in the topic regarding the path for rswebparts.cab. I've updated the topic to include the correct path to the file, for 2012 SSRS and removed...
View ArticleRE: Incorrect Item
Hello Jayaram,Thanks for letting us know about the error in the topic regarding the reference to List View. I've updated this information in the topic. The updated topic will appear in the next refresh...
View ArticleRE: Incorrect Information
Hello Jayaram,Thanks for letting us know about the error in the topic regarding the default title. I've updated this information. The updated topic will appear in the next refresh of 2012 BOL, which is...
View ArticleAttention if you are using PointEvents
It is worth pointing out that there are situations where 'Adjust' will also lead to events being dropped. From some other documentation page:"Events that violate the inserted CTI are modified if their...
View ArticleJobs stuck in BITS queue
I found many jobs related to Outlook 2007 Offline Address Book(OAB) stuck in the queue, not clearing even after restarting the BITS service. This was true even after removing Office 2007, restarting,...
View ArticleHyper-V: exporting a virtual machine that is running a domain controller
A couple times the article states "Do not use the Hyper-V Export feature to export a virtual machine that is running a domain controller." I realize this is given in the context of preventing AD...
View ArticleChange HostRecordTTL Example is Incorrect
The example above for changing the HostRecordTTL value via PowerShell contains a syntax error (no "ClusterParameter" after "Set-ClusterParameter"), and should actually be:Import-Module FailoverClusters...
View ArticleExamples code is broken.
Uses a pkg variable that is not defined. The variable for the package should be p and not pkg in the following two statements:Executable exec1 =...
View ArticleList the registry keys in the order sequence used in regedit
This would make the additions and validation review much easier than hopping around the keys to match them up against the provided list.
View ArticleSyntax error in "Restore differential backups of full-text catalog"
RESTORE DATABASE AdventureWorks FROM backup_device WITH NORECOVERY RESTORE DATABASE AdventureWorks FROM backup_device2 FILE = 'sysft_fulltext_cat'Should ReadRESTORE DATABASE AdventureWorks FROM...
View ArticleCross join?
I don't think there is any advantage to using CROSS JOIN with a WHERE clause over INNER JOIN. They both essentially have the same performance. Take a look here:...
View ArticlePermissions and SQL Agent
I prefer to use Robocopy [old drive letter] [new drive letter] /E /COPYALL /CREATEThis creates the same folder structure (and zero length files) - including all permissions and attributes as the...
View ArticleZombies and instance subscriptions
Detailed description is here:http://geekswithblogs.net/LeonidGaneline/archive/2011/02/05/biztalk-instance-subscription-details.aspx
View ArticleFound the fix to the issue above - Error During Uploading Document
I was getting the same error...So what I did is I went to the SITE ACTIONS for docs.contoso.com on CONTOSOSRV02 with local administrator credentials.- Site Actions / Site Settings / People and Groups-...
View ArticleBug in above code: TargetValuePtr could potentially be NULL causing failure.
The code above contains a potential bug. In the first time through the while loop, in the statement if (SQLGetData(hStmt, 2, SQL_C_BINARY, pPicture, 0, &pIndicators[1])the pPicture variable, used...
View ArticleERROR 8024800A
Alrighty, so I'm getting a 8024800A error, The update was not processed because its update handler could not be recognized. So, hey how but a direction on what I should be looking at in order to fix...
View Article