常用查询scripts

  1. /*bom*/
  2. select p_item.segment1,c_item.segment1,bic.COMPONENT_QUANTITY,bic.COMPONENT_YIELD_FACTOR
  3. from bom_bill_of_materials bbom,
  4. bom_inventory_components bic,
  5. mtl_system_items_b p_item,
  6. mtl_system_items_b c_item
  7. where bbom.BILL_SEQUENCE_ID = bic.BILL_SEQUENCE_ID
  8. and bbom.ASSEMBLY_ITEM_ID = p_item.inventory_item_id
  9. and bic.COMPONENT_ITEM_ID = c_item.inventory_item_id
  10. and bbom.ORGANIZATION_ID = p_item.organization_id
  11. and p_item.organization_id = c_item.organization_id
  12. and nvl(bic.DISABLE_DATE,sysdate)>= sysdate
  13. and p_item.segment1 = &p_item_code
  14. and p_item.organization_id = &p_org_id
  15. and bbom.ALTERNATE_BOM_DESIGNATOR is null
  16. order by 1,2
  1. /*Intend BOM*/
  2. with t as(
  3. SELECT boms.organization_id,
  4. boms.organization_id || '>' || connect_by_root assembly_number || sys_connect_by_path(boms.component_number, '>') code_chain,
  5. boms.organization_id || '>' || connect_by_root bill_sequence_id || sys_connect_by_path(boms.component_sequence_id, '>') id_chain,
  6. connect_by_root assembly_number assembly_number,
  7. boms.assembly_description,
  8. LEVEL bom_level,
  9. boms.component_number component_number,
  10. lpad(' ', (LEVEL - 1) * 2, ' ') || boms.component_number ind_component_number,
  11. boms.component_description,
  12. boms.primary_uom_code uom,
  13. boms.component_quantity component_quantity,
  14. boms.planning_factor,
  15. boms.component_yield_factor,
  16. boms.effectivity_date
  17. FROM (SELECT bom1.organization_id,
  18. bom1.assembly_item_id,
  19. mst1.segment1 assembly_number,
  20. mst1.description assembly_description,
  21. bom1.bill_sequence_id bill_sequence_id,
  22. bom1.alternate_bom_designator assembly_alternate,
  23. bomc.component_sequence_id,
  24. bomc.component_item_id,
  25. mstc.segment1 component_number,
  26. mstc.description component_description,
  27. mstc.primary_uom_code,
  28. bomc.component_quantity,
  29. bomc.effectivity_date,
  30. bomc.planning_factor,
  31. bomc.component_yield_factor,
  32. bomc.supply_subinventory
  33. FROM apps.bom_bill_of_materials bom1,
  34. inv.mtl_system_items_b mst1,---主件
  35. apps.bom_inventory_components bomc,
  36. inv.mtl_system_items_b mstc ---组件
  37. WHERE bom1.organization_id = mst1.organization_id
  38. AND bom1.assembly_item_id = mst1.inventory_item_id
  39. AND bom1.bill_sequence_id = bomc.bill_sequence_id
  40. AND bom1.organization_id = mstc.organization_id
  41. AND bomc.component_item_id = mstc.inventory_item_id
  42. --Item
  43. AND mst1.bom_enabled_flag = 'Y'
  44. AND mst1.bom_item_type IN (1, 2, 3, 4) --Dependent
  45. --BOM Header
  46. AND bom1.assembly_type = 1 --1 Manufature,2 ENG
  47. ---AND nvl(bom1.effectivity_control, 1) <= 3
  48. --BOM Line
  49. AND nvl(bomc.disable_date, SYSDATE) >= SYSDATE
  50. AND bomc.effectivity_date <= SYSDATE
  51. AND bomc.implementation_date IS NOT NULL
  52. AND nvl(bomc.eco_for_production, 2) = 2
  53. --Filters
  54. AND mst1.organization_id = 89
  55. AND bom1.alternate_bom_designator IS NULL
  56. ----and mst1.segment1 = '17G4-01003-0001'
  57. ) boms
  58. CONNECT BY PRIOR boms.organization_id = boms.organization_id
  59. AND PRIOR boms.component_item_id = boms.assembly_item_id
  60. start with boms.assembly_number = '17G4-01003-0001'
  61. )
  62. SELECT t1.organization_id,
  63. t1.code_chain,
  64. t1.ind_component_number,
  65. t1.assembly_number,
  66. t1.assembly_description,
  67. t1.bom_level,
  68. t1.component_number,
  69. t1.component_description,
  70. t1.uom,
  71.  
  72. t1.id_chain,
  73. t1.component_quantity,
  74. (SELECT power(10,
  75. SUM(CASE
  76. WHEN t2.component_quantity = 0 THEN
  77. 0
  78. ELSE
  79. log(10, abs(t2.component_quantity))
  80. END)) * decode(MOD(COUNT(decode(sign(t2.component_quantity), -1, 1)), 2), 1, -1, 1) *
  81. (CASE
  82. WHEN COUNT(decode(t2.component_quantity, 0, 1)) >= 1 THEN
  83. 0
  84. ELSE
  85. 1
  86. END)
  87. FROM t t2
  88. WHERE t1.id_chain LIKE t2.id_chain || '%') extended_quantity,
  89. t1.planning_factor,
  90. t1.component_yield_factor,
  91. t1.effectivity_date
  92. FROM t t1
  93. ORDER BY t1.id_chain;
  1. /*routing*/
  2. select p_item.segment1,
  3. bos.operation_seq_num,
  4. bos.standard_operation_code,
  5. bso.operation_description
  6. from bom_operational_routings bor,
  7. bom_operation_sequences_v bos,
  8. mtl_system_items_b p_item,
  9. bom_standard_operations bso
  10. where bor.routing_sequence_id = bos.routing_sequence_id
  11. and bor.assembly_item_id = p_item.inventory_item_id
  12. and bor.organization_id = p_item.organization_id
  13. and bor.alternate_routing_designator is null
  14. and nvl(bos.disable_date, sysdate) >= sysdate
  15. and bso.organization_id = bor.organization_id
  16. and bso.standard_operation_id = bos.standard_operation_id
  17. and p_item.segment1 = &p_item_code
  18. and p_item.organization_id = &p_org_id
  19. order by 1, 2
  1. /*job status type*/
  2. select flv.LOOKUP_CODE,flv.MEANING
  3. from fnd_lookup_values_vl flv
  4. where lookup_type = 'WIP_JOB_STATUS'
  5. order by 1
  1. /*eco info*/
  2. select
  3. eec.change_notice ECO号,
  4. /*er.revised_item_id ,*/
  5. msi1.segment1 装配件编码,
  6. msi1.description 装配件描述,
  7. er.alternate_bom_designator 替代项,
  8. eec.creation_date ECO创建时间,
  9. (select FLV.MEANING
  10. from FND_LOOKUP_VALUES FLV
  11. where FLV.LOOKUP_TYPE = 'ECG_ACTION'
  12. AND FLV.LANGUAGE = 'ZHS'
  13. AND FLV.LOOKUP_CODE = ERC.acd_type) ACTION,
  14. msi2.segment1 组件编码,
  15. msi2.description 组件件描述,
  16. erc.primary_uom_code 单位,
  17. ---erc.old_component_sequence_id,
  18. bic.COMPONENT_QUANTITY 旧组件用量,
  19. bic.COMPONENT_YIELD_FACTOR 旧产出率,
  20. -----erc.component_sequence_id,
  21. erc.component_quantity 新组件用量,
  22. erc.component_yield_factor 新产出率,
  23. erc.disable_date 失效日期
  24. from ENG_ENGINEERING_CHANGES_V eec,
  25. ENG_REVISED_ITEMS_V er,
  26. ENG_REVISED_COMPONENTS_V erc,
  27. mtl_system_items_b msi1,
  28. mtl_system_items_b msi2,
  29. bom_inventory_components bic
  30. where eec.change_notice = er.change_notice
  31. and eec.change_id = er.change_id
  32. and eec.organization_id = er.organization_id
  33. and erc.change_notice = er.change_notice
  34. and erc.revised_item_sequence_id = er.revised_item_sequence_id
  35. and er.organization_id = msi1.organization_id
  36. and er.revised_item_id = msi1.inventory_item_id
  37. and erc.component_item_id = msi2.inventory_item_id
  38. and msi2.organization_id = msi1.organization_id
  39. and eec.organization_id = 89
  40. and erc.old_component_sequence_id = bic.COMPONENT_SEQUENCE_ID
  41. and bic.BILL_SEQUENCE_ID =er.bill_sequence_id
  42. -----and erc.acd_type = 1 ----1:添加 2:更改 3:禁用
  43. ---and msi1.segment1 = 'E678-01001-0001'
  44. ----and msi2.segment1 = 'E678-01016-0002'
  45. ---and eec.change_notice = 'PAO4180'
  46. and eec.status_type = 6 ---已实施
  47. and to_char(eec.creation_date, 'yyyy/mm/dd') >= '2014/12/01'
  48. and to_char(eec.creation_date, 'yyyy/mm/dd') <= '2015/01/21'
  49.  
  50. order by msi1.segment1,er.alternate_bom_designator,msi2.segment1
  1. /*ERP 采购接收\检验\入库*/
  2. select pha.segment1 PO号,
  3. pla.line_num PO行,
  4. rsh.receipt_num,
  5. DECODE(rt.transaction_type,'RECEIVE',1,'ACCEPT',2,'DELIVER',3,'RETURN TO RECEIVING',4,'RETURN TO VENDOR',5) TRX_TYPE,
  6. rt.transaction_type,
  7. (case
  8. when rt.transaction_type = 'RECEIVE'
  9. then sum(rt.quantity)
  10. end ) QTY_REC,
  11. (case
  12. when rt.transaction_type = 'ACCEPT'
  13. then sum(rt.quantity)
  14. end ) QTY_ACC,
  15. (case
  16. when rt.transaction_type = 'DELIVER'
  17. then sum(rt.quantity)
  18. end ) QTY_DELIVER,
  19. (case
  20. when rt.transaction_type = 'RETURN TO RECEIVING'
  21. then sum(rt.quantity)
  22. end ) QTY_R_REC,
  23. (case
  24. when rt.transaction_type = 'RETURN TO VENDOR'
  25. then sum(rt.quantity)
  26. end ) QTY_R_VEN,
  27. (case
  28. when rt.transaction_type = 'REJECT'
  29. then sum(rt.quantity)
  30. end ) QTY_Reject
  31. from po_headers_all pha,
  32. po_lines_all pla,
  33. rcv_transactions rt,
  34. rcv_shipment_headers rsh,
  35. rcv_shipment_lines rsl
  36. where pha.po_header_id = pla.po_header_id
  37. and pla.org_id = pha.org_id
  38. and rt.po_header_id = pha.po_header_id
  39. and rt.po_line_id = pla.po_line_id
  40. and rt.shipment_header_id = rsh.shipment_header_id
  41. and rt.shipment_line_id = rsl.shipment_line_id
  42. and rsl.po_header_id = pha.po_header_id
  43. and rsl.po_line_id = pla.po_line_id
  44. and rsh.shipment_header_id = rsl.shipment_header_id
  45. ---and rsh.receipt_num = 10131029
  46. and pha.segment1 = ''
  47. GROUP BY pha.segment1,pla.line_num,rsh.receipt_num,rt.transaction_type
  48. order by 3,4
  1. /*PO与PR关联 SCRIPTS*/
    /*思路:
  2. po_requisition_headers_all
  3. po_requisition_lines_all
  4. po_req_distributions_all
  5. 3表 分别与以下4表关联
  6. po_headers_all
  7. po_lines_all
  8. po_line_locations_all
  9. po_distributions_all */
  10.  
  11. ---1、未创建POPR
  12. select prh.requisition_header_id,
  13. prl.requisition_line_id,
  14. prd.distribution_id,
  15. prl.destination_organization_id dest_org,
  16. (select haout.name
  17. from HR_ALL_ORGANIZATION_UNITS_TL haout
  18. where haout.organization_id = prl.org_id
  19. and haout.language = 'ZHS') REQUESTING_ORG,
  20. prl.cancel_flag ,
  21. prh.segment1 pr,
  22. prl.line_num ,
  23. prl.creation_date,
  24. msi.segment1 item_code,
  25. prl.item_description,
  26. prl.quantity,
  27. prl.unit_meas_lookup_code,
  28. ---prl.created_by,
  29. ---prl.to_person_id,
  30. ppf.FULL_NAME,
  31. prl.need_by_date
  32. from po_requisition_headers_all prh,
  33. po_requisition_lines_all prl,
  34. po_req_distributions_all prd,
  35. per_people_f ppf,
  36. mtl_system_items_b msi
  37. where prh.requisition_header_id = prl.requisition_header_id
  38. and prd.requisition_line_id = prl.requisition_line_id
  39. and prd.org_id = prl.org_id
  40. and prh.org_id = prl.org_id
  41. and prl.to_person_id = ppf.PERSON_ID
  42. and (nvl(ppf.EFFECTIVE_END_DATE,sysdate) >=sysdate)
  43. and msi.inventory_item_id = prl.item_id
  44. and msi.organization_id = prl.destination_organization_id
  45. and prh.authorization_status = 'APPROVED'
  46. and prh.type_lookup_code = 'PURCHASE'
  47. and (prl.cancel_flag ='N' OR prl.cancel_flag is null)
  48. and (prh.cancel_flag = 'N' OR prh.cancel_flag is null)
  49. AND prh.segment1 = &pr
  50. /*未创建PO*/
  51. and not exists (
  52. select 1 from po_distributions_all pda
  53. where pda.req_distribution_id = prd.distribution_id
  54. )
  55. order by prh.segment1,prl.line_num;
  56.  
  57. ----2PR 信息
  58. SELECT porl.destination_organization_id dest_org,
  59. (select haout.name from HR_ALL_ORGANIZATION_UNITS_TL haout
  60. where haout.organization_id = porl.org_id
  61. and haout.language ='ZHS'
  62. ) REQUESTING_ORG,
  63. porh.segment1 pr,
  64. poh.segment1 po,
  65. p.full_name Buyer,
  66. pov.vendor_name,
  67. hrl1.location_code,
  68. pol.line_num,
  69. msi.segment1,
  70. pol.item_description,
  71. pol.unit_meas_lookup_code,
  72. pol.quantity,
  73. pll.need_by_date need_by,
  74. pll.promised_date promised_by
  75. FROM po_requisition_headers_all porh,
  76. po_requisition_lines_all porl,
  77. po_req_distributions_all pord,
  78. po_headers_all poh,
  79. po_lines_all pol,
  80. po_line_locations_all pll,
  81. po_distributions_all pod,
  82. po_vendors pov,
  83. po_vendor_sites_all povs,
  84. per_people_f p,
  85. hr_locations hrl1,
  86. mtl_system_items_b msi
  87. --po_releases_all por
  88. WHERE pod.po_header_id = poh.po_header_id
  89. AND pod.po_line_id = pol.po_line_id
  90. AND poh.po_header_id = pol.po_header_id
  91. AND pod.line_location_id = pll.line_location_id
  92. --AND pod.po_release_id = por.po_release_id(+)
  93. AND pod.req_distribution_id = pord.distribution_id(+)
  94. AND pord.requisition_line_id = porl.requisition_line_id(+)
  95. AND porl.requisition_header_id = porh.requisition_header_id(+)
  96. AND pov.vendor_id(+) = poh.vendor_id
  97. AND povs.vendor_site_id(+) = poh.vendor_site_id
  98. AND poh.agent_id = p.person_id
  99. AND hrl1.location_id(+) = poh.ship_to_location_id
  100. and porl.item_id = msi.inventory_item_id
  101. and porl.destination_organization_id = msi.organization_id
  102. --- and porh.authorization_status = 'APPROVED'
  103. --- and porh.type_lookup_code = 'PURCHASE'

