加载中…
个人资料
虎子
虎子
  • 博客等级:
  • 博客积分:0
  • 博客访问:2,748
  • 关注人气:297
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
博文
标签:

oracle

view

comment

分类: DataBase
Where there is love, I will be there.

参考示例:
--
create or replace view org_user_view as
select t.username,t.password from org_users;
comment on column org_user_view.username is '用户名;
comment on column org_user_view.password is '密码';

自己写的:
--
create or replace view v_material_stock as
with gift as
 (select c_id, c_name, c_materialposid
    from posjf_baseinfo
   where c_is_onshelves = '1'),
ins as
 (select initem.c_materialid, sum(i_num) as innum
    from posjf_in_storehouse ins, posjf_in_storehouse_item initem
   where ins.c_id = initem.c_id
     and ins.c_status = '0'
   group by initem.c_materialid),
outs as
 (select outitem.c_materialid, sum(i_num) as outnum
  &nbs
分类: Javascript
知道可以用onKeyPress事件来捕获,在该事件中可以使用window.event.keyCode来检测导致事件的按键关联的 Unicode 按键代码。
 
JavaScript onkeypress 事件
The onkeydown event occurs when a keyboard key is pressed or held down.
当按下或按住键盘的按键时触发onkeydown事件。
 
但在做例子的过程中发现在onkeypress事件中是不能捕获按下了Ctrl+C键的,也就是说按下了Ctrl+C键时不能触发onkeypress事件的。我想是不是像默认情况下在浏览器上右键单击会显示浏览器自带的右键菜单,将鼠标放在超链接上浏览器的状态栏会显示该链接的地址一样,该事件被洗浏览器当作默认事件处理了。
 
但是在onkeyup事件中又是可以捕获用户按下了Ctrl+C键的。
 
JavaScript onKeyUp 事件
The onkeyup event occurs when a keyboard key is re
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有