Viewing 15 posts - 76 through 90 (of 196 total)
either one of the following does what you are asking. The Second query is marginally faster
Update Tgt
Set ColA = Src.ColA
From #MyTable as tgt
Left join(
Select
TgtID = t.CoID
,Src.*
, RowNum...
October 24, 2008 at 1:51 am
I cannot explain this. Something for the MVP's with knowledge of the actual SQL code, but I do have a solution.
I believe this is a legacy issue with the...
October 24, 2008 at 1:22 am
It has been 24 hours and no response. I just wanna confirm that the solution works and performs adequately.
October 23, 2008 at 11:55 pm
I tried that, all of that. I will attempt to put the solution in words.
1. Calculate the dateDiff in months between the Start and End Dates
S: ...
October 23, 2008 at 4:55 am
It seems I can not post code to the site, I wanted to post a more generic solution
October 23, 2008 at 3:37 am
hi
I know that solution provided works. But my question is;
Is this not a very Hard coded solution for the particular example that was given.
Surely the more generic solution is not...
October 23, 2008 at 3:18 am
This is my solution. Having a problem at work connecting to website.
--Select * From #TempTable
IF OBJECT_ID ('TempDb..#Seq','U') IS NOT NULL
BEGIN
DROP TABLE...
October 23, 2008 at 12:56 am
I seem to have had some internet issues at work (where I was posting from earlier ) I will post the code as an attachment in the morning. ...
October 22, 2008 at 9:44 am
Fairly Simple but not the most elegant as I had to make a duplicate record set in order to seperate the records into groups based on userID
set nocount on
declare...
October 22, 2008 at 3:07 am
I had some trouble logging on so read the other posts after my reply
I had to make a change but now I am not sure if the result set is...
October 22, 2008 at 2:12 am
On my Desktop, because you mentioned performance, I created a table with 1 Million random records that a tweaked to ensure that I got Duplicates and series of data
I have...
October 22, 2008 at 1:49 am
/Quote
SELECT 14,'1','en','A' UNION ALL --/second(2) batch of A
SELECT 15,'3','en','A' UNION ALL --/second(2) batch of A
SELECT 16,'3','de','A' UNION ALL --/second(2) batch of A
SELECT 18,'1','en','A' UNION ALL --/second(2) batch of A <-...
October 21, 2008 at 6:40 am
I have done this kind of thing before.
You are looking for patients with two disorders (in your example)
But your patients are assigned a DisorderSubLevel (h1, h2, h3)
I am assuming you...
October 15, 2008 at 6:46 am
Unless I am misunderstanding this procedure is incorrect.
My understanding is that the
@PageIndex indicates which page number is required
and @PageSize is the number of records per Page
Exec SP @PageIndex...
November 6, 2007 at 4:49 am
Viewing 15 posts - 76 through 90 (of 196 total)