摘要:
c int arr[10]; int arr[ ] = {1,2,4}; int arr[10] = {1,2}; c++ int* arr= new int[100]; java int[ ] arr=new int[6]; int[ ] arr={1,2,3,4}; int[ ] arr= ne 阅读全文
摘要:
存储过程是预编译sql语句的集合,存储在一个名称下作为一个单元来处理 表employee 属性id,name 1.创建 create procedure proc_name --存储过程 @name char(20) as --形参 select * from employee where name 阅读全文
摘要:
1. select ...from... [into...] //distinct去重 ; top n 项数 where... // group by... //分组 having... //指定组或聚合的搜索条件 order by... //排序 compute... //附加函数 union [ 阅读全文
摘要:
第一种 格式 : 简单Case函数 : 格式说明 case 列名 when 条件值1 then 选择项1 when 条件值2 then 选项2....... else 默认值 end eg: select case job_level when '1' then '1111' when '2' th 阅读全文