/*外协工单关联PR*/

select prha.org_id "org id",
       prha.segment1 "PR NO",
       prha.authorization_status,
       prla.line_num "PR LINE NO",
       prla.cancel_flag,
       prla.quantity "REQ QTY",
       prla.quantity_received "REC QTY",
       prla.quantity_cancelled "CANCEL QTY",
       prla.quantity_delivered "DELIVERY QTY",
       we.organization_id organization_id,
       we.wip_entity_name,
       (select f.meaning
          from fnd_lookup_values f
         where f.lookup_type = 'WIP_JOB_STATUS'
           and f.lookup_code = wdj.status_type
           and f.language = 'ZHS') status,
       wdj.class_code,
       msi1.segment1 assm_item_cd,
       msi1.description assm_item_dsp,
       wdj.start_quantity,
       wdj.quantity_completed,
       wdj.quantity_scrapped,
       wdj.date_released,
       wdj.date_completed,
       wdj.date_closed,
       wo.operation_seq_num,
       wo.operation_code,
       wo.description,
       wor.resource_seq_num,
       br.resource_code,
       br.description
  from wip_entities               we,
       wip_discrete_jobs          wdj,
       mtl_system_items_b         msi1, ----???
       wip_operations_v           wo,
       wip_operation_resources    wor,
       bom_resources              br,
       po_requisition_lines_all   prla,
       po_requisition_headers_all prha
 where we.wip_entity_id = wdj.wip_entity_id
   and we.organization_id = wdj.organization_id
   and wdj.primary_item_id = msi1.inventory_item_id
   and we.organization_id = msi1.organization_id
   and wdj.wip_entity_id = wo.wip_entity_id
   and wdj.organization_id = wo.organization_id
   and wor.organization_id = wo.organization_id
   and wor.wip_entity_id = wo.wip_entity_id
   and wor.operation_seq_num = wo.operation_seq_num
   and br.organization_id = wor.organization_id
   and br.resource_id = wor.resource_id
   and prla.wip_entity_id = wdj.wip_entity_id
   and prla.Wip_Operation_Seq_Num = wo.operation_seq_num
   and prla.wip_resource_seq_num = wor.resource_seq_num
   and prla.requisition_header_id = prha.requisition_header_id
   and prla.org_id = prha.org_id
   and we.organization_id = &organization_id
   and we.wip_entity_name = '&job';

