Viewing 15 posts - 53,821 through 53,835 (of 59,072 total)
We have to compare the SRH table with contract_id and from the SRH table we have to take the field values which is lastly updated.. For example for single contract...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 7:55 pm
Thanks, Ian... great feedback! I really appreciate it.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 7:48 pm
dbaltazar (11/29/2007)
So let me ask a follow up question. Under what circumstance would a cursor be good? Small data set?
Another possible reason is if you have to write...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 7:45 pm
Michael Meierruth (11/29/2007)
Jeff Moden (11/28/2007)
Heh... speaking of "details"... once done and you go to format it, you wanna use commas or periods for the thousand separators? 😀
FYI, in France they...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 2:43 pm
That's a presentation issue - let the GUI folks deal with it
Heh... That would be true for outputs... imported files are a whole (or is it "hole"?) 'nuther story....
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 2:40 pm
TheSQLGuru (11/29/2007)
BTW, do you LIVE on this forum or something?? I needed the link...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 2:38 pm
The problem is that the header row does not have the same number of delimiters as the rest of the file. Unfortunately, Bulk Insert counts delimiters as well as...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 2:00 pm
Prakash Heda (11/29/2007)
check BOL for charstring and substring functions.....
Heh... "CharString"? Better have a look at BOL yourself 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 1:09 pm
It is possible to populate a variable in such a way, but you'll need to use sp_ExecuteSQL... please see Books Online for the example of how.
The reason why it didn't...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 12:56 pm
MarkusB (11/29/2007)
INSERT INTO myTableExec sp_spaceused
Since sp_SpaceUsed returns 2 result sets, I'm thinking that's just not going to do everything you'd expect. Right idea, though. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 12:46 pm
I'm not sure if this is the same interpretation that Chris offered, but, #1... I don't ever load data from a text file directly into the target table. I...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 12:36 pm
Agreed... a 2 operand COALESCE is identical to ISNULL and has the same "problem" with finding nulls, in this case.
To expound upon the point that Matt makes, consider...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 12:29 pm
DBCC UPDATEUSAGE has nothing to do with statistics.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 12:17 pm
Oh, one more thing. Does everyone else have the problem with copying out the 'code block' lines and pasting them in QA and they come out all on one line,...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 12:06 pm
However, it will be after the holidays before I have an opportunity to properly write up my scenario(s) into a forum question
Now, we're talking! I look forward to the...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2007 at 11:51 am
Viewing 15 posts - 53,821 through 53,835 (of 59,072 total)