Two tables with identical column names. First table has a primary key.

I have two tables which are identical. They are named differently but the column names and lengths are the same.
The difference between the two is that the second table "Table_Hash" has no primary key on the "ID" column.
Basically I am using Table_Hash as a table to hold values from "Table_First".

Is it okay that my table column in Table_Hash has a column named the same as Table_First "ID". No primary key is assigned in Table_Hash ?

-- Rough example :
Table_First
ID  Primary
CustomerName

-- Table hash is identical to Table_First but with no primary key asssigned to "ID"
Table_Hash
ID
CustomerName
LVL 2
brgdotnetcontractorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sdstuberCommented:
It's ok in that it's legal syntax to do so.  You'll get no errors.  Easiest way to verify and is to simply try it.

It may or may not be ok to implement such a solution.  
Why no PK?  Do you want to allow nulls in that column and/or duplicate values?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.