这是我的信息,请各位 大虾帮帮菜鸟,刚接触Oracle,谢谢!
SQL> select * from works;
ID DATE PROJECT
CONTENTPRINCIPALREMARK
W_ID
---------- ---------- ------------------------------ ---------- ---------- -------------------- ----
1 08-12月-04 测试1
标书 Rockyhan 说明文字
1
2 18-9月 -04 测试2
报送资料 QingQing 说明文字2
2
3 18-9月 -99 918
标书 Rockyhan 测试用3
1
4 01-10月-49 The new Nation
其他 Rockyhan 添加测试
2
5 02-11月-49 The new Nation2
其他2Rockeyhan添加测试2
1
6 02-11月-49 The new Nation2
其他2Rockeyhan添加测试2
1
7 02-11月-49 The comedy begin
其他4Rockeyhan悲剧开始了
1
10 11-11月-49 The new Nation5
其他5Rockeyhan5 添加测试5
1
已选择8行。
SQL> update works set date=to_date('2004-1-1','yyyy-mm-dd') where id = 7;
update works set date=to_date('2004-1-1','yyyy-mm-dd') where id = 7
ORA-01747 invalid user.table.column, table.column, or column specification
Cause: A column name was specified improperly in the current SQL statement.
Action: Check the statement's syntax, especially references to column names, and retry the statement.
你还是再检查一下列名是否正确,语法没有问题。
SQL> update employees set hire_date=to_date('2004-1-1','yyyy-mm-dd')
2where employee_id=206;
已更新 1 行。