Oracle considers empty strings to be NULL while SQL Server does not - how is this best handled?

前端 未结 11 1793
挽巷
挽巷 2021-01-01 13:35

I have to write a component that re-creates SQL Server tables (structure and data) in an Oracle database. This component also has to take new data entered into the Oracle d

11条回答
  •  -上瘾入骨i
    2021-01-01 13:59

    If you are migrating data you might have to substitute a space for an empty string. Not very elegant, but workable. This is a nasty "feature" of Oracle.

提交回复
热议问题