我试图写一个通用的方法 GenericMethod<T>(T item) where T : class
{
(if item.value1 == "something")
doSomething
}
但我得到一个错误: T does not contain the definition of value1.
我通过其他的答案中搜索的StackOverflow,并
Update dp2 a set a.amt= (select((b.qty*b.rate)-b.discount) from dp2 b where a.dpinheadid=b.dpinheadid)
错误来到 ORA-01427: single-row subquery returns more than one row
#For.Ex: TABLES DP2 A,DP2 B
(b.
例子: 表-A id | not null | number(10)
name | not null | varchar(50)
photo | not null | blob
如果我想从表中删除photo列的BLOB数据A 我的表,大约由200万行,因此变得费时执行UPDATE声明。 我的方法: CREATE DIRECTORY EXT_DIR as '/tmp/TEST/';
CR
CREATE TABLE Booking (
Name varchar2(30) NOT NULL,
R_date date NOT NULL,
D_address varchar2(30) NOT NULL,
Email_id varchar2(30) NOT NULL,
No_of_cars int NOT NULL,
Contact_no varchar2(15) NOT NULL