harwooddale
Programmer
Hi,
I have a problem creating a view.
I have a table, lets call it table A, where all the columns are declared as not null.
I want to create a view on this table.
In the view I need to do a calculation againist 2 numeric columns (A - B). Remember the columns are defined as not null.
The resulting view doesn't include the not null against the column definition when creating the view.
example
desc tableA
-----------------
..........
column1 not null float(64)
column2 not null float(64)
create view viewa as
(select ....... (column 1 - column2) column3
desc viewa
..........
column3 float(64)
I need the column to include the NOT NULL clause so as my external application will accept the data. It only accepts data that is guaranteed to be not null.
Any help appreciated
I have a problem creating a view.
I have a table, lets call it table A, where all the columns are declared as not null.
I want to create a view on this table.
In the view I need to do a calculation againist 2 numeric columns (A - B). Remember the columns are defined as not null.
The resulting view doesn't include the not null against the column definition when creating the view.
example
desc tableA
-----------------
..........
column1 not null float(64)
column2 not null float(64)
create view viewa as
(select ....... (column 1 - column2) column3
desc viewa
..........
column3 float(64)
I need the column to include the NOT NULL clause so as my external application will accept the data. It only accepts data that is guaranteed to be not null.
Any help appreciated