Viewing 15 posts - 376 through 390 (of 427 total)
Source code is available on codeplex, so you can see for yourself what it does. I don't care I had to do some things manually, I am still very thankful...
January 12, 2011 at 11:19 pm
Thanks for your responses. I managed to downgrade the packages. I need to thank a colleague -with great Google skills- for this, who sent me this link that references a...
January 12, 2011 at 5:47 am
In the 3 db scenario you simply send out 2 messages addressed to 2 services, all in a single transaction. SSB will either accept the both messages and you commit...
December 26, 2010 at 4:51 am
This one is simply answered: don't use either of NOLOCK or READPAST in data entry applications. If your client values the correctness of the data she puts in/gets out of...
December 25, 2010 at 8:10 pm
I might have missed it, but I didn't see a definition for the cdm_data table yet. I've used this for my test:
create table dbo.cdm_data (
ApplicationOrg varchar(3) not null,
ApplicationType varchar(3) not...
December 25, 2010 at 7:32 pm
Please do read Erland Somerskog's excellent articles on error handling in SQL server. Part 1 & Part 2. The articles were originally written for SQL 2000, then updated somewhat for...
November 24, 2010 at 5:46 pm
Good article, thank you!
One addition though: if your procedure is called from within a trigger or from a service broker handler, most likely the catch block won't be called upon...
November 2, 2010 at 2:49 am
@ismel: Yes, you are right. Typed xml will return you a correct null value because the parser then 'knows' about the element being nillable. In fact it then uses the...
November 2, 2010 at 12:09 am
sknox (10/26/2010)
Except...
October 26, 2010 at 2:40 pm
Have a look at what Books online has to say about @@servername and serverproperty(). My recommendation is to use consistently only select convert(nvarchar(128), serverproperty('servername'));
Mixing the various alternatives for getting...
October 26, 2010 at 12:29 am
bruce lee-206043 (8/25/2009)
Update SQL Server Data by Using XML Updategrams
An updategram is a data structure that you can use to express a change in the data....
October 23, 2010 at 5:45 am
It was a very minimal test. The table didn't have any indexes, not even a primary key. After I've added an index on the LockEndDate column, the results are more...
October 14, 2010 at 9:14 pm
Craig Farrell (10/14/2010)
R.P., did you set up a 10k/20k row test for that algorithm? I'm curious to see how it compared to the simple inline code above.
No, I hadn't....
October 14, 2010 at 3:55 pm
CREATE TABLE #tmp
( LockEndDate DATETIME)
INSERT INTO #tmp VALUES ( '2/28/2011')
INSERT INTO #tmp VALUES ( '2/24/2011')
INSERT INTO #tmp VALUES ( '1/31/2011')
INSERT INTO #tmp...
October 14, 2010 at 5:43 am
The best way to do this is using common table expressions (cte for short). cte's can be made recursive, so they are ideal for your purpose.
use tempdb
go
create table dbo.folders (
FolderID...
October 1, 2010 at 5:05 pm
Viewing 15 posts - 376 through 390 (of 427 total)