/*外协工单关联PO*/

select pha.org_id "Org id",
       pha.segment1 "PO NO",
       pha.authorization_status "STATUS",
       pha.cancel_flag "PO HEADER CANCEL FLAG",
       pla.line_num "PO LINE NO",
       pla.cancel_flag "PO LINE CANCEL FLAG",
       plla.shipment_num,
       plla.ship_to_organization_id "SHIP ORGANIZATION ",
       plla.ship_to_location_id "SHIP TO LOCATION",
       we.organization_id org_Id,
       we.wip_entity_name,
       (select f.meaning
          from fnd_lookup_values f
         where f.lookup_type = 'WIP_JOB_STATUS'
           and f.lookup_code = wdj.status_type
           and f.language = 'ZHS') status,
       wdj.class_code,
       msi1.segment1 assm_item_cd,
       msi1.description assm_item_dsp,
       wdj.start_quantity,
       wdj.quantity_completed,
       wdj.quantity_scrapped,
       wdj.date_released,
       wdj.date_completed,
       wdj.date_closed,
       wo.operation_seq_num,
       wo.OPERATION_CODE,
       wo.DEPARTMENT_CODE,
       wo.description,
       wor.resource_seq_num,
       wor.resource_id,
       br.resource_code,
       br.description, br.disable_date "DISABLE DATE",
       (select flv.meaning
          from fnd_lookup_values flv
         where flv.lookup_type = 'BOM_RESOURCE_TYPE'
           and flv.language = 'ZHS'
           and flv.lookup_code = br.resource_type) "RESOURCE TYPE", ---1:?? 2:?? 3:?? 4:??  5;??
       (select flv.meaning
          from fnd_lookup_values flv
         where flv.lookup_type = 'BOM_AUTOCHARGE_TYPE'
           and flv.language = 'ZHS'
           and flv.lookup_code = br.autocharge_type) "CHARGE TYPE", ---1:WIP?? 2:??  3:PO?? 4:PO??
       br.unit_of_measure "UOM",
       (select flv.meaning
          from fnd_lookup_values flv
         where flv.lookup_type = 'BOM_BASIS_TYPE'
           and flv.language = 'US'
           and flv.lookup_code = br.default_basis_type) "BASIS",
       (select flv.meaning
          from fnd_lookup_values flv
         where flv.lookup_type = 'CST_COST_CODE_TYPE'
           and flv.language = 'ZHS'
           and flv.lookup_code = br.cost_code_type) "COST TYPE", ---3:? 4:?
       (select msi.segment1
          from mtl_system_items_b msi
         where msi.organization_id = br.organization_id
           and msi.inventory_item_id = br.purchase_item_id) "OSP ITEM",
       decode(br.allow_costs_flag, 1, 'Y', 2, 'N') "COST FLAG", ---1:? 2:?
       ---brv.default_activity ??,
       decode(br.standard_rate_flag, 1, 'Y', 2, 'N') "STANDARD RATE FLAG" ---1:? 2:?
  from wip_entities            we,
       wip_discrete_jobs       wdj,
       mtl_system_items_b      msi1,
       wip_operations_v        wo,
       wip_operation_resources wor,
       bom_resources           br,
       po_distributions_all    pda,
       po_line_locations_all   plla,
       po_lines_all            pla,
       po_headers_all          pha
 where we.wip_entity_id = wdj.wip_entity_id
   and we.organization_id = wdj.organization_id
   and wdj.primary_item_id = msi1.inventory_item_id
   and we.organization_id = msi1.organization_id
   and wdj.wip_entity_id = wo.wip_entity_id
   and wdj.organization_id = wo.organization_id
   and wor.organization_id = wo.organization_id
   and wor.wip_entity_id = wo.wip_entity_id
   and wor.operation_seq_num = wo.operation_seq_num
   and br.organization_id = wor.organization_id
   and br.resource_id = wor.resource_id
   and pda.wip_entity_id = wdj.wip_entity_id
   and pda.wip_operation_seq_num = wo.operation_seq_num
   and pda.wip_resource_seq_num = wor.resource_seq_num
   and pda.destination_organization_id = wdj.organization_id
   and pda.line_location_id = plla.line_location_id
   and pda.org_id = plla.org_id
   and plla.po_line_id = pla.po_line_id
   and plla.org_id = pla.org_id
   and pla.org_id = pha.org_id
   and pla.po_header_id = pha.po_header_id
   and plla.po_header_id = pha.po_header_id
   and pda.po_header_id = pha.po_header_id
   and we.organization_id = &organization_id
   and we.wip_entity_name = '&job'
 order by pha.segment1, pla.line_num

