Viewing 15 posts - 46 through 60 (of 129 total)
A Follow up question or the Order by. Running the command gives me the results. There are some that are a negative number and tried ordering it both Asc and...
August 17, 2022 at 3:34 pm
Hi Jeff,
First thank you for responding,
The first column is the name of the locations. some are represented as a decimal representing the mile post of a location, however it is...
August 17, 2022 at 1:53 pm
Here is what I have tried. However there is no change in the failures listed in the sample so the change column should be a zero not a one. I...
August 17, 2022 at 1:40 pm
This was very helpful. I learned some also from it.
I hopefully have posted my current question in a better format and have explained myself well enough.
Thank you
August 17, 2022 at 1:06 pm
Thank you. Good suggestion.
April 5, 2022 at 2:58 pm
Thanks, that worked in the corrected script I posted.
April 5, 2022 at 2:42 pm
So, change it to this?
SELECT *
INTO Codelines_Backup
FROM Codelines;
DELETE FROM Codelines;
DBCC CHECKIDENT ('Codelines', RESEED, 0)
GO
INSERT INTO Codelines (Rail_Road, NCS_Codeline, NCS_Subdivision)
SELECT Rail_Road, NCS_Codeline, NCS_Subdivision
FROM Codelines_backup
ORDER BY ID ASC;
Thanks,
April 5, 2022 at 2:12 pm
Jeff,
You are correct in what you say below here. the leading 6 is dropped from the final product as it identifies that as a base. So the resulting values of...
June 12, 2021 at 9:35 am
Correct.
June 11, 2021 at 5:38 pm
Is the base value always formatted as {region}.{port}.{poll} - with region = 4 digits, port = 1 digit and poll = 2 digits?
Yes, the first digit of the Region is...
June 11, 2021 at 5:30 pm
Here is the ATCS_Group Table;
USE [nms_cfg4]
GO
/****** Object: Table [dbo].[ATCS_Group] Script Date: 06/11/2021 12:23:56 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ATCS_Group](
[Group_Address] [float] NOT NULL,
[Subregion]...
June 11, 2021 at 5:28 pm
the fourth and sixth digit is a decimal symbol ".", would that affect this?
June 11, 2021 at 4:27 pm
Jeffrey, here is a sample of the be_xref.oa table;
base_equip_addressoffice_app_addressx_pbaseregionportpollxprimarypath_typedesignator
22009121220169126912111691201110NULL
2201003120016003600310160030110NULL
2201108222016108610820161081110NULL
2201108322016108610830161082110NULL
2201169122016169616910161690110NULL
2201172222016172617220161721110NULL
2201173222016173617320161731110NULL
Here is a sample of the atcs_group table;
Group_AddressSubregionLine_Addressleft_neighbor_groupright_neighbor_groupATCS_GroupNameStateDescriptionMilepostLongitudeLatitude
220030010000NULL220030000000NULLNULL1Hauser B House West MainIDNULLNULLNULLNULL
220030020000NULL220030000000NULLNULL2Hauser B House West BlueIDNULLNULLNULLNULL
220030030000NULL220030000000NULLNULL3Downing...
June 11, 2021 at 3:09 pm
Jeff Moden, yes, I am the original author. I had another SQL database person working on it late last year before moving to SQL 2019. This is the only code...
June 11, 2021 at 12:51 pm
Ok! I figured it out. Somewhere along the way the Master database tag was added into a portion of the Stored Procedure;
SELECT [Name] +...
June 11, 2021 at 11:04 am
Viewing 15 posts - 46 through 60 (of 129 total)