Number(1) as a part of primary key
Posted: Fri 02 Apr 2010 00:24
1) Create a table where primary key is
Field1 NUMBER(9) NOT NULL
Field2 NUMBER(9) NOT NULL
Field3 NUMBER(1) NOT NULL
2) Add the table into the DataContext (LINQ to Oracle)
3) Change the Type of Field3 from Int32 to Boolean
4) try to retrieve records from the table
All the rows where the value of the boolean field was set to true will have false values
Field1 NUMBER(9) NOT NULL
Field2 NUMBER(9) NOT NULL
Field3 NUMBER(1) NOT NULL
2) Add the table into the DataContext (LINQ to Oracle)
3) Change the Type of Field3 from Int32 to Boolean
4) try to retrieve records from the table
All the rows where the value of the boolean field was set to true will have false values