Viewing 15 posts - 61 through 75 (of 76 total)
What do you mean by pseudo-code? I want to delete records from the rt_edt table everytime an update occurs. The updated data first comes into the rt_edtstaging table as one...
May 30, 2005 at 11:32 am
Thanks. Assuming that the delete was working, where could I put it in the code above so that all data for a particular 'mid' is deleted from rt_edt before the...
May 30, 2005 at 10:22 am
You do have the right idea! Your comments above have prompted me to do further testing. I just have to wait for the next...
May 30, 2005 at 9:29 am
Thanks Remi. I know that I need to delete all the data from the rt_edt table prior to going into the cursor to ensure that there is no duplicate target...
May 30, 2005 at 8:47 am
The data being parsed in from the rt_edt staging file looks like this:
BKNL05-271C-GMRS |
U0001V00011117101887+47.6203-052.7398+47.5692-052.6990 3.48151.67 0.0VU-3L-I195.7909UNK----000N161.3 0.2000000MAERSK CHIGNECTO 031600600 ... |
May 30, 2005 at 8:20 am
Thanks for the suggestions Remi. But it should only be deleting records based on the current value of 'mid'.
The rt_edt table is used to store data for real-time updates...
May 30, 2005 at 7:50 am
Thanks all. I used DBCC CHECKIDENT, as suggested by PhilPacha, to look for the last identity value used and then incremented that value. Your feedback was greatly appreciated!
May 24, 2005 at 5:48 am
It is a varchar and your example above did not seem to work. The error returned was :
"Syntax error converting datetime from character string."
and the code I used was:
set @newdate...
May 19, 2005 at 1:54 pm
Sorry about the mispelling in the previous post. None of the above seems to be working. It does work from the command line though:
G:\cnd_reports\JmailAirCND.exe BKSF05-145 5/9/2005 104445
Could this be...
May 12, 2005 at 7:45 am
The G drive is local to the machine and these are the results when I ran:
EXEC master..xp_cmdshell "DIR G:\"
Volume in drive G is DATA
Volume Serial Number is 5010-1ECA
NULL
Directory of...
May 11, 2005 at 12:33 pm
Thanks SRB and scking. You have been a great help. That SQL Digger Application is sweet!
May 3, 2005 at 10:37 am
Yes, I only concerned with the time portion of date/time.
April 26, 2005 at 1:46 pm
Ooops....sorry Noel...forgot to answer your question. I am trying to generate a simple checksum for the number that is being passed into a stored procedure that I have created.
April 25, 2005 at 2:23 pm
Thanks Noel, but your function did not seem to work for my purposes. I am looking for a function to sum all the values in the number 462304.94. ie. the...
April 25, 2005 at 2:19 pm
Viewing 15 posts - 61 through 75 (of 76 total)