Viewing 12 posts - 1 through 12 (of 12 total)
very nice.. very good query.. outstanding .. good knowledgeable.. thank you very much:-):-):-)
December 30, 2016 at 8:09 am
i tried below query .. this is not working .. Could you suggest correct change? Thanks
WITH LatestDates AS (
SELECT
[MDDS01_MDD_STORE_GU_D]
,[MDDS01_CATALOG_D]
,[MDDS01_LAST_UPDT_S]
,ROW_NUMBER() OVER (PARTITION BY [MDDS01_CATALOG_D] ORDER BY [MDDS01_LAST_UPDT_S] DESC) AS RowNo
FROM...
December 30, 2016 at 5:03 am
yes.. SELECT statement is to see latest timestamp rows..
DELETE statement is for to delete older timestamp rows and which will keep latest timestamp rows.. this is fine.
before going to execute...
December 29, 2016 at 9:05 am
Hi John, Thank you very much for delete query.. how can I ensure which records will get delete by this query? I want to verify data before deleting. Could...
December 29, 2016 at 7:44 am
apologies.. pls ignore my previous post about NULL comment.. Thanks
December 29, 2016 at 6:48 am
sorry.. pls ignore..
thank you very much for the delete script.. i'm just testing it ..will come back.. thanks you once again
December 29, 2016 at 5:24 am
we have are having total 1600 NULL value rows. I could not share all these in insert statement to you. so I gave 5 NULL rows. becoz of more NULL...
December 29, 2016 at 4:14 am
Thank you John.
Both the queries are working. but it is giving 2 rows instead 1 row for NULL values for column [MDDS01_PORTFO_D]. one row is having latest timestamp as...
December 29, 2016 at 4:05 am
Hi Drew Allen,
Thank you very much for the answer. Sorry for my previous question. Now, again, i posted my requirement as below with DDL, DML. Please assist to get...
December 29, 2016 at 3:04 am
Thanks for the response. So, where can I post my requirement? Bcoz I need it. Thanks in advance..
December 28, 2016 at 2:19 am
Viewing 12 posts - 1 through 12 (of 12 total)