Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
rhondastrawter
Starting Member
5 Posts |
Posted - 2011-06-22 : 12:18:43
|
| I am attempting to insert data from ORACLE into a SQL Server table. I have created a view which selects three rows from the SQL Server table. When I insert into the view, I receive the error that the columns in the table which is being selected from cannot have NULLS. I was able to redefine most columns to accept NULLS but one of the columns I am receiving an error on is a part of the primary key and I cannot change it to accept NULLs. How do I make the insert work? Thanks. |
|
|
russell
Pyro-ma-ni-yak
5072 Posts |
Posted - 2011-06-22 : 12:33:57
|
| If it's part of the PK, you'll need to supply a value.Why not insert directly to the base tables? |
 |
|
|
|
|
|