Viewing 15 posts - 481 through 495 (of 541 total)
Thanks very much for your helpful solution, Phil....I really appreciate it. You have also cleared my long running confusion about this !!
February 3, 2011 at 5:19 am
Hi Phil,
Thanks for your reply. What I need to achieve is SUM of GROSS_WGT and then GROUP BY BOOKING_ID. The query below would give you the clear picture:
SELECT
...
February 3, 2011 at 4:47 am
Thanks a lot for your help, Ron !!
February 3, 2011 at 2:22 am
Hello Tom,
Thanks a lot for your solution. It was really helpful...
Regards,
Paul
February 3, 2011 at 2:21 am
Hello Ron,
Thanks a lot for your reply. I have a query where I need to include the sum of rows per Booking ID. The data for all the columns -...
February 2, 2011 at 5:04 am
Hi Adi,
Thanks a lot for your reply. I had just one more query for you. How would you then sum the TEU which would be based on the rows per...
February 1, 2011 at 8:01 am
Hi ColdCoffee,
I am sorry this was my mistake...your query works fine even in the scenario when more than 10 case statements exist....I confused this with the nested case statements...sorry to...
January 27, 2011 at 8:36 am
Thanks a lot, ColdCoffee, that worked like a charm !!
Kind Regards,
Paul
January 27, 2011 at 8:25 am
Hi ColdCoffee,
Thanks a lot for your reply. However, when I ran your query I only get the max value(only 1) for each of the column. There are more than a...
January 27, 2011 at 2:57 am
resolved it...its working now....Thanks for your help...
just had to do this...
to_char(sysdate, 'YYYYMM')
January 26, 2011 at 5:28 am
Derrick Smith (1/25/2011)
Phil Parkin (1/25/2011)
Derrick Smith (1/25/2011)
January 26, 2011 at 2:21 am
Hi Jeff,
Thanks for your reply..I am still stuck on this problem...dont know how to resolve this now....have tried everything and have really exhausted every option.
One more table has been added...
January 25, 2011 at 2:26 am
HI Jeff,
Sorry about the mistake in the DDL, I have corrected the same in my earlier post...it should be:
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[NCV_BL_DHL_TEMP](
[BL_ID] [decimal](10, 0) NOT NULL,
[BL_NUM] [nvarchar](13)...
January 18, 2011 at 3:08 am
Hi Jeff,
Thanks for your reply and sorry about not providing the updated tables and sample data. Please find the same here:
First one is the DHL_TRADE_ASSIGNMENT table-
-----------------------------------------------------------------
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE...
January 17, 2011 at 3:00 am
Hi Jeff,
Here is the updated scenario:
If POL_COUNTRY_CD or POD_COUNTRY_CD in NCV_BL_DHL_TEMP table begins with FR, then use POL_Location_CD / POD_Location_CD and join to MG_LOCATION table to identify continent. If continent...
January 14, 2011 at 9:06 am
Viewing 15 posts - 481 through 495 (of 541 total)