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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
You can only build a primary key if each content in that field is unique.
Please check this against your data.
Hth
ASKER
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)
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)
ASKER
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
The statement has been terminated.