1.oracle 中文问号乱码解决方法:
在系统变量里面添加变量名:NLS_LANG 变量值: SIMPLIFIED CHINESE_CHINA.ZHS16GBK
2.查询oracle 里的主键
SELECT * FROM ALL_SEQUENCES S WHERE S.SEQUENCE_NAME = ' '
3.给表创建序列
CREATE SEQUENCE (要创建的序列名)
4.查询序列
select (序列名).nextval from dual
5.文字与格式字符串不匹配
错误代码:insert into PUBLISH_INFO(id,title,content,publish_type,userid,xh,create_date) values(SEQ_PUBLISH_INFO.nextval,'fgfdgzdg','qw的确','3',101,2,'2016-08-30')
正确代码:insert into PUBLISH_INFO(id,title,content,publish_type,userid,xh,create_date) values(SEQ_PUBLISH_INFO.nextval,'fgfdgzdg','qw的确','3',101,2,to_date('2016-08-30','yyyy-mm-dd'))
6.
--第一步,创建表空间,并设置表空间的大小
--create tablespace orcl_jlxdrynew datafile 'jlxdrynew.dbf' size 500M
--第二步,创建用户
--create user jlxdrynew identified by jlxdrynew default tablespace orcl_jlxdrynew
--第三步,给用户dba权限
--grant dba,connect,resource to jlxdrynew
=======关于ssh的问题=======
<s:textarea name=" " cols="74" rows="3" style="resize: none;"></s:textarea> 后台action无法接到值时
<textarea name="" cols="74" rows="3" style="resize: none;"><s:property value=""/></textarea>(就好使)