forked from TDTP/admin_transporte_backend
tst
parent
a4472baa84
commit
e540991ac0
|
@ -103,13 +103,13 @@ if v_error = '' THEN
|
|||
end
|
||||
WHERE trip_headsign LIKE '%-%-%';
|
||||
|
||||
update z_routes
|
||||
set route_long_name = replace (route_long_name,replace(
|
||||
(select distinct trip_headsign from z_trips where route_id =z_routes.route_id and trip_headsign like '%~%' ),'~','-'
|
||||
),
|
||||
(select distinct trip_headsign from z_trips where route_id =z_routes.route_id and trip_headsign like '%~%' )
|
||||
)
|
||||
WHERE route_long_name LIKE '%-%-%-%-%';
|
||||
-- update z_routes
|
||||
-- set route_long_name = replace (route_long_name,replace(
|
||||
-- (select distinct trip_headsign from z_trips where route_id =z_routes.route_id and trip_headsign like '%~%' ),'~','-'
|
||||
-- ),
|
||||
-- (select distinct trip_headsign from z_trips where route_id =z_routes.route_id and trip_headsign like '%~%' )
|
||||
-- )
|
||||
-- WHERE route_long_name LIKE '%-%-%-%-%';
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue