Join doesn't join when running it.

More
4 years 2 months ago #21845 by DeanCovey
When previewing the data all appears to be fine.


When running it though, I don't get the completed results

Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #21846 by DeanCovey
Here is the text file
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #21847 by DeanCovey
Here is the table creation script:

SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[Tld](
[TLD] [varchar](10) NOT NULL,
[Block] [bit] NOT NULL,
[Type] [varchar](10) NULL,
[ForSale] [decimal](18, 0) NOT NULL,
[SalesHistory] [decimal](18, 0) NULL,
[Zones] [decimal](18, 0) NOT NULL,
[CreatedDate] [date] NOT NULL,
[Notes] [varchar](200) NULL,
[Sponser] [varchar](50) NULL,
CONSTRAINT [PK_Tld] PRIMARY KEY CLUSTERED
(
[TLD] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Tld] ADD CONSTRAINT [DF_Tld_Block] DEFAULT ((1)) FOR [Block]
GO

ALTER TABLE [dbo].[Tld] ADD CONSTRAINT [DF_Tld_ForSale] DEFAULT ((0)) FOR [ForSale]
GO

ALTER TABLE [dbo].[Tld] ADD CONSTRAINT [DF_Tld_Zones] DEFAULT ((0)) FOR [Zones]
GO

ALTER TABLE [dbo].[Tld] ADD CONSTRAINT [DF_Tld_CreatedDate] DEFAULT (getdate()) FOR [CreatedDate]

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #21848 by DeanCovey
I also tried a lookup and SQL lookup to accomplish similar results.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #21850 by Peter.Jonson
Looking at it now

Peter Jonson
ETL Developer

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #21851 by Peter.Jonson
Can you provide us with the transformation, please

Peter Jonson
ETL Developer

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save