Viewing 15 posts - 46 through 60 (of 75 total)
It was missing parenthesis on the values...this worked.
USE [SSSUTIL]
GO
INSERT INTO [dbo].[RailCarCycleYard]
([RailcarID]
...
September 11, 2019 at 6:29 pm
my bad..here is the insert again.
I though I was qualifying the field name by prefixing it with the table , I originally tried an alias but that gave me a...
September 11, 2019 at 4:40 pm
Here you go...sorry about this Im a bit green (but learning)
USE [SSSUTIL]
GO
INSERT INTO [dbo].[RailCarCycleYard]
([RailcarID]
...
September 11, 2019 at 4:24 pm
Hope this helps....
Here is the insert I was trying
Insert into [RailCarCycle] ([Railcarid],[StartDate])
select [RailCarid],[LoadDate]
from [RailCarCycleYard]
where [RailCarCycle].[Railcarid] = [RailCarCycleyard].[Railcarid] and [RailCarCycle].[EndDate] is not...
September 11, 2019 at 3:47 pm
I looked at you example of how to post a question.........I've provided the code sample that I'm using , I added an image of the table. I've described my scenario...
September 11, 2019 at 3:33 pm
Im using a subquery NOT EXISTS but this only stops duplicates
Insert into [RailCarCycle] ([Railcarid],[StartDate])
select [RailCarid],[LoadDate]
from [RailCarCycleYard]
where not exists( select NULL from [RailCarCycle]...
September 11, 2019 at 3:04 pm
Great !!! that did the trick 🙂
Thanks so much
March 1, 2019 at 11:12 am
November 2, 2018 at 11:59 am
USE [SSSUTIL]November 1, 2018 at 2:52 pm
October 31, 2018 at 12:30 pm
October 31, 2018 at 12:29 pm
October 31, 2018 at 12:13 pm
October 31, 2018 at 12:00 pm
October 31, 2018 at 10:42 am
Viewing 15 posts - 46 through 60 (of 75 total)