Viewing 15 posts - 106 through 120 (of 132 total)
I believe that the source of my problem is that I (and the users who will use this SQL script) do not - and would never be permitted to -...
May 1, 2008 at 8:49 am
I'm effectively using a simple sql script with variables and hoping to pass in the name of the CSV in one of the variables.
Something like this
IF OBJECT_ID(N'TempDb..#SCOPE',N'U') IS NOT NULL...
April 30, 2008 at 1:54 pm
I think that the difference is attributable to the where clause where we are comparing the length value of the N row to the length of the bounding Y rows.
I'm...
April 23, 2008 at 3:08 pm
I haven't run your code yet but I think I've found my solution - I had an epiphany this morning (I have to check specific wells to make sure that...
April 23, 2008 at 2:01 pm
I'll run this against the whole dataset and see how long it takes.
I revised that cursor-based code that I put up yesterday to use one query in the update statement....
April 23, 2008 at 10:13 am
Re. Building the Sequence number.
You've got it right.
April 23, 2008 at 7:12 am
Re. Cursor being slow.
I stopped the process after 36 minutes. I then ran the query which finds the N records to be aggregated. It returned about 46,000 at...
April 23, 2008 at 6:44 am
I resurected some old cursor-based code which I've used in the past and modified it for this process. It's terribly slow but maybe it contains the kernel of an...
April 22, 2008 at 3:34 pm
The upload thing is kind of vexing. I figured out how to get around the unicode thing (Management studio just assumes everyone want's to export everything in unicode and...
April 22, 2008 at 12:07 pm
I'm not sure what I did but I think I managed to upload a version of the csv which I'd looked at in Excel and then saved.
I'm having trouble uploading...
April 22, 2008 at 11:46 am
Yes. in this instance null is effectively zero.
April 22, 2008 at 9:34 am
Lol!
We've tumbled to the same problem at almost the same instant!
April 22, 2008 at 8:34 am
I had gotten this far;
SELECT
CUR.HoleId
,CUR.EvalNum
,PREV.TopDepth
,NEX.BaseDepth
,CAST((((PREV.MBit * PREV.Length) + (CUR.MBit * CUR.Length) + (NEX.MBit * NEX.Length)) / (PREV.Length + CUR.Length + NEX.Length)) AS NUMERIC(3,2)) AS MBit
,CAST((((PREV.PHIE * PREV.Length) + (CUR.PHIE *...
April 22, 2008 at 8:33 am
Ive been trying to upload the full data file (4mb zipped) and there seems to be something wrong with the upload utility right now.
I'll try again in a couple of...
April 22, 2008 at 7:48 am
Hi Old Hand;
Thanks for your time on this.
I don't know how many times the aggregation would have to be itterated. It sort of depends on what the initial criteria...
April 21, 2008 at 3:42 pm
Viewing 15 posts - 106 through 120 (of 132 total)