From 70ee0985043746be0a1da9e40a14387f812e9230 Mon Sep 17 00:00:00 2001 From: ShubhamKulkarni0706 <104434177+ShubhamKulkarni0706@users.noreply.github.com> Date: Wed, 24 May 2023 14:34:15 +0530 Subject: [PATCH 1/2] Create Update_postcode&address To propose a survey schedule, you must always have the postcode and address for the manhole location. This query will globally update the postcode and address for the selected manholes in user text 1 & 2. --- .../02 SQL/01 InfoWorks/Update_postcode&address | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 01 InfoWorks ICM/02 SQL/01 InfoWorks/Update_postcode&address diff --git a/01 InfoWorks ICM/02 SQL/01 InfoWorks/Update_postcode&address b/01 InfoWorks ICM/02 SQL/01 InfoWorks/Update_postcode&address new file mode 100644 index 00000000..52920acc --- /dev/null +++ b/01 InfoWorks ICM/02 SQL/01 InfoWorks/Update_postcode&address @@ -0,0 +1,6 @@ +UPDATE Node set user_text_1 = ''; +UPDATE Node set user_text_2 = ''; + +##Take Post code & address data from addresspoints. +SET user_text_1 =spatial.POSTCODE_LOCATOR ; +SET user_text_2 = spatial.LOCATION_DESC From d24b0d1cbdb53ad3832bd613e1bcc9c2820b0519 Mon Sep 17 00:00:00 2001 From: ShubhamKulkarni0706 <104434177+ShubhamKulkarni0706@users.noreply.github.com> Date: Wed, 24 May 2023 15:33:10 +0530 Subject: [PATCH 2/2] Added code description. --- 01 InfoWorks ICM/02 SQL/01 InfoWorks/Update_postcode&address | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/01 InfoWorks ICM/02 SQL/01 InfoWorks/Update_postcode&address b/01 InfoWorks ICM/02 SQL/01 InfoWorks/Update_postcode&address index 52920acc..36f1703c 100644 --- a/01 InfoWorks ICM/02 SQL/01 InfoWorks/Update_postcode&address +++ b/01 InfoWorks ICM/02 SQL/01 InfoWorks/Update_postcode&address @@ -1,3 +1,8 @@ +#This SQL query helps in identifying post code & address for particular manhole while proposing manhole survey/survey schedule. +#This SQL query populates user text 1 & user text 2 with post code & address respectively. +#To use this query you need to add a appropriate GIS file in Geo plan which should contain post code & address data. +#The GIS usually be a address point data for the study area. + UPDATE Node set user_text_1 = ''; UPDATE Node set user_text_2 = '';