上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 206 下一页
摘要: 有一个表是这样的: create table emp430_1( id number(12), name nvarchar2(20), profile clob, primary key(id) ); 其中profile是clob字段。 往这个字段连续塞入数据的程序如下: package com.h 阅读全文
posted @ 2022-04-30 09:25 逆火狂飙 阅读(1065) 评论(0) 推荐(0)
摘要: 【任务】 A机上有个1表,B机上有个2表,需要把1表数据全部倒腾到2表。 因为是两台机器两个库,故insert into t1 select * from t2的SQL就用不上了,需要写Java程序作为中转实现。 【难点】 1表中有个timestamp字段hdate,需要做特殊处理。 【突破口】 取 阅读全文
posted @ 2022-04-28 21:27 逆火狂飙 阅读(104) 评论(0) 推荐(0)
摘要: conn /as sysdba alter user luna identified by 123456 conn luna/123456@orcl 阅读全文
posted @ 2022-04-27 21:09 逆火狂飙 阅读(167) 评论(1) 推荐(0)
摘要: 高中数学/导数 (多选)已知f(x)=ax^2+bx-x*lnx,g(x)=1/3*(x-c)^2+x-x*lnx的极值点均为x1,x2,则() A.若C=1,则2a+b=1 B.x1+x2=2a+2C C.C可能为0.75 D.b可能为1 阅读全文
posted @ 2022-04-26 20:58 逆火狂飙 阅读(692) 评论(0) 推荐(0)
摘要: 高中数学/比大小 已知a=e^(-2021/2022),b=1/2022,c=ln(2023/2022),则a、b、c的大小关系为() A.a>b>c B.a>c>b C.c>a>b D.b>c>a 阅读全文
posted @ 2022-04-25 20:33 逆火狂飙 阅读(115) 评论(0) 推荐(0)
摘要: 要将字符串乱序输出,一种思路是使用Collections.shuffle(),一种思路是自己写随机置换函数。 但将原文转列表也有开销,它和置换函数谁更快了,还是让实验说话。 经实践证明,凡是字符串操作能走char数组下标置换的的尽量走下标,转list用正则等效率就下去了。 代码如下: package 阅读全文
posted @ 2022-04-24 21:32 逆火狂飙 阅读(917) 评论(0) 推荐(0)
摘要: 用Html5/Canvas绘制尖峰黑白艺术图。 阅读全文
posted @ 2022-04-20 22:56 逆火狂飙 阅读(960) 评论(0) 推荐(0)
摘要: 有这么一张部门表: create table dept( id number(3), name nvarchar2(20), primary key(id) ); 可以这样给它充值: insert into dept(id,name) values(1,'市场部'); insert into dep 阅读全文
posted @ 2022-04-19 20:33 逆火狂飙 阅读(167) 评论(0) 推荐(0)
摘要: 【代码】 public class Test { private static <T> void print(T[] arr) { for(int i=0,n=arr.length;i<n;i++) { T t=arr[i]; System.out.print(t+","); } System.ou 阅读全文
posted @ 2022-04-17 21:55 逆火狂飙 阅读(313) 评论(0) 推荐(0)
摘要: 懂了平四就能做的双曲线题。 阅读全文
posted @ 2022-04-17 10:33 逆火狂飙 阅读(571) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 206 下一页