Viewing 12 posts - 1 through 13 (of 13 total)
Can someone provide suggestions on an urgent basis...
Thanks...
June 16, 2010 at 9:57 am
Thanks for the replies. I will sort this out.
In the meantime, I have found a bug in my code during testing. It relates to LongestTime field in the MainTable which...
June 16, 2010 at 3:12 am
Thanks for the suggestion Lutz, but it is not possible for me to edit the EXE as numerous other reports are produced from the SQL Server 2000 box from which...
June 13, 2010 at 6:54 am
Hi Gail,
The code provided above is the full version. What is happening after that last INSERT statement into tblMainTable is that an EXE will run and fetch the data from...
June 13, 2010 at 4:12 am
Hi Gail,
Thanks for the reply.
I have used an ORDER BY clause at the end where I am retrieving data from the Temp table (#TempStore) into the final table (tblMainTable) at...
June 12, 2010 at 1:48 pm
Hi,
Im really stuck with this one, could someone help me in fixing it.
Thanks,
Sanchit
June 4, 2010 at 8:31 am
Thanks for the reply Lutz. Ive got some more info for you to better understand the Final table columns as shown below...
-- Desc for input columns in Table1..
Events - no...
June 2, 2010 at 1:07 am
Lutz here you go...
-- Sample data for Inserted into the table from which data is imported i.e. Table1
insert into Table1 values (100, 'YU345678910TH' , 'LocA' ...
June 1, 2010 at 1:26 pm
Thanks for the reply Steve. Will try it out.
@Lutz - Please find the table definations and expected output as given below.
-- Table from which data is imported for calculations
CREATE table...
June 1, 2010 at 1:09 pm
Just some more info..
When Date1 and Date2 are upto : '23:59:59', the query is working fine. But when it becomes '24:00:00' - I am getting Overflow error.
May 27, 2010 at 1:15 am
Thanks for your reply !
I used the below block to get the AverageTime field by adding the 2 date columns by first converting them to seconds and then dividing it...
May 27, 2010 at 12:22 am
Thanks for the reply.
I edited the script to include '+' and edited code is..
SET @sql = 'INSERT INTO ' + @table + ' VALUES(
'...
May 26, 2010 at 3:15 am
Viewing 12 posts - 1 through 13 (of 13 total)