BOM/ROUTING/PO/WIP等模块常用查询的更多相关文章

  1. Oracle EBS BOM模块常用表结构

    表名: bom.bom_bill_of_materials  说明: BOM清单父项目  BILL_SEQUENCE_ID NUMBER 清单序号(关键字)ASSEMBLY_ITEM_ID NUMBE ...

  2. SAP FI CO模块常用事务代码

                                                                                                        ...

  3. Django入门--模型系统(二):常用查询及表关系的实现

    1.常用查询 模型类上的管理器: ** 模型类.objects ** (1)常用一般查询 rs = Student.objects.all() # 查询所有记录,返回Queryset print(rs ...

  4. MySQL - 常用命令及常用查询SQL

    常用查询SQL #查看临时目录 SHOW VARIABLES LIKE '%tmp%'; #查看当前版本 SELECT VERSION(); 常用命令 #查看当前版本,终端下未进入mysql mysq ...

  5. Oracle DBA常用查询

    Oracle DBA常用查询 –1. 查询系统所有对象select owner, object_name, object_type, created, last_ddl_time, timestamp ...

  6. Solr常用查询语法笔记

    1.常用查询 q - 查询字符串,这个是必须的.如果查询所有*:* ,根据指定字段查询(Name:张三 AND Address:北京) fq - (filter query)过虑查询,作用:在q查询符 ...

  7. 23个MySQL常用查询语句

    23个MySQL常用查询语句 一查询数值型数据: SELECT * FROM tb_name WHERE sum > 100; 查询谓词:>,=,<,<>,!=,!> ...

  8. SqlSugar常用查询实例-拉姆达表达式

    SqlSugar支持拉姆达表达式查询,匿名对象参数等,相对还是比较方便好用的. 一.查询列表: //查询列表 SqlSugarClient db = SugarContext.GetInstance( ...

  9. oracle数据库常用查询一

    oracle数据库常用查询一 sqlplus / as sysdba; 或sqlplus sys/密码 as sysdba;两者都是以sys登录.conn scott/tiger@orcl; conn ...

随机推荐

  1. 在完成端口中使用GetAcceptExSockaddrs

    MSDN:When using AcceptEx, the GetAcceptExSockaddrs function must be called to parse the buffer into ...

  2. C#调用C++编写的dll库

    我用vs2008建的C++ dll类库,名字test_interopVC,和C#的CeshiVC项目 一:C++项目dll类库: 1.test_interopVC.h,主要简单的测试,所以就在一个类里 ...

  3. PHP高级应用视频教程大全学习

    php 是一种服务器端的,嵌入html的脚本语言.php区别其他像客户端java的地方是它的代码在服务器端执行.php能做什么?最低水平,php可以做任何其他cgi程序所能做的事,例如收集表格数据,生 ...

  4. sqlserver:同一数据库内负责表结构。

    select * into 新表 from 旧表   where 1=2; ## where 表示要携带的数据,随便写个恒不等式就可以只复制表结构不携带数据.

  5. ie10中元素超出父元素的宽度时不能自动隐藏

    (从已经死了一次又一次终于挂掉的百度空间人工抢救出来的,发表日期2014-02-21) 今天遇到一个问题,ie10中元素超出父元素的宽度时不能自动隐藏,而其余浏览器却正常显示. 解决方法是,手动给其设 ...

  6. PCA和白化练习之处理图像

    第一步:下载pca_exercise.zip,里面包含有图像数据144*10000,每一列代表一幅12*12的图像块,首先随见展示200幅: 第二步:0均值处理,确保数据均值为0或者接近0 第三步:执 ...

  7. OC基础之方法和参数的命名规范

    以前学过C/C++/Java/C#语言的童鞋可能刚开始对于OC的方法和参数的命名规范大为不爽 举例来说,如下一个OC方法: - (void)tableView:(UITableView *)table ...

  8. Java学习笔记(4)——JavaSE

    一.HashMap HashMap以键值对的形式存储对象,关键字Key是唯一的,不重复的 1,key可以是任何对象,Value可以任何对象 2,重复的key算一个,重复添加是替换操作(会覆盖原来的元素 ...

  9. 使用Url.Routeurl获取url值。

    1,获取url值.         public ActionResult About()         {            RouteValueDictionary RVD = new Ro ...

  10. 【JavaScript】n++ VS ++n

    var n = 1; console.log(n++);--------------->表达式的值为 1; n的值为2 console.log(++n);--------------->表 ...