Link to home
Start Free TrialLog in
Avatar of salberta
salberta

asked on

Please Help convert Excel File to MS-SQL table

Hi Everyone-

I would like to port this file to a table is SQL server,  I have created the database for the file and have used various tools but with no success.

Could someone please direct me on how to get this converted and into SQL server.  Is it possible to have the SQL code for the creation during the conversion.  So I can modify the table constraints and table values.

I was using Full convert enterprise, but don't have the full version for the SQL code.


KudlerCOA.xls
ASKER CERTIFIED SOLUTION
Avatar of mikainz
mikainz
Flag of Austria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of salberta
salberta

ASKER

Hi Mikainz-
 
I have used this, the values are imported but the columns are being entered as null by default.  When modify the values from null to NOT NULL and trying to set a primary key I get the following errot
''CHART OF ACCOUNTS$'' table
- Unable to modify table.  
Cannot insert the value NULL into column 'Description', table 'TEAMCHARTACCOUNTS.dbo.Tmp_'CHART OF ACCOUNTS$''; column does not allow nulls. INSERT fails.
The statement has been terminated.
You can only set to not null if all existing rows have contnent in that field.
You can only build a primary key if each content in that field is unique.
Please check this against your data.
Hth
 
The table has 350 rows from the import that are trailing and are null.   A select and delete is erroring out.
 
A Problem occured attmepting to delete row 1429
The row values updated or deleted either do not make the row unique or they alter multiple rows